Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
MetaGer
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
open-source
MetaGer
Commits
ae3dd109
Commit
ae3dd109
authored
8 years ago
by
Dominik Hebeler
Browse files
Options
Downloads
Plain Diff
Merge branch 'Hotfix' into 'development'
Hotfix See merge request
!135
parents
9d0ed8e6
e04ea95b
No related branches found
Branches containing commit
No related tags found
2 merge requests
!140
Development
,
!135
Hotfix
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
.gitlab-ci.yml
+13
-9
13 additions, 9 deletions
.gitlab-ci.yml
app/Jobs/Search.php
+1
-4
1 addition, 4 deletions
app/Jobs/Search.php
with
14 additions
and
13 deletions
.gitlab-ci.yml
+
13
−
9
View file @
ae3dd109
...
...
@@ -16,8 +16,7 @@ update(144.76.113.134):
-
if [ -d MetaGer_neu ]; then rm -rf MetaGer_neu;fi
-
git clone "$path" MetaGer_neu
-
cd MetaGer_neu
-
composer update
-
php artisan queue:restart
-
composer install
-
scp metager@metager3.de:~/.env .
-
scp metager@metager3.de:~/sumas.xml config/
-
scp metager@metager3.de:~/sumasEn.xml config/
...
...
@@ -25,13 +24,16 @@ update(144.76.113.134):
-
scp metager@metager3.de:~/blacklistDomains.txt config/
-
touch storage/logs/laravel.log
-
touch storage/logs/worker.log
-
chmod 777 config/sumas.xml config/sumasEn.xml
-
chmod 777 config/sumas.xml config/sumasEn.xml
database/metager.sqlite
-
chmod -R 777 storage
-
chmod -R 777 bootstrap/cache
-
php artisan
migrate
-
php
~/MetaGer/
artisan
down
-
cd ~/
-
rm -rf MetaGer
-
mv MetaGer_neu MetaGer
-
php ~/MetaGer/artisan queue:restart
-
php ~/MetaGer/artisan migrate --force
-
php ~/MetaGer/artisan up
update(metager3.de)
:
tags
:
...
...
@@ -51,8 +53,7 @@ update(metager3.de):
-
if [ -d MetaGer_neu ]; then rm -rf MetaGer_neu;fi
-
git clone "$path" MetaGer_neu
-
cd MetaGer_neu
-
composer update
-
php artisan queue:restart
-
composer install
-
scp metager@metager3.de:~/.env .
-
scp metager@metager3.de:~/sumas.xml config/
-
scp metager@metager3.de:~/sumasEn.xml config/
...
...
@@ -60,10 +61,13 @@ update(metager3.de):
-
scp metager@metager3.de:~/blacklistDomains.txt config/
-
touch storage/logs/laravel.log
-
touch storage/logs/worker.log
-
chmod 777 config/sumas.xml config/sumasEn.xml
-
chmod 777 config/sumas.xml config/sumasEn.xml
database/metager.sqlite
-
chmod -R 777 storage
-
chmod -R 777 bootstrap/cache
-
php artisan
migrate
-
php
~/MetaGer/
artisan
down
-
cd ~/
-
rm -rf MetaGer
-
mv MetaGer_neu MetaGer
\ No newline at end of file
-
mv MetaGer_neu MetaGer
-
php ~/MetaGer/artisan queue:restart
-
php ~/MetaGer/artisan migrate --force
-
php ~/MetaGer/artisan up
\ No newline at end of file
This diff is collapsed.
Click to expand it.
app/Jobs/Search.php
+
1
−
4
View file @
ae3dd109
...
...
@@ -41,10 +41,7 @@ class Search extends Job implements ShouldQueue
{
$this
->
fp
=
$this
->
getFreeSocket
();
if
(
!
$this
->
fp
)
{
$this
->
disable
(
$this
->
sumaFile
,
"Die Suchmaschine "
.
$this
->
name
.
" wurde für 1h deaktiviert, weil keine Verbindung aufgebaut werden konnte"
);
}
else
if
(
$this
->
fp
)
{
if
(
$this
->
writeRequest
())
{
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment