-
-
Notifications
You must be signed in to change notification settings - Fork 4.2k
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
Error: Call to a member function getPath() on null in /lib/private/Files/Filesystem.php:878 #29674
Comments
Have you any update on this case ? |
This comment was marked as spam.
This comment was marked as spam.
This comment was marked as spam.
This comment was marked as spam.
This comment was marked as spam.
This comment was marked as spam.
I'm guessing that we're missing a setupFS / teardownFS around that code. Usually cron jobs don't setup the FS for each user as it's slower, so it's only done on demand. |
idea: in the background job:
|
|
Hi, Do you mean that I need to add some parameter on the line "\OC_Util::setupFS($user);" like "\OC_Util::setupFS($user,$uid_owner);" ? How can I add a field in the SQL statement ? Thanks Regards, |
I don't know if this can help, but in the mean time, the Windows agent is unable to permit share management. When we right click on a file, then select Nextcloud | Share options, the window tries to open, but closes instantly... |
I've enabled log on MySQL during a share creation. I see this strange behaviour (SQL queries): It seems that hi first save the share: And a few seconds later, it seems that the share is marked as expired: I'm not sure that this is normal or not. Just I found this 2 queries very strange... Thanks ! |
Hello, |
Make sure the setup fs is set before using the Update service Fix #29674 Signed-off-by: Carl Schwan <carl@carlschwan.eu>
I started working on this #31771 still wip |
Make sure the setup fs is set before using the Update service Fix #29674 Signed-off-by: Carl Schwan <carl@carlschwan.eu>
Make sure the setup fs is set before using the Update service Fix #29674 Signed-off-by: Carl Schwan <carl@carlschwan.eu>
Make sure the setup fs is set before using the Update service Fix #29674 Signed-off-by: Carl Schwan <carl@carlschwan.eu>
Make sure the setup fs is set before using the Update service Fix #29674 Signed-off-by: Carl Schwan <carl@carlschwan.eu>
Make sure the setup fs is set before using the Update service Fix #29674 Signed-off-by: Carl Schwan <carl@carlschwan.eu>
Make sure the setup fs is set before using the Update service Fix #29674 Signed-off-by: Carl Schwan <carl@carlschwan.eu>
Make sure the setup fs is set before using the Update service Backport of #29674 Signed-off-by: Carl Schwan <carl@carlschwan.eu>
Make sure the setup fs is set before using the Update service Backport of #29674 Signed-off-by: Carl Schwan <carl@carlschwan.eu>
Make sure the setup fs is set before using the Update service Backport of #29674 Signed-off-by: Carl Schwan <carl@carlschwan.eu>
Make sure the setup fs is set before using the Update service Backport of #29674 Signed-off-by: Carl Schwan <carl@carlschwan.eu>
Hello, The last major update of Nextcloud is supposed to resolve this issue, but we are still facing it on some of our nextcloud hosts despite the update. Regards |
How to use GitHub
Steps to reproduce
Not known
Expected behaviour
Actual behaviour
On Cronjob
/var/www/html/nextcloud/cron.php
:Server configuration
Operating system:
CentOS 7
Web server:
Apache 2.4.6
Database:
MariaDB-server-10.3.31-1
PHP version:
PHP 7.4.25
Zend Engine v3.4.0
Nextcloud version: (see Nextcloud admin page)
22.2.0
Updated from an older Nextcloud/ownCloud or fresh install:
Updated from Nextcloud 21
Where did you install Nextcloud from:
https://download.nextcloud.com/server/releases
Signing status:
Signing status
List of activated apps:
App list
Nextcloud configuration:
Config report
Are you using external storage, if yes which one: no
Are you using encryption: no
Are you using an external user-backend, if yes which one: no
The text was updated successfully, but these errors were encountered: