Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
W
wtlinux_server_setup
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
w4t
wtlinux_server_setup
Commits
71a783b7
Commit
71a783b7
authored
Mar 12, 2025
by
w4t
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wtserver 0.46
parent
45a3f93e
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
7 deletions
+7
-7
install_owncloud.sh
distros/debian12/install_owncloud.sh
+7
-7
No files found.
distros/debian12/install_owncloud.sh
View file @
71a783b7
...
...
@@ -315,9 +315,9 @@ EOF
# user_external is what allows Nextcloud to use IMAP for login. The contacts
# and calendar apps are the extensions we really care about here.
#hide_output sudo -u www-data php8.2 $CLOUD_DIR/console.php app:disable firstrunwizard
#hide_output sudo -u www-data php8.2 $CLOUD_DIR/console.php
app:enable user_external
hide_output
sudo
-u
www-data php8.2
$CLOUD_DIR
/console.php
app:enable contacts
hide_output
sudo
-u
www-data php8.2
$CLOUD_DIR
/console.php
app:enable calendar
sudo
-u
www-data php8.2
"
$CLOUD_DIR
/console.php"
app:enable user_external
sudo
-u
www-data php8.2
"
$CLOUD_DIR
/console.php"
app:enable contacts
sudo
-u
www-data php8.2
"
$CLOUD_DIR
/console.php"
app:enable calendar
# When upgrading, run the upgrade script again now that apps are enabled. It seems like
# the first upgrade at the top won't work because apps may be disabled during upgrade?
...
...
@@ -331,10 +331,10 @@ EOF
# Install additional apps
(
sudo
-u
www-data php8.2
$CLOUD_DIR
/occ app:install notes
)
||
true
hide_output
sudo
-u
www-data php8.2
$CLOUD_DIR
/console.php app:enable notes
sudo
-u
www-data php8.2
$CLOUD_DIR
/console.php app:enable notes
(
sudo
-u
www-data php8.2
$CLOUD_DIR
/occ app:install twofactor_totp
)
||
true
hide_output
sudo
-u
www-data php8.2
$CLOUD_DIR
/console.php app:enable twofactor_totp
sudo
-u
www-data php8.2
$CLOUD_DIR
/console.php app:enable twofactor_totp
# Upgrade all apps
sudo
-u
www-data php8.2
$CLOUD_DIR
/occ app:update
--all
...
...
@@ -431,10 +431,10 @@ EOF
# We also need to change the sending mode from background-job to occ
# Or else the reminders will just be sent as soon as possible when the background jobs run
hide_output
sudo
-u
www-data php8.2
-f
$CLOUD_DIR
/occ config:app:set dav sendEventRemindersMode
--value
occ
sudo
-u
www-data php8.2
-f
$CLOUD_DIR
/occ config:app:set dav sendEventRemindersMode
--value
occ
# Run the maintenance command
hide_output
sudo
-u
www-data php8.2
$CLOUD_DIR
/occ maintenance:repair
--include-expensive
sudo
-u
www-data php8.2
$CLOUD_DIR
/occ maintenance:repair
--include-expensive
# Set the config to read-only
sed
-i
''
"s/'config_is_read_only'
\s
*=>
\s
*false/'config_is_read_only' => true/"
"
$STORAGE_ROOT
/owncloud/config.php"
...
...
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