Skip to content
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

NC30: backup failes #5256

Closed
jakobroehrl opened this issue Sep 13, 2024 · 18 comments · Fixed by #5250
Closed

NC30: backup failes #5256

jakobroehrl opened this issue Sep 13, 2024 · 18 comments · Fixed by #5250
Labels
2. developing Work in progress borg bug Something isn't working
Milestone

Comments

@jakobroehrl
Copy link

After the update to NC and AIO 9.5.1 Beta the daily backup fail:

Logs
2024-09-13T04:01:24.420844894Z The .ocdata file is missing in Nextcloud datadir which means it is invalid!
2024-09-13T04:01:24.420928923Z Is the drive where the datadir is located on still mounted?

Thanks!

@jakobroehrl jakobroehrl added the 0. Needs triage Pending approval or rejection. This issue is pending approval. label Sep 13, 2024
@szaimen
Copy link
Collaborator

szaimen commented Sep 13, 2024

Thanks for the report. Already on my radar with #5250

@szaimen szaimen added 2. developing Work in progress bug Something isn't working borg and removed 0. Needs triage Pending approval or rejection. This issue is pending approval. labels Sep 13, 2024
@szaimen szaimen added this to the next milestone Sep 13, 2024
@ifedan-ed
Copy link

same here

@Rimos911
Copy link

same

2024-09-15T10:08:34.612584234Z The .ocdata file is missing in Nextcloud datadir which means it is invalid!
2024-09-15T10:08:34.612657698Z Is the drive where the datadir is located on still mounted?

@br4yd
Copy link

br4yd commented Sep 15, 2024

Ah so it is a bug with the current version and should be fixed by an update but not something on my end? Already was confused because I didn't switch datadir's.

@Rimos911
Copy link

Rimos911 commented Sep 15, 2024

Is there a workaround to fix this or should we just wait for the update? When will the update be released?

@szaimen
Copy link
Collaborator

szaimen commented Sep 15, 2024

It will be fixed in the next update. Until then a workaround is to create an .ocdata file inside the datadir.

@br4yd
Copy link

br4yd commented Sep 15, 2024

It will be fixed in the next update. Until then a workaround is to create an .ocdata file inside the datadir.

Just an empty one? So touch .ocdata?

@szaimen
Copy link
Collaborator

szaimen commented Sep 15, 2024

Yes

@Rimos911
Copy link

Rimos911 commented Sep 15, 2024

where ist the "datadir" located - or do you mean the /nextcloud/ folder?
I use the Docker-AIO installation

@br4yd
Copy link

br4yd commented Sep 15, 2024

@Rimos911 it is the directory specified in your Docker Compose file for AIO. There should be an environment variable with the path there.

@szaimen
Copy link
Collaborator

szaimen commented Sep 15, 2024

If there is none, the data is stored in the docker volume named nextcloud_aio_nextcloud_data. By default the data is then located in /var/lib/docker/volumes/nextcloud_aio_nextcloud_data/_data/.

@lukasig
Copy link

lukasig commented Sep 15, 2024

Same problem here with nextcloud-AIO running in docker, but I'm a bit of a noob. Can anyone give an example of terminal commands that can create the .ocdata file inside the datadir?
Thanks

@szaimen
Copy link
Collaborator

szaimen commented Sep 16, 2024

sudo docker exec --user www-data -it nextcloud-aio-nextcloud touch /mnt/ncdata/.ocdata

@amjedsaleel
Copy link

I am facing the same issue while trying to take the backup.

@szaimen
Copy link
Collaborator

szaimen commented Sep 16, 2024

See the command above for a temporary workaround

@gael1980
Copy link

Meme problème depuis la migration vers NC30

@szaimen szaimen pinned this issue Sep 16, 2024
@szaimen
Copy link
Collaborator

szaimen commented Sep 18, 2024

This is now fixed with v9.6.0 Beta. Testing and feedback is welcome! See https://github.com/nextcloud/all-in-one#how-to-switch-the-channel

@jakobroehrl
Copy link
Author

Thanks for the quick fix, works well, tested. :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
2. developing Work in progress borg bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

8 participants