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
79317ed6
Commit
79317ed6
authored
Aug 19, 2015
by
Joshua Tauberer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
dont run ownCloud's upgrade before it's been installed to remove a noisy message
parent
1b26632b
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
3 deletions
+6
-3
owncloud.sh
setup/owncloud.sh
+6
-3
No files found.
setup/owncloud.sh
View file @
79317ed6
...
...
@@ -66,9 +66,12 @@ if [ ! -d /usr/local/lib/owncloud/ ] \
# that error.
chown
-f
-R
www-data.www-data
$STORAGE_ROOT
/owncloud /usr/local/lib/owncloud
# Run the upgrade script. Then check for success (0=ok, 3=no upgrade needed).
sudo
-u
www-data php /usr/local/lib/owncloud/occ upgrade
if
[
\(
$?
-ne
0
\)
-a
\(
$?
-ne
3
\)
]
;
then
exit
1
;
fi
# If this isn't a new installation, immediately run the upgrade script.
# Then check for success (0=ok and 3=no upgrade needed, both are success).
if
[
-f
$STORAGE_ROOT
/owncloud/owncloud.db
]
;
then
sudo
-u
www-data php /usr/local/lib/owncloud/occ upgrade
if
[
\(
$?
-ne
0
\)
-a
\(
$?
-ne
3
\)
]
;
then
exit
1
;
fi
fi
fi
# ### Configuring ownCloud
...
...
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