docker icon indicating copy to clipboard operation
docker copied to clipboard

Apps Persistence not fully working

Open n3m3s1s opened this issue 9 years ago • 3 comments

Hi everyone, I am using this docker behind some reverse proxy as suggested with the three volumes suggested. (.../apps .../config .../data) and persisted them on the host drive. Nevertheless when I do this: docker pull docker stop nextcloud-docker docker rm nextcloud-docker docker run -d ... (including all the options from before)

-> All apps are disabled again. If reenabled they will come up with their old datasets, so appearently my e.g. calender gets saved as supposed but the fact that this app was enabled does not get saved.

  1. Is this expected behaviour?
  2. Can I persist the apps status in any way? Cheers

n3m3s1s avatar May 04 '17 05:05 n3m3s1s

We changed the way you upgrade this image. The docs needs to get updated. We are working on this in #53. There a two thing you need to change:

  1. we now use a custom apps folder /var/www/html/custom_apps which you should persist instead of /var/www/html/apps
  2. the new upgrade system uses the version.php to detect the currently installed version. This means you need to add a persistent volume /var/www/html for it to upgrade properly

tilosp avatar May 04 '17 06:05 tilosp

Ah I missed that one. Just to make sure: persisting /var/www/html should be enough? Wouldn't we run into problems with extra files conflicting with the security-self-check? I'll just give that a try.

n3m3s1s avatar May 04 '17 06:05 n3m3s1s

No, extra files get deleted by the new update script using rsync. docker-entrypoint.sh#L25

tilosp avatar May 04 '17 09:05 tilosp