groupfolders icon indicating copy to clipboard operation
groupfolders copied to clipboard

"GroupFolders" 16.0.6 and Nextcloud 29.0.0: "Error: This app cannot be enabled because it makes the server unstable"

Open RichardHausgartner opened this issue 9 months ago • 7 comments

How to use GitHub

  • Please use the 👍 reaction to show that you are affected by the same issue.
  • Please don't comment if you have no relevant information to add. It's just extra noise for everyone subscribed to this issue.
  • Subscribe to receive notifications on status change and new comments.

Steps to reproduce

  1. Update the docker image from Nextcloud 28.0.5 to Nextcloud 29.0.0

Expected behaviour

App "GroupFolders" is active and working

Actual behaviour

The app "GroupFolders" was automatically deactivated. When trying to enable it through Nextcloud admin panel, I receive a toast: Error: This app cannot be enabled because it makes the server unstable.

For me, it helped to enable it through the occ command: php occ app:enable groupfolders

But now I don't know if there is an incompatibility between GroupFolders 16.0.6 and Nextcloud 29.0.0 which is not visible to me yet. Does someone have similar trouble when updating to NC 29?

RichardHausgartner avatar Apr 29 '24 15:04 RichardHausgartner

+1

zlElo avatar Apr 29 '24 17:04 zlElo

Suffering from the same issue here, major problem due to it being part of our company operation :/

Nietzscheanman avatar Apr 30 '24 07:04 Nietzscheanman

[English via Google Translate] In order to avoid incompatibility problems, I have a second Nextcloud test environment in which all apps in the production environment run. Only when the most important apps in the current Nextcloud version 29 have been released and can be installed without any problems will the production environment be changed.

[German] Um Inkompatibilitätsprobleme aus dem Wege gehen zu können, habe ich eine zweite Nextcloud-Testumgebung, in der alle Apps der Produktionsumgebung laufen. Erst wenn die wichtigsten Apps in der aktuellen Nextcloud Version 29 freigegeben sind und sich ohne Probleme installieren lassen, wird die Produktionsumgebung umgestellt.

BigBen2003 avatar Apr 30 '24 16:04 BigBen2003

Hi, I have the same issue. The bummer is that you then no longer have access to the group folders. Quite the issue, not sure i will keep using them now. Will probably create another user that shares the files instead of group folders. Would it make sense for group_folders to use the same logic to prevent everything breaking when app is not active? That way the app could be used for config etc. but shares would still be available if it breaks

Edit: same activation error happens for other apps as well (including occweb) so let's see where the issue lies

beankylla avatar Apr 30 '24 20:04 beankylla

The convoluted way in which I fixed it is by (i) navigating to the groupfolders location on the server drive itself and (ii) copying the files from there to a new regular folder on a pc and (iii) then back to a new nextcloud folder.

For some reason when copying them straight to nextcloud without the pc step in between they remained hidden, I guess something related to permissions that was removed when copying to pc first. Total IT-noob here so no idea what I am doing, just needed the files back.

Now solved it via sharing folders as well, will do it like that from now on - was quite a scare.

Nietzscheanman avatar May 01 '24 09:05 Nietzscheanman

DISCLAIMER: you should probably only try this if you somewhat understand what is being done (and ideally backup your Nextcloud before doing anything).

While trying to fix another issue I have built a tarball from the stable29 branch, see the comment here.

You can also try building it yourself:

# building
git clone  https://github.com/nextcloud/groupfolders.git
cd groupfolders
make appstore
# for some reason the tar archive is versioned 8.0.0 but it does not matter in the end
# installation, similar if you downloaded the file from here
sudo cp build/groupfolders-8.0.0.tar.gz /var/www
cd /var/www/nextcloud/apps
sudo -u www-data /var/www/nextcloud/occ app:disable groupfolders
sudo mv groupfolders ~/groupfolders.backup
sudo -u www-data tar zxvf /var/www/groupfolders-8.0.0.tar.gz
sudo -u www-data /var/www/nextcloud/occ app:enable groupfolders

It seems to work in general but I am still getting a regular (but different than before) error from the cron job.

So, at least for me, it did not make things worse... 😅

Edit: replaced attached tarball with reference to comment in #2935.

jmechnich avatar May 01 '24 09:05 jmechnich

Is there any information from the maintainers when an stable version 17 can be released? (@icewind1991, @juliushaertl, ...) If it is about 3-4 days I will wait patiently, if it is about 2-3 weaks i would use a workaround ... I would be happy if there are any informations.

mos87 avatar May 02 '24 18:05 mos87

A short statement about the further steps would be helpful. When will Group Folders be available for Nextcloud 29?

tj775 avatar May 06 '24 18:05 tj775

We also have Nextcloud currently with Group Folders feature unavailable. Very unfortunate. Going forward we will delay roll out off new versions until required apps are available. We'd prefer not to roll back to Nextcloud 28. If you could give an approximation by when Group Folders should be back, that would be very helpful.

Emanuel-S-1 avatar May 07 '24 07:05 Emanuel-S-1

I've enabled Group folders 16.0.6 manually, as we lost all our permissions after upgrading to Nextcloud 29. As this version of the app doesn't support NC 29 officially, I'm aware that there must be some incompatibilities. What I've figured out so far is that the NC client cannot sync files that have been renamed within a Group folder (at least on Windows). Apart from that, I did not face other issues. Anyway, this is something I can accept. It's much better than having no data access at all. 😅

Anyway, disabling the app during the NC update silently doesn't sound like a valid update strategy either. IMHO this procedure should also be reconsidered...

chberger avatar May 07 '24 07:05 chberger

For what it's worth: the package mentioned here has been working for me for a week now.

jmechnich avatar May 07 '24 12:05 jmechnich

How looks? I really need it...

zlElo avatar May 16 '24 15:05 zlElo

How looks? I really need it...

Ich warte auch schon auf eine Aktualisierung. Solange es keine funktionierende Gruppenordner-Funktion gibt, kann kein Update der Nextcloud-Version durchgeführt werden.

BigBen2003 avatar May 16 '24 17:05 BigBen2003

I hope it is ok to ask this here...

I already did the upgrade to NC29 and group folder app is now missing. The files are gone for all users but still present on the server. Will an updated groupfolder app, compatible with NC29, restore the working situation before the NC upgrade as it was with NC28?

EDIT:

Just in case...

After installing to newest version of group folders and activating everything went back to normal without any additional steps needed.

sthag avatar May 16 '24 17:05 sthag

I hope it is ok to ask this here...

I already did the upgrade to NC29 and group folder app is now missing. The files are gone for all users but still present on the server. Will an updated groupfolder app, compatible with NC29, restore the working situation before the NC upgrade as it was with NC28? Genau an diesem Punkt gehen die Meinungen auseinander. Manche meinen, dass die Gruppenordner nach einem Update wieder hergestellt werden. Manche meinen allerdings, dass es nicht der Fall ist. - Daher ist es besser, wenn man mit dem Nextcloud Update wartet, bis es ein Update vom Gruppenordner gibt. In Nextcloud 28 läuft das AddIn "GroupFolder" anstandslos. Es scheint wohl nicht so leicht zu sein, das AddIn an die neue Nextcloud 29 anzupassen.

BigBen2003 avatar May 16 '24 18:05 BigBen2003

Any estimation when groupfolder comes to nc29? nc28 have bug what cause constant logouts for users so there is great pressure to update instance. However groupfolders still wont support nc29 even it is featured app. So do we have any estimation when this situation get resolved?

burner- avatar May 17 '24 04:05 burner-

17.0.0 is released for 29

icewind1991 avatar May 17 '24 20:05 icewind1991