-
Notifications
You must be signed in to change notification settings - Fork 1.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Nextcloud Upgrade purges mounted external local storage via rsync #1528
Comments
Where is your external storage mounted? |
There are two mounts. One ist exfat formatted and mounted as read-write with user/group www-data:root to /media/mount1/ The second is ext4 formatted and mounted to /media/mount2 |
I'm asking about paths inside docker. That's it? |
Ah sry, misunderstood that. they are mounted to /var/www/html/disk1 oder disk2 inside the container |
Then well... It's your mistake. Aaaand.. Next time just don't trust maintainers, read scripts you are installing ;p |
Yeah I saw the line, but I wondered if this is really the expected behavior. Thank you for clarification! Will this be added to documentation? |
It should be, but someone would need to do this |
Hello, |
On that one, I am wondering why do you even need to
With the work that @f7o does in aws-samples/aws-serverless-nextcloud volumes are used for some of them, expect As a docker nutjob, I am wondering whether the persistance of |
I created a PR to illustrate the point #1548 |
Just experienced the same thing and found this disscussion, I think at least some changes should be made to the README.md as it clearly states in the 'Update to a newer version' section:
It is natural to assume all the data under /var/www/html would be preseved as we have mounted that directory as volume. |
Note added in #1862 |
I wish I would have known this earlier. I have just lost my whole media collection. |
Hi,
I've reported this issue already but it got removed to the docker repository #1493 (which is false in this case). See details below!
Steps to reproduce
Now, when starting the application, rsync delete gets called on EVERY file on my external local storage.
Due to this Bug I lost 2 Times about 16 TB of Data. (Upgrade to 21.0.1 and to 21.0.2).
After the second time i mounted the storage as read only. Rsync now throws the error that it cant delete the file. Therefore Nextcloud wont start.
WHY does nextcloud try to delete the external storage???
Expected behaviour
The files should NOT be touched or even DELETED!
Actual behaviour
Nextcloud tries to wipe the whole external storage!
Server configuration
Operating system: Ubuntu 20.04 (Docker-Compose - default config)
Web server: Apache
Database: MariaDB
PHP version: 7.4.21
Nextcloud version: 21.0.3
Updated from an older Nextcloud/ownCloud or fresh install: from 21.0.2 / 21.0.1
Where did you install Nextcloud from: official docker repo
Signing status: cannot login because app won't start due to failing rsync delete
List of activated apps:
App list
Nextcloud configuration:
Config report
Are you using external storage, if yes which one: local
Are you using encryption: no
Are you using an external user-backend, if yes which one: NO
Client configuration
Browser: Chrome
Operating system: MacOS
Logs
Web server error log
The above is the docker output log
Nextcloud log (data/nextcloud.log)
Nextcloud log
Browser log
Browser log
The text was updated successfully, but these errors were encountered: