File tree Expand file tree Collapse file tree 4 files changed +5
-29
lines changed Expand file tree Collapse file tree 4 files changed +5
-29
lines changed Original file line number Diff line number Diff line change @@ -32,7 +32,7 @@ ln -s /data-ro/nextcloud /var/www/nextcloud; \
32
32
# stop mysqld
33
33
mysqladmin -u root shutdown; \
34
34
35
- # package cleanup
35
+ # package cleanup
36
36
apt-get autoremove -y; \
37
37
apt-get clean; \
38
38
find /var/lib/apt/lists -type f | xargs rm; \
@@ -44,7 +44,7 @@ rm -f /var/log/alternatives.log /var/log/apt/*; \
44
44
# specific cleanup
45
45
apt-get purge -y wget ca-certificates; \
46
46
rm /nc-nextcloud.sh /usr/local/etc/ncp-config.d/nc-nextcloud.cfg; \
47
- rm /.ncp-image;
47
+ rm /.ncp-image;
48
48
49
49
COPY docker/nextcloud/020nextcloud /etc/services-enabled.d/
50
50
COPY bin/ncp-provisioning.sh /usr/local/bin/
Original file line number Diff line number Diff line change @@ -43,6 +43,7 @@ install_app ncp.sh; \
43
43
44
44
mv /usr/local/etc/ncp-config.d/nc-init-copy.cfg /usr/local/etc/ncp-config.d/nc-init.cfg; \
45
45
run_app_unsafe bin/ncp/CONFIG/nc-init.sh; \
46
+ sed -i 's|data-ro|data|' /data-ro/nextcloud/config/config.php; \
46
47
47
48
# fix default paths
48
49
sed -i 's|/media/USBdrive|/data/backups|' /usr/local/etc/ncp-config.d/nc-backup.cfg; \
Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -20,6 +20,8 @@ rm "${crontab_tmp}"
20
20
21
21
# docker images only
22
22
[[ -f /.docker-image ]] && {
23
+ # fix build bug on v1.32.0
24
+ sed -i ' s|data-ro|data|' /data/nextcloud/config/config.php
23
25
:
24
26
}
25
27
You can’t perform that action at this time.
0 commit comments