Custom Menu does not appear since name changed #48
Labels
No Label
bug
duplicate
enhancement
FR accepted
help wanted
invalid
need discussion
next release
not reproduced
PR requested
question
reproduced
WIP
wontfix
No Milestone
No project
No Assignees
2 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: deblan/side_menu#48
Loading…
Reference in New Issue
No description provided.
Delete Branch "%!s(<nil>)"
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?
Feature
Description
Since the app changed its name from 'Side Menu' to 'Custom Menu', it no longer works on my Nextcloud instance. The Custom Menu icon does not show at all.
Issue
Environment
Steps to reproduce
Observed Results
Expected Results
You can export your configuration from the admin settings (after the button "Save").
Can you check your personal settings if the custom menu because you can disable it from this page.
Thanks, I've edited my original post to include the configuration paste.
The menu is enabled in my personal settings. I have tried disable/enable just in case, no luck.
And just to clarify, all I see is the app icons on the top header, which (I believe) is the view if custom menu is not in use, while previously (pre-side-menu-name-change) I had the then-side menu hamburger icon and it was working fine.
I imported your configuration into a nextcloud 19 and the menu works.
Can you press "F12", go to "Console", select "Errors" and make a screenshot please?
Lots of jQuery errors:
What's the content of https://domain/index.php/apps/side_menu/js/script?v=19 please?
You mean if I click on the files:127:1 bit? It points to this line:
Nope. Open "https://domain/index.php/apps/side_menu/js/script?v=19" and copy/paste the content.
Ah right. Well this doesn't open anything, it just gives me NC's internal server error message:
Btw thank you for your time trying to solve this issue, incredibly appreciated!
okay, that's the point!
Open
data/nextcloud.log
and find the line using the Request ID as keyword. Then copy/paste the content here please.My logs seem to be in /var/snap/nextcloud/current/logs, but I only have:
apache_access.log
apache_errors.log
php_errors.log
php-fpm_errors.log
mysql_errors.log
redis.log
And the request ID is not in any of these files (I will try again later in case I am doing something wrong with grep).
You should have a file named
nextcloud.log
in the directory where your datas are stored.Ah the data directory, got it. It seems my nextcloud.log has not been updated for ages. I have spent some time looking into it, it seems it's some sort of bug that stops logging. I found an SQL query that can fix it but I can't run it as my NC's SQL is running within the snap so not sure if/how I can manually update tables.
Is there another way we can continue debugging this?
EDIT: this is an older request that includes erorrs for side_menu, maybe it helps?
{"reqId":"IMP86YEnnfK8ifhpKZc2","level":3,"time":"2020-10-03T13:48:39+00:00","remoteAddr":"109.151.38.160","user":"dinosm","app":"index","method":"GET","url":"/index.php/apps/side_menu/js/script?v=16","message":{"Exception":"OCP\AppFramework\QueryException","Message":"Could not resolve OCA\SideMenu\Controller\JsController! Class OCA\Theming\ThemingDefaults does not exist","Code":0,"Trace":[{"file":"/snap/nextcloud/23171/htdocs/lib/private/AppFramework/Utility/SimpleContainer.php","line":116,"function":"resolve","class":"OC\AppFramework\Utility\SimpleContainer","type":"->","args":["OCA\SideMenu\Controller\JsController"]},{"file":"/snap/nextcloud/23171/htdocs/lib/private/AppFramework/DependencyInjection/DIContainer.php","line":414,"function":"query","class":"OC\AppFramework\Utility\SimpleContainer","type":"->","args":["OCA\SideMenu\Controller\JsController"]},{"file":"/snap/nextcloud/23171/htdocs/lib/private/AppFramework/DependencyInjection/DIContainer.php","line":385,"function":"queryNoFallback","class":"OC\AppFramework\DependencyInjection\DIContainer","type":"->","args":["OCA\SideMenu\Controller\JsController"]},{"file":"/snap/nextcloud/23171/htdocs/lib/private/AppFramework/App.php","line":124,"function":"query","class":"OC\AppFramework\DependencyInjection\DIContainer","type":"->","args":["OCA\SideMenu\Controller\JsController"]},{"file":"/snap/nextcloud/23171/htdocs/lib/private/AppFramework/Routing/RouteActionHandler.php","line":47,"function":"main","class":"OC\AppFramework\App","type":"::","args":["OCA\SideMenu\Controller\JsController","script",{"class":"OC\AppFramework\DependencyInjection\DIContainer"},{"_route":"side_menu.Js.script"}]},{"function":"__invoke","class":"OC\AppFramework\Routing\RouteActionHandler","type":"->","args":[{"_route":"side_menu.Js.script"}]},{"file":"/snap/nextcloud/23171/htdocs/lib/private/Route/Router.php","line":297,"function":"call_user_func","args":[{"class":"OC\AppFramework\Routing\RouteActionHandler"},{"_route":"side_menu.Js.script"}]},{"file":"/snap/nextcloud/23171/htdocs/lib/base.php","line":1012,"function":"match","class":"OC\Route\Router","type":"->","args":["/apps/side_menu/js/script"]},{"file":"/snap/nextcloud/23171/htdocs/index.php","line":37,"function":"handleRequest","class":"OC","type":"::","args":[]}],"File":"/snap/nextcloud/23171/htdocs/lib/private/AppFramework/Utility/SimpleContainer.php","Line":107,"CustomMessage":"--"},"userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:81.0) Gecko/20100101 Firefox/81.0","version":"19.0.3.1"}
irefox/81.0","version":"19.0.3.1"}
Okay, that's the problem…You do not seem to have the theming app enabled.
Can you enable the theming app please?
Ah thanks it works now!
I'd removed Theming because it messed up my own CSS. Does Custom Menu work without it somehow? If not, I'll work on fixing Theming.
Custom menu uses Theming to retrieve the logo so you have to enable Theming :)