You are not logged in.

#1 2021-08-14 06:10:43

jdizzle
Member
Registered: 2021-08-14
Posts: 1

Issue upgrading to nextcloud 22.1.0-1

Hi,

I've recently upgraded to nextcloud 22.1.0-1 from nextcloud 21 and have ran into issues.  I'm using Nextcloud with php-fpm and Apache.

I performed the MariaDB upgrade as per pacman info 'systemctl restart mariadb.service && mariadb-upgrade -u root -p'

I ran into the issue with MariaDB 10.6.3 but fixed that by following directions of bug https://bugs.archlinux.org/task/71549?p … =nextcloud

I used occ upgrade to perform the upgrade which was successful once the mariadb bug was fixed.

I now have the issue where I get Internal Server Error from the web interface although the backend appears to be working as I can add contacts and notes and they sync between devices.  It appears to be an issue limited to the web interface.

I see the following errors in the Apache Log File:-

[Sat Aug 14 13:32:25.164560 2021] [access_compat:error] [pid 304:tid 139828859479616] [client XXXXXXXX] AH01797: client denied by server configuration: /usr/share/webapps/nextcloud/config.

I see the following errors in the Nextcloud Log File:-

 {"reqId":"ZE3DcSVrHX5h6OTIxZv7","level":1,"time":"2021-08-14T03:32:48+00:00","remoteAddr":"XXXXX","user":"--","app":"no app in context","method":"GET","url":"/login?redirect_url=/index.php/apps/dashboard/","message":"Unable to generate a URL for the named route \"tasks.page.index\" as such route does not exist.","userAgent":"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/92.0.4515.107 Safari/537.36","version":"22.1.0.1","exception":{"Exception":"Symfony\\Component\\Routing\\Exception\\RouteNotFoundException","Message":"Unable to generate a URL for the named route \"tasks.page.index\" as such route does not exist.","Code":0,"Trace":[{"file":"/usr/share/webapps/nextcloud/lib/private/Route/Router.php","line":364,"function":"generate","class":"Symfony\\Component\\Routing\\Generator\\UrlGenerator","type":"->"},{"file":"/usr/share/webapps/nextcloud/lib/private/Route/CachingRouter.php","line":59,"function":"generate","class":"OC\\Route\\Router","type":"->"},{"file":"/usr/share/webapps/nextcloud/lib/private/URLGenerator.php","line":85,"function":"generate","class":"OC\\Route\\CachingRouter","type":"->"},{"file":"/usr/share/webapps/nextcloud/lib/private/NavigationManager.php","line":287,"function":"linkToRoute","class":"OC\\URLGenerator","type":"->"},{"file":"/usr/share/webapps/nextcloud/lib/private/NavigationManager.php","line":113,"function":"init","class":"OC\\NavigationManager","type":"->"},{"file":"/usr/share/webapps/nextcloud/apps/theming/lib/ThemingDefaults.php","line":190,"function":"getAll","class":"OC\\NavigationManager","type":"->"},{"file":"/usr/share/webapps/nextcloud/lib/private/legacy/OC_Defaults.php","line":266,"function":"getShortFooter","class":"OCA\\Theming\\ThemingDefaults","type":"->"},{"file":"/usr/share/webapps/nextcloud/lib/public/Defaults.php","line":168,"function":"getLongFooter","class":"OC_Defaults","type":"->"},{"file":"/usr/share/webapps/nextcloud/core/templates/layout.guest.php","line":55,"function":"getLongFooter","class":"OCP\\Defaults","type":"->"},{"file":"/usr/share/webapps/nextcloud/lib/private/Template/Base.php","line":180,"args":["/usr/share/webapps/nextcloud/core/templates/layout.guest.php"],"function":"include"},{"file":"/usr/share/webapps/nextcloud/lib/private/Template/Base.php","line":150,"function":"load","class":"OC\\Template\\Base","type":"->"},{"file":"/usr/share/webapps/nextcloud/lib/private/legacy/OC_Template.php","line":179,"function":"fetchPage","class":"OC\\Template\\Base","type":"->"},{"file":"/usr/share/webapps/nextcloud/lib/private/legacy/OC_Template.php","line":210,"function":"fetchPage","class":"OC_Template","type":"->"},{"file":"/usr/share/webapps/nextcloud/lib/private/Template/Base.php","line":132,"function":"fetchPage","class":"OC_Template","type":"->"},{"file":"/usr/share/webapps/nextcloud/lib/private/legacy/OC_Template.php","line":331,"function":"printPage","class":"OC\\Template\\Base","type":"->"},{"file":"/usr/share/webapps/nextcloud/index.php","line":74,"function":"printExceptionErrorPage","class":"OC_Template","type":"::"}],"File":"/usr/share/webapps/nextcloud/apps/bookmarks/vendor/symfony/routing/Generator/UrlGenerator.php","Line":143,"CustomMessage":"--"}}
{"reqId":"wo8bv6nuY6fmP1rSFDQj","level":0,"time":"2021-08-14T03:32:48+00:00","remoteAddr":"XXXXX","user":"--","app":"contacts","method":"GET","url":"/","message":"/appinfo/app.php is deprecated, use \\OCP\\AppFramework\\Bootstrap\\IBootstrap on the application class instead.","userAgent":"Monit/5.28.1","version":"22.1.0.1"}
{"reqId":"wo8bv6nuY6fmP1rSFDQj","level":0,"time":"2021-08-14T03:32:48+00:00","remoteAddr":"XXXXX","user":"--","app":"files_sharing","method":"GET","url":"/","message":"/appinfo/app.php is deprecated, use \\OCP\\AppFramework\\Bootstrap\\IBootstrap on the application class instead.","userAgent":"Monit/5.28.1","version":"22.1.0.1"}   

I've checked the .htaccess file as per pacman notes [2021-08-10T18:34:51+1000] [ALPM-SCRIPTLET] NOTE: The application's .htaccess file is now located in /etc/webapps/nextcloud/. and the symlink is correct and the .htaccess in /etc/webapps/nextcloud is owned by the nextcloud user.

I've run out of ideas and if anyone has any suggestions it would be appreciated.

Thanks

Offline

Board footer

Powered by FluxBB