Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
slapos
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Léo-Paul Géneau
slapos
Commits
d9bf1fed
Commit
d9bf1fed
authored
Dec 06, 2023
by
Alain Takoudjou
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
software/nextcloud: fixes for upgraded version
parent
7024c3cd
Changes
6
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
36 additions
and
28 deletions
+36
-28
software/nextcloud/buildout.hash.cfg
software/nextcloud/buildout.hash.cfg
+3
-3
software/nextcloud/nextcloud-config.json.in
software/nextcloud/nextcloud-config.json.in
+14
-1
software/nextcloud/nextcloud-input-schema.json
software/nextcloud/nextcloud-input-schema.json
+3
-13
software/nextcloud/nextcloud-install.sh.in
software/nextcloud/nextcloud-install.sh.in
+1
-1
software/nextcloud/nextcloud-instance.cfg.in
software/nextcloud/nextcloud-instance.cfg.in
+11
-7
software/nextcloud/software.cfg
software/nextcloud/software.cfg
+4
-3
No files found.
software/nextcloud/buildout.hash.cfg
View file @
d9bf1fed
...
@@ -14,12 +14,12 @@
...
@@ -14,12 +14,12 @@
# not need these here).
# not need these here).
[template-nextcloud-install.sh]
[template-nextcloud-install.sh]
filename = nextcloud-install.sh.in
filename = nextcloud-install.sh.in
md5sum =
965cc84d4c8e39f06850fac361575647
md5sum =
f31dfd6fce79fcf1c13cbd96dd366492
[template-nextcloud-config.json]
[template-nextcloud-config.json]
filename = nextcloud-config.json.in
filename = nextcloud-config.json.in
md5sum =
6f42f0a8c5e5c0c657541a65c4d9ee57
md5sum =
133ad47aec7e16f716eb710ef38823e8
[template-nextcloud-instance]
[template-nextcloud-instance]
filename = nextcloud-instance.cfg.in
filename = nextcloud-instance.cfg.in
md5sum =
a59b081bd39f61c7361fdb6c54fc2039
md5sum =
65d2fef4aa41fa70e5194d73a8cb2c4a
software/nextcloud/nextcloud-config.json.in
View file @
d9bf1fed
...
@@ -35,6 +35,19 @@
...
@@ -35,6 +35,19 @@
"timeout": 0
"timeout": 0
},
},
"logfile": "{{ parameter_dict['data-dir'] }}/nextcloud.log",
"logfile": "{{ parameter_dict['data-dir'] }}/nextcloud.log",
"datadirectory": "{{ parameter_dict['data-dir'] }}"
"loglevel" => 2,
"datadirectory": "{{ parameter_dict['data-dir'] }}",
"preview_ffmpeg_path": "{{ parameter_dict['ffmpeg-path'] }}",
"tempdirectory": "{{ parameter_dict['tmp-dir'] }}",
"apps_paths": [
{
"path": "{{ parameter_dict['nextcloud'] }}/apps",
"url": "/apps",
"writable": true
}
],
"default_phone_region": "FR",
"default_locale": "fr_FR",
"default_timezone": "Europe/Paris"
}
}
}
}
software/nextcloud/nextcloud-input-schema.json
View file @
d9bf1fed
...
@@ -115,19 +115,9 @@
...
@@ -115,19 +115,9 @@
"type"
:
"string"
,
"type"
:
"string"
,
"format"
:
"uri"
"format"
:
"uri"
},
},
"instance.trusted-domain-1"
:
{
"instance.trusted-domain-list"
:
{
"title"
:
"Authorized domain on nextcloud"
,
"title"
:
"Authorized domain(s) on nextcloud"
,
"description"
:
"Trusted domain used to connect to Nextcloud instance."
,
"description"
:
"Trusted domain(s) used to connect to Nextcloud instance. Space separated."
,
"type"
:
"string"
},
"instance.trusted-domain-2"
:
{
"title"
:
"Second authorized domain on nextcloud"
,
"description"
:
"Trusted domain used to connect to Nextcloud instance."
,
"type"
:
"string"
},
"instance.trusted-domain-3"
:
{
"title"
:
"Third authorized domain on nextcloud"
,
"description"
:
"Trusted domain used to connect to Nextcloud instance."
,
"type"
:
"string"
"type"
:
"string"
},
},
"instance.trusted-proxy-list"
:
{
"instance.trusted-proxy-list"
:
{
...
...
software/nextcloud/nextcloud-install.sh.in
View file @
d9bf1fed
...
@@ -140,4 +140,4 @@ if [ -f "{{ parameter_dict['nextcloud'] }}/config/CAN_INSTALL" ]; then
...
@@ -140,4 +140,4 @@ if [ -f "{{ parameter_dict['nextcloud'] }}/config/CAN_INSTALL" ]; then
rm
{{
parameter_dict[
'nextcloud'
]
}}
/config/CAN_INSTALL
rm
{{
parameter_dict[
'nextcloud'
]
}}
/config/CAN_INSTALL
fi
fi
date
>
{{
parameter_dict[
'
nextcloud'
]
}}
/.slapos-install-done
date
>
{{
parameter_dict[
'
installed-file'
]
}}
software/nextcloud/nextcloud-instance.cfg.in
View file @
d9bf1fed
...
@@ -8,6 +8,7 @@ redis = ${directory:srv}/redis
...
@@ -8,6 +8,7 @@ redis = ${directory:srv}/redis
redis-log = ${directory:log}/redis
redis-log = ${directory:log}/redis
data = ${directory:srv}/data
data = ${directory:srv}/data
backup = ${directory:backup}/nextcloud
backup = ${directory:backup}/nextcloud
tmp = ${buildout:directory}/tmp
[service-redis]
[service-redis]
recipe = slapos.cookbook:redis.server
recipe = slapos.cookbook:redis.server
...
@@ -42,13 +43,15 @@ rotate-num = 30
...
@@ -42,13 +43,15 @@ rotate-num = 30
[instance-parameter]
[instance-parameter]
nextcloud = ${:document-root}
nextcloud = ${:document-root}
installed-file = ${directory:etc}/.nextcloud-install-done
admin-user = admin
admin-user = admin
admin-password = admin
admin-password = admin
ffmpeg-path = {{ ffmpeg_location }}/bin/ffmpeg
tmp-dir = ${nc-directory:tmp}
trusted-domain-list =
trusted-domain-list =
[${apache-php-configuration:ip}]:${apache-php-configuration:port}
[${apache-php-configuration:ip}]:${apache-php-configuration:port}
${slap-parameter:instance.trusted-domain-1}
${request-frontend:connection-domain}
${slap-parameter:instance.trusted-domain-2}
${slap-parameter:instance.trusted-domain-list}
${slap-parameter:instance.trusted-domain-3}
trusted-proxy-list = ${slap-parameter:instance.trusted-proxy-list}
trusted-proxy-list = ${slap-parameter:instance.trusted-proxy-list}
cli-url = ${slap-parameter:instance.cli-url}
cli-url = ${slap-parameter:instance.cli-url}
...
@@ -69,6 +72,9 @@ collabora-url = ${slap-parameter:instance.collabora-url}
...
@@ -69,6 +72,9 @@ collabora-url = ${slap-parameter:instance.collabora-url}
stun-server = ${slap-parameter:instance.stun-server}
stun-server = ${slap-parameter:instance.stun-server}
turn-server = ${slap-parameter:instance.turn-server}
turn-server = ${slap-parameter:instance.turn-server}
turn-secret = ${slap-parameter:instance.turn-secret}
turn-secret = ${slap-parameter:instance.turn-secret}
# php.ini
php.opcache.revalidate-freq = 60
php.opcache.interned-strings-buffer = 24
[nextcloud-install.sh]
[nextcloud-install.sh]
recipe = slapos.recipe.template:jinja2
recipe = slapos.recipe.template:jinja2
...
@@ -105,7 +111,7 @@ input = inline:#!/bin/bash
...
@@ -105,7 +111,7 @@ input = inline:#!/bin/bash
echo "Nextcloud is not installed.";
echo "Nextcloud is not installed.";
exit 1;
exit 1;
fi
fi
if [ ! -f "${instance-parameter:
nextcloud}/.slapos-install-done
" ]; then
if [ ! -f "${instance-parameter:
installed-file}
" ]; then
echo "Nextcloud is not configured.";
echo "Nextcloud is not configured.";
exit 1;
exit 1;
fi
fi
...
@@ -203,7 +209,5 @@ instance.turn-server =
...
@@ -203,7 +209,5 @@ instance.turn-server =
instance.turn-secret =
instance.turn-secret =
instance.cli-url = ${apache-php-configuration:url}
instance.cli-url = ${apache-php-configuration:url}
instance.trusted-domain-1 =
instance.trusted-domain-2 =
instance.trusted-domain-3 =
instance.trusted-proxy-list =
instance.trusted-proxy-list =
instance.trusted-domain-list =
software/nextcloud/software.cfg
View file @
d9bf1fed
...
@@ -2,6 +2,7 @@
...
@@ -2,6 +2,7 @@
extends =
extends =
buildout.hash.cfg
buildout.hash.cfg
../../component/redis/buildout.cfg
../../component/redis/buildout.cfg
../../component/ffmpeg/buildout.cfg
../../stack/lamp/buildout.cfg
../../stack/lamp/buildout.cfg
[nc-download]
[nc-download]
...
@@ -28,6 +29,7 @@ context =
...
@@ -28,6 +29,7 @@ context =
key python3_location python3:location
key python3_location python3:location
key news_updater_location news-updater:location
key news_updater_location news-updater:location
key php_location apache-php:location
key php_location apache-php:location
key ffmpeg_location ffmpeg:location
raw redis_bin ${redis:location}/bin/redis-server
raw redis_bin ${redis:location}/bin/redis-server
raw redis_cli ${redis:location}/bin/redis-cli
raw redis_cli ${redis:location}/bin/redis-cli
key nextcloud_install_sh template-nextcloud-install.sh:target
key nextcloud_install_sh template-nextcloud-install.sh:target
...
@@ -42,7 +44,6 @@ db-user = nextcloud
...
@@ -42,7 +44,6 @@ db-user = nextcloud
[nc-download-unpacked]
[nc-download-unpacked]
recipe = slapos.recipe.build:download-unpacked
recipe = slapos.recipe.build:download-unpacked
shared = true
[news-updater]
[news-updater]
<= nc-download-unpacked
<= nc-download-unpacked
...
@@ -66,8 +67,8 @@ md5sum = 88adcbc34ef7e461f515ba96b82365d9
...
@@ -66,8 +67,8 @@ md5sum = 88adcbc34ef7e461f515ba96b82365d9
[nextcloud-app-snappymail]
[nextcloud-app-snappymail]
<= nc-download-unpacked
<= nc-download-unpacked
url = https://snappymail.eu/repository/nextcloud/snappymail-2.29.
1
-nextcloud.tar.gz
url = https://snappymail.eu/repository/nextcloud/snappymail-2.29.
4
-nextcloud.tar.gz
md5sum =
b7500ea4e089d8a9e3fa381d6df3a3b0
md5sum =
676bf0fa3b9f0fb9f0208304cf302a26
[nextcloud-app-news]
[nextcloud-app-news]
<= nc-download-unpacked
<= nc-download-unpacked
...
...
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