Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
M
mailinabox
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Administrator
mailinabox
Commits
d0423afd
Commit
d0423afd
authored
Sep 22, 2017
by
Joshua Tauberer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Nextcloud install shouldn't fail if php-fpm isn't already running
parent
edf42df8
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
owncloud.sh
setup/owncloud.sh
+3
-3
No files found.
setup/owncloud.sh
View file @
d0423afd
...
@@ -161,9 +161,9 @@ owncloud_hash=beab41f6a748a43f0accfa6a9808387aef718c61
...
@@ -161,9 +161,9 @@ owncloud_hash=beab41f6a748a43f0accfa6a9808387aef718c61
if
[
!
-d
/usr/local/lib/owncloud/
]
\
if
[
!
-d
/usr/local/lib/owncloud/
]
\
||
!
grep
-q
$owncloud_ver
/usr/local/lib/owncloud/version.php
;
then
||
!
grep
-q
$owncloud_ver
/usr/local/lib/owncloud/version.php
;
then
# Stop php-fpm
# Stop php-fpm
if running. If theyre not running (which happens on a previously failed install), dont bail.
hide_output service php7.0-fpm stop
service php7.0-fpm stop &> /dev/null
||
/bin/true
hide_output service php5-fpm stop
service php5-fpm stop &> /dev/null
||
/bin/true
# Backup the existing ownCloud/Nextcloud.
# Backup the existing ownCloud/Nextcloud.
# Create a backup directory to store the current installation and database to
# Create a backup directory to store the current installation and database to
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment