Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
F
freedombone
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
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
Context Sensitive Group
freedombone
Commits
fe28c127
Commit
fe28c127
authored
7 years ago
by
Bob Mottram
Browse files
Options
Downloads
Patches
Plain Diff
occ commands need sudo prefix
parent
6e64539c
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/freedombone-app-nextcloud
+7
-6
7 additions, 6 deletions
src/freedombone-app-nextcloud
with
7 additions
and
6 deletions
src/freedombone-app-nextcloud
+
7
−
6
View file @
fe28c127
...
...
@@ -682,16 +682,17 @@ function install_nextcloud_main {
fi
chown
-R
www-data:www-data config
chown
-R
www-data:www-data data
./occ check
./occ status
./occ app:list
./occ app:enable encryption
./occ encryption:enable
sudo
-u
www-data
./occ check
sudo
-u
www-data
./occ status
sudo
-u
www-data
./occ app:list
sudo
-u
www-data
./occ app:enable encryption
sudo
-u
www-data
./occ encryption:enable
if
[
!
"
$?
"
=
"0"
]
;
then
echo
$'Encryption not enabled'
exit
73527
fi
./occ config:system:set appstoreenabled
--value
=
false
sudo
-u
www-data ./occ encryption:status
sudo
-u
www-data ./occ config:system:set appstoreenabled
--value
=
false
chmod
g+w /var/www/
${
NEXTCLOUD_DOMAIN_NAME
}
/htdocs/config/config.php
chown
-R
www-data:www-data /var/www/
${
NEXTCLOUD_DOMAIN_NAME
}
/htdocs
chmod
0644 .htaccess
...
...
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