[Bug] No menus at all and empty admin config page #445
Labels
No labels
blocked
bug
duplicate
enhancement
FR accepted
help wanted
invalid
need discussion
next release
not reproduced
PR requested
question
reproduced
WFB
WIP
wontfix
No milestone
No project
No assignees
5 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
deblan/side_menu#445
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Environment
Configuration
cannot access the admin page
Steps to reproduce
Update custom menu and refresh the page
--> all menus are gone
--> custom menu admin page is empty
Observed Results
--> all menus (side and top) are gone
--> custom menu admin page is empty
Expected Results
No response
More informations
No response
Same behaviour here with Nextcloud 32.
Admin area empty
No menu
Do you have errors in nextcloud logs?
A local build works. The build from the CI fails.
You have to downgrade.
The issue came from node dependencies.
The version 5.1.3 fixes this issue.
Unfortunately, version 5.1.3 doesn't make a differnce to me. Still no menu and empty admin config
Can you clean your cache and refresh?
That's what I did. Still the same result in Chrome as well as in MS Edge. The symbol for the side menu in the upper left corner is completely missing
The fix with 5.1.3 works for me.
Thank you soo much for the quick release :)
I'm having the same problem as @pulporiendo-max. I cleared my cache, refreshed the page, logged out and logged back into my account, but nothing has changed. I don't have the menu and I get a blank/empty page for the Custom Menu configuration.
@pipip good to know!
@nexion63 @pulporiendo-max can you open your browser dev tools and check what errors are show in the console please?
@deblan This is what the console tells me when I query it.
Ok! These errors are different from the ones generated by the dependency issue I fixed. Can you open the tab "Network" (Réseau) and check what url are impacted please?
Miracle! The menu is back! I don't know how or why it got fixed.
Not for me.
Error for the config page
@pulporiendo-max what errors do you have in nextcloud.log?
@nexion63 wrote in #445 (comment):
That could be an problem with PHP opcache resolved with cache invalidation.
{"reqId":"aNjh8qfRZ3P_S7sGmbl4oAAAAAQ","level":3,"time":"2025-09-28T07:21:22+00:00","remoteAddr":"94.31.73.187","user":"admin","app":"index","method":"GET","url":"/index.php/apps/side_menu/js/config","message":"Call to undefined method OC\Server::getAvatarManager() in file '/home/www/thurn.net/nextcloud/apps/side_menu/lib/Controller/JsController.php' line 102","userAgent":"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/140.0.0.0 Safari/537.36","version":"32.0.0.13","exception":{"Exception":"Exception","Message":"Call to undefined method OC\Server::getAvatarManager() in file '/home/www/thurn.net/nextcloud/apps/side_menu/lib/Controller/JsController.php' line 102","Code":0,"Trace":[{"file":"/home/www/thurn.net/nextcloud/lib/private/AppFramework/App.php","line":153,"function":"dispatch","class":"OC\AppFramework\Http\Dispatcher","type":"->","args":[{"class":"OCA\SideMenu\Controller\JsController"},"config"]},{"file":"/home/www/thurn.net/nextcloud/lib/private/Route/Router.php","line":321,"function":"main","class":"OC\AppFramework\App","type":"::","args":["OCA\SideMenu\Controller\JsController","config",{"class":"OC\AppFramework\DependencyInjection\DIContainer"},{"_route":"side_menu.js.config"}]},{"file":"/home/www/thurn.net/nextcloud/lib/base.php","line":1061,"function":"match","class":"OC\Route\Router","type":"->","args":["/apps/side_menu/js/config"]},{"file":"/home/www/thurn.net/nextcloud/index.php","line":25,"function":"handleRequest","class":"OC","type":"::","args":[]}],"File":"/home/www/thurn.net/nextcloud/lib/private/AppFramework/Http/Dispatcher.php","Line":150,"Previous":{"Exception":"Error","Message":"Call to undefined method OC\Server::getAvatarManager()","Code":0,"Trace":[{"file":"/home/www/thurn.net/nextcloud/apps/side_menu/lib/Controller/JsController.php","line":63,"function":"getConfig","class":"OCA\SideMenu\Controller\JsController","type":"->","args":[]},{"file":"/home/www/thurn.net/nextcloud/lib/private/AppFramework/Http/Dispatcher.php","line":204,"function":"config","class":"OCA\SideMenu\Controller\JsController","type":"->","args":[]},{"file":"/home/www/thurn.net/nextcloud/lib/private/AppFramework/Http/Dispatcher.php","line":118,"function":"executeController","class":"OC\AppFramework\Http\Dispatcher","type":"->","args":[{"class":"OCA\SideMenu\Controller\JsController"},"config"]},{"file":"/home/www/thurn.net/nextcloud/lib/private/AppFramework/App.php","line":153,"function":"dispatch","class":"OC\AppFramework\Http\Dispatcher","type":"->","args":[{"class":"OCA\SideMenu\Controller\JsController"},"config"]},{"file":"/home/www/thurn.net/nextcloud/lib/private/Route/Router.php","line":321,"function":"main","class":"OC\AppFramework\App","type":"::","args":["OCA\SideMenu\Controller\JsController","config",{"class":"OC\AppFramework\DependencyInjection\DIContainer"},{"_route":"side_menu.js.config"}]},{"file":"/home/www/thurn.net/nextcloud/lib/base.php","line":1061,"function":"match","class":"OC\Route\Router","type":"->","args":["/apps/side_menu/js/config"]},{"file":"/home/www/thurn.net/nextcloud/index.php","line":25,"function":"handleRequest","class":"OC","type":"::","args":[]}],"File":"/home/www/thurn.net/nextcloud/apps/side_menu/lib/Controller/JsController.php","Line":102},"message":"Call to undefined method OC\Server::getAvatarManager() in file '/home/www/thurn.net/nextcloud/apps/side_menu/lib/Controller/JsController.php' line 102","exception":[],"CustomMessage":"Call to undefined method OC\Server::getAvatarManager() in file '/home/www/thurn.net/nextcloud/apps/side_menu/lib/Controller/JsController.php' line 102"},"id":"68daa259854b3"}
Screenshot (maybe easier to read)
Seems to be only one error (line 102). Again and again
@pulporiendo-max
On line 102 of
/home/www/thurn.net/nextcloud/apps/side_menu/lib/Controller/JsController.php, do you have:or
It is the second one:
$isAvatarSet = $this->avatarManager->getAvatar($this->user->getUID())->exists();The code is up to date but the server execute the old one. Can you restart php-fpm or your web server and try again?
Tested it for one week. Now it also works for me. Thank you. Seemed to be a cache issue.
I can confirm that it works perfectly! Problem solved. Thank you very much.