Nextcloud Fedora 41 No such file or directoryphp#221

I have a clean installation of fedora 41 beta. Anybody know what this error means when setting up nextcloud latest? I had no trouble installing nextcloud in fedora 40.

jonathon@hello:~$ sudo cat /var/www/html/cloud/data/nextcloud.log

{"reqId":"ZtPuwUyyOPDPzSDDPyUoEQAAAEA","level":3,"time":"2024-09-01T04:34:09+00:00","remoteAddr":"192.168.02.221","user":"--","app":"PHP","method":"GET","url":"/","message":"fopen(/var/www/html/cloud/config/config.php): Failed to open stream: No such file or directory at /var/www/html/cloud/lib/private/Config.php#221","userAgent":"Mozilla/5.0 (X11; Linux x86_64; rv:129.0) Gecko/20100101 Firefox/129.0","version":"","data":{"app":"PHP"}}

Āæ Did you not use the search function or do you mean your issue is not related to:


Much and good luck,
ernolf

1 Like

Temporary work around:
Nextcloud-28.0.2.zip does not have this bug.

wget https://download.nextcloud.com/server/releases/nextcloud-28.0.2.zip

Also redis has been replaced by valkey https://www.phoronix.com/news/Fedora-Replacing-Redis-Valkey

Another possible workaround would be to use the command line installer, as this bug only seems to affect the web installer. Oh, and by the way, itā€™s already been fixed, so it shouldnā€™t occur in the upcoming 29.0.6 anymore: https://github.com/nextcloud/server/pull/47521

Well, these are the sorts of things you have to deal with when using a bleeding edge distribution like Fedora, and in this case, even a beta version of that bleeding edge distribution. For a ā€˜stableā€™ server experience, Rocky or Alma Linux would be a better fit if you want to stay in the RHEL world, or otherwise Debian Stable or Ubuntu LTS :wink:

1 Like

I have not used the command line installer before. I will have a look at it. I started with fedora 5 so itā€™s been a long journey. I got used the constant change and breakage from time to time. I figure if things are going to change i may as well just learn it now. Iā€™m looking at putting nextcloud on a raspberry pi. I will probably go with red hat derivative if there is an image available or Debian since i have that running on my laptop. Thanks for your help.

1 Like

Yes, learning is a good thingā€¦ On a test system! :wink:

But on a production server that might also be used by friends and family, you usually donā€™t want constant changes and breakages. Of course, if it is just for yourself, this is entirely up to you.

:+1:

By the way, 29.0.6 has now been released, so the problem with the web installer should be fixed :slight_smile: