-
Notifications
You must be signed in to change notification settings - Fork 37
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
During initial backup, paths are always null #635
Comments
Are you still experiencing this current maintenance releases of v27/v28/v29? |
Hi Josh, I believe the issue was caused by the file versioning plugin. I have since uninstalled backups because it kept causing my nextcloud to get stuck in maintenance mode during hours of the day where it wasn't supposed to be doing any work. I now back up via the filesystem and have a cronjob which dumps the database every day. Not as good as what the backups plugin provided but also doesn't have the reliability issues. I'd be happy to help with investigation if needed. |
I've just installed the app recently, and have been unable to take a backup so far.
I run the standard Nextcloud image inside a Docker container. I have both stages of the backup pointed to an NFS mount in the container. Double checked that the permissions are correct, but it's not even able to get to the point of actually storing anything.
It can't even read files because it keeps pulling up the path of whatever file it's trying to look at as
null
. This causes an error with one of the functions that is expecting a path string. I don't really know PHP so this has been difficult for me to try to debug, but I'm pretty sure it is deriving the user session asnull
in/var/www/html/apps/files_versions/lib/Listener/FileEventsListener.php
. I added some logging togetPathForNode
, and the$user
and$owner
variables both come up null. As a result, the function returns null, and that value is plugged intoOC\Files\View->file_exists()
, which is not expecting a null value. Full log:I'm kind of not sure where to go from there. I'm not sure where this user session is coming from, and I don't have experience debugging PHP. Some help would be immensely appreciated.
The text was updated successfully, but these errors were encountered: