I upgrade nextcloud to version 31.0.0. Now fulltextsearch is not working anymore.
I get the errors when i try to run elasticsearch (full text search0
Failed to construct console command ‘OCA\Files_FullTextSearch\Command\Configure’: Could not resolve OCP\ILogger! Class can not be instantiated
Failed to construct console command ‘OCA\FullTextSearch\Command\Check’: Could not resolve OCP\ILogger! Class can not be instantiated
i also got some issues with the memories app. Pictures are not opening normal. Also picture previews is not working as expected. i restored my early version of nextcloud and will wait some time till everything is upgraded for nextcloud 31.
I’d say take this as a lesson to always check that all apps you rely on are compatible before upgrading to a new major release.
Also, in my experience, it is generally a good practice to wait for at least the first point release before upgrading your production instance to a new major release, because at least in the past, X.0.0. releases have more often than not required, shall we say, some additional polish to be ready for prime time
Not a bug. The Memories app should have been uninstalled from your instance as it is not compatible with Nextcloud 31 yet. In fact, in all three instances I manage, Memories was uninstalled automatically.
If it was not uninstalled, your upgrade might not have been done properly.
@ckruijntjens - Do you have memories and files_fulltextsearch force enabled (and likely listed in app_install_overwrite in your config). That would override all compatibility checks during upgrades and explain how you ended up in this state.
Anyone run into the incompatibility with Elasticsearch already?
I upgraded my instance to v31yesterday and noticed that every Elasticsearch command crashed with an “OCI/ILogger something not available” message.
After some back and forth I noticed that it’s the Elasticsearch file plugin which creates the error. When disabled the error message is gone, but obviously without file indexing Elasticsearch is of not much use.
Nevertheless, the git repository shows a commit which seems to address the logger issue posted yesterday.
But given that there is no release to download, what’s the best way to install this update?
Edit: Sorry, just realized you were talking about a different plugin, the fulltextsearch_elasticsearch plugin I am running is on v31. If I now find a way to get the files plugin, I mentioned higher up, updated from the git repo I may be good to go again.
Just checkout the fulltextsearch_files github repo
run make in the directory
extract fulltextsearch_files.tar.gz to your nextcloud 31.0.0 html/custom_apps folder (don’t overwrite, delete the old folder)
run nextcloud’s update routine (for me it was sufficient to just load the app in my browser, it launched an update page, completed and it could continue)
check that fulltextsearch_files is listed as 31.0.0-dev
Thank you. This worked perfect. How will this continue with official nextcloud upgrades? can i use the normal upgrade procedure and will it the upgrade fulltextsearch_files? Of do i have to do this manual ?
composer install --prefer-dist --no-dev
make: composer: No such file or directory
Where’s that composer binary supposed to come from? Anything else I’d need to install?
Edit: Nevermind got it sorted out. If someone else is as ignorant as I am, check this page to get composer: Composer
I am running docker so had to install compose inside the container, but things worked out in the end. No more errors and the indexer is happily indexing my data again.