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

Error: Interface 'OCA\Files_Versions\Versions\IVersionBackend' not found #1812

Closed
rso42 opened this issue Dec 12, 2021 · 6 comments · Fixed by #1849
Closed

Error: Interface 'OCA\Files_Versions\Versions\IVersionBackend' not found #1812

rso42 opened this issue Dec 12, 2021 · 6 comments · Fixed by #1849
Assignees
Labels
1. to develop Issues that are ready for development bug dependencies

Comments

@rso42
Copy link

rso42 commented Dec 12, 2021

Just upgraded NC from 22.2.3 to 23.0.0.10 with groupfolders 11.1.0 and now get constant errors after upgrade:

NC log

Fatal	no app in context	Error: Interface 'OCA\Files_Versions\Versions\IVersionBackend' not found

occ error message
An unhandled exception has been thrown:
Error: Interface 'OCA\Files_Versions\Versions\IVersionBackend' not found in XXXXX/apps/groupfolders/lib/Versions/VersionsBackend.php:38

I see a fix back in 2019 for a similar error message:
fa87c71

@j0inty
Copy link

j0inty commented Dec 13, 2021

You need to enable/install the "files_versions" app, too.

root@host:/var/wwww/cloud.myhost.net/htdocs $ sudo -u www-data -g www-data -- php -f nextcloud/occ app:enable files_versions

@gwolf
Copy link

gwolf commented Dec 15, 2021

However, be aware that files_versions must be enabled before attempting to upgrade! occ dies before the upgrade can be attempted...
I fixed my instance the dirty way (by tweaking a database key by hand) — I set the following value:

UPDATE oc_appconfig SET configvalue='yes' WHERE appid='files_versions' AND configkey='enabled';

That allowed me to continue the update. Things seem to be running fine!

@wiegell
Copy link

wiegell commented Dec 27, 2021

I got through update and was able to get rid of error by enabling file versions in web gui

@CarlSchwan
Copy link
Member

if you could test #1849, this would be awesome :)

@clawoflight
Copy link

Huh, I'm using snapshots (ZFS user), so I don't have versions enabled. Thanks for the PR :)

@vnourdin
Copy link

Hi 👋
I wanted to disable the files_versions app but as pointed out in this issue, it's not possible with groupfolders.
Is there any way to disable it without breaking groupfolders ?
I haven't found in the doc information about this dependency.
Thanks a lot 🙏

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
1. to develop Issues that are ready for development bug dependencies
Projects
None yet
8 participants