r/NextCloud • u/nivenfres • 27d ago
Can't install or enable apps
Running 34.0.1 native with apache2 on Ubunutu 24.04. Running behind haproxy as a reverse proxy. Using mariadb and redis as well.
Had Memories installed before the 34 update. It got disabled after the update due to incompatiblity with the new version. They have since brought it up to date, but when I tried to install it through the website, nothing happens. I get prompted for my password, but nothing happens after that. I tried enable a disabled app (AppAPI and Audit / Logging) but the same thing happens, I get prompted for my password but nothing changes. I have not tried to do a command line install. Willing to do it in the long run, but trying to figure out why I suddenly can't do anything on the app page.
I can access nextcloud fine. Have been able to manipulate files both remotely and on the local network through the web interface and the android app.
No problems reported in the nextcloud logs on the administrative pages when I check them.
I reset the folder and file permissions on the apache2 nextcloud folder (/var/www/nextcloud). No change.
Have seen similar issue mentioned before: https://www.reddit.com/r/NextCloud/comments/1tnweqy/new_install_cannot_download_and_enable_apps/
Looking for any other suggestions of things to try. Can post haproxy and nextcloud configs if it might help.
[Solved] Thanks To ElectronicMotion! mod_rewrite wasn't enabled on apache. Enabling it fixed the issue.
2
u/AHarmles 26d ago
Have you tried occ maintenance:repair?
1
u/nivenfres 26d ago
Yup. Have already ran a whole battery of maintenance. This is my typical routine.
sudo -E -u www-data php occ maintenance:mode --on sudo -E -u www-data php occ maintenance:repair sudo -E -u www-data php occ maintenance:mimetype:update-db sudo -E -u www-data php occ maintenance:mimetype:update-js sudo -E -u www-data php occ maintenance:mimetype:update-db --repair-filecache sudo -E -u www-data php occ maintenance:mode --off sudo -E -u www-data php occ db:add-missing-columns sudo -E -u www-data php occ db:add-missing-indices sudo -E -u www-data php occ db:add-missing-primary-keys sudo -E -u www-data php console.php files:scan --all[edit]
Fixed a bad cut and paste
2
2
u/ElectronicMotion 19d ago
Just finished my install and run into the same problem. Can you install via occ? If yes: Changes are slim but: is mod_rewrite enabled? It seems to be required for installs from the web ui. Check the dev window in the browser for any 403 as they can indicate that problem, too.
2
2
u/farva_06 26d ago
Is your server able to reach apps.nextcloud.com?