-
Notifications
You must be signed in to change notification settings - Fork 87
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 while running background job OCA\\GroupFolders\\BackgroundJob\\ExpireGroupVersions #2935
Comments
Looks like the required changes have already been added in bb59297 but a new release still has to be created. |
This comment was marked as spam.
This comment was marked as spam.
Hello, |
@beankylla I do not think that your problem is related to this issue here. I can still access group folders in NC 29 using the Desktop app 3.13.0 on macOS. In any case, this repository has nothing to do with the Desktop application so the answer to your question is "no". Edit: but maybe I misunderstand and you are not talking about the Desktop application (?) |
Hi, |
After trying the current stable29 branch and getting a different error caused by #2910, I was able to get a working version based on bd47d01, just before the mentioned PR was merged. |
Feedback for future upgrading consideration:
|
If you have Edit: I just noticed in the list of supported tags that there are also |
Hi, yes, thank you, of course, changed. Feedback just for info … many thanks for a great product.
… On 11 May 2024, at 03:25, Jörg Mechnich ***@***.***> wrote:
@gregjohnsonsaltaire
• Docker container was taken down and up during unrelated maintenance ... (compose down, compose up).
If you have nextcloud:latest configured for the image in your compose file you might consider replacing it by a specific tag/version and make a conscious decision to upgrade.
In my experience, it is a major source of pain to immediately upgrade to a new NC version in a production environment. It usually takes a few patch releases until the major issues are resolved.
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you were mentioned.Message ID: ***@***.***>
|
Just to be sure, that one can be used on NC29? I do have the same error in the logs after upgrading to NC29 with the current 17.0.0-beta1. |
If by "current 17.0.0-beta1" you are referring to the tarball from above, then yes. Just to be clear: this is not an official build and I am not a NC developer, just sharing what fixed my problems (for details about my setup see original issue on top of this page). |
No, that beta is what I currently have installed and the issue appears with. |
I am also getting the same error with the latest beta of groupfolders (not the build posted in this issue, but the currently released 17.0.0-beta1), on an NC29 server. I've tried deleting and recreating the background jobs, to no effect. |
This comment was marked as duplicate.
This comment was marked as duplicate.
Updated to groupfolders 17.0 (NC 29) and still see that issue. |
Updating to the official groupfolders 17.0.0 fixed the original error for me but created a new issue:
Full error entry from Nextcloud log{
"reqId": "VhPMgTZdXhoTMCCFFSRl",
"level": 3,
"time": "2024-05-18T12:32:18+02:00",
"remoteAddr": "",
"user": "--",
"app": "core",
"method": "",
"url": "--",
"message": "Error while running background job OCA\\GroupFolders\\BackgroundJob\\ExpireGroupVersions (id: 213905, arguments: null)",
"userAgent": "--",
"version": "29.0.0.19",
"exception": {
"Exception": "TypeError",
"Message": "OCA\\GroupFolders\\Versions\\VersionsBackend::getVersionFolderForFile(): Argument #1 ($file) must be of type OCP\\Files\\File, OC\\Files\\FileInfo given, called in /var/www/nextcloud/apps/groupfolders/lib/Versions/VersionsBackend.php on line 92",
"Code": 0,
"Trace": [
{
"file": "/var/www/nextcloud/apps/groupfolders/lib/Versions/VersionsBackend.php",
"line": 92,
"function": "getVersionFolderForFile",
"class": "OCA\\GroupFolders\\Versions\\VersionsBackend",
"type": "->"
},
{
"file": "/var/www/nextcloud/apps/groupfolders/lib/Versions/GroupVersionsExpireManager.php",
"line": 81,
"function": "getVersionsForFile",
"class": "OCA\\GroupFolders\\Versions\\VersionsBackend",
"type": "->"
},
{
"file": "/var/www/nextcloud/apps/groupfolders/lib/Versions/GroupVersionsExpireManager.php",
"line": 60,
"function": "expireFolder",
"class": "OCA\\GroupFolders\\Versions\\GroupVersionsExpireManager",
"type": "->"
},
{
"file": "/var/www/nextcloud/apps/groupfolders/lib/BackgroundJob/ExpireGroupVersions.php",
"line": 43,
"function": "expireAll",
"class": "OCA\\GroupFolders\\Versions\\GroupVersionsExpireManager",
"type": "->"
},
{
"file": "/var/www/nextcloud/lib/public/BackgroundJob/Job.php",
"line": 80,
"function": "run",
"class": "OCA\\GroupFolders\\BackgroundJob\\ExpireGroupVersions",
"type": "->"
},
{
"file": "/var/www/nextcloud/lib/public/BackgroundJob/TimedJob.php",
"line": 102,
"function": "start",
"class": "OCP\\BackgroundJob\\Job",
"type": "->"
},
{
"file": "/var/www/nextcloud/lib/public/BackgroundJob/TimedJob.php",
"line": 92,
"function": "start",
"class": "OCP\\BackgroundJob\\TimedJob",
"type": "->"
},
{
"file": "/var/www/nextcloud/cron.php",
"line": 176,
"function": "execute",
"class": "OCP\\BackgroundJob\\TimedJob",
"type": "->"
}
],
"File": "/var/www/nextcloud/apps/groupfolders/lib/Versions/VersionsBackend.php",
"Line": 78,
"message": "Error while running background job OCA\\GroupFolders\\BackgroundJob\\ExpireGroupVersions (id: 213905, arguments: null)",
"exception": [],
"CustomMessage": "Error while running background job OCA\\GroupFolders\\BackgroundJob\\ExpireGroupVersions (id: 213905, arguments: null)"
},
"id": "6648e583e412c"
} |
You are right. It's not the same issue. But the new one you mentioned. |
I've never seen as many problems as since the switch to version NC29 :-( |
Let's only keep one issue open at #2964 to track this one 👍 |
How to use GitHub
Steps to reproduce
Expected behaviour
No error.
Actual behaviour
The following error shows up in log (see below for full backtrace).
Server configuration
Operating system:
Debian 12 (bookworm)
Web server:
nginx 1.22.1
Database:
mariadb 15.1
PHP version:
PHP 8.2.18
Nextcloud version: (see Nextcloud admin page)
Nextcloud Hub 8 (29.0.0)
Group folders version:
Group folders 16.0.6
Updated from an older Nextcloud/ownCloud or fresh install:
Updated from NC 28.0.4
Are you using encryption: yes/no
no
Logs
Full error entry from Nextcloud log
The text was updated successfully, but these errors were encountered: