Custom Menu does not appear since name changed #48

Closed
opened 2 years ago by dinosm · 16 comments
dinosm commented 2 years ago

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

  • Side menu version: 1.19.1
  • Nextcloud version: 19.0.4 (snap)
  • PHP version: 7.3
  • Web server (Nginx, Apache2): Apache 2.4
  • Web browser and version (Firefox 80, Google Chrome 74, etc): Firefox 82
{
    "always-displayed": "0",
    "background-color": "#333333",
    "background-color-to": "#333333",
    "big-menu": "0",
    "current-app-background-color": "#444444",
    "default-enabled": "1",
    "display-logo": "1",
    "enabled": "yes",
    "external-sites-in-top-menu": "0",
    "force": "0",
    "force-light-icon": "0",
    "hide-when-no-apps": "0",
    "icon-invert-filter": "0",
    "icon-opacity": "100",
    "installed_version": "1.19.1",
    "loader-color": "#0e75ac",
    "loader-enabled": "1",
    "opener": "side-menu-opener-hamburger",
    "opener-hover": "0",
    "opener-only": "0",
    "opener-position": "after",
    "show-settings": "0",
    "size-icon": "big",
    "size-text": "normal",
    "target-blank-apps": "[\"calendar\",\"contacts\"]",
    "text-color": "#ffffff",
    "top-menu-apps": "[\"calendar\"]",
    "types": "",
    "use-avatar": "0"
}

Steps to reproduce

  • Install & Enable Custom Menu from NC apps

Observed Results

  • Custom Menu icon does not appear

Expected Results

  • Custom Menu icon should appear
## 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 * Side menu version: 1.19.1 * Nextcloud version: 19.0.4 (snap) * PHP version: 7.3 * Web server (Nginx, Apache2): Apache 2.4 * Web browser and version (Firefox 80, Google Chrome 74, etc): Firefox 82 ``` { "always-displayed": "0", "background-color": "#333333", "background-color-to": "#333333", "big-menu": "0", "current-app-background-color": "#444444", "default-enabled": "1", "display-logo": "1", "enabled": "yes", "external-sites-in-top-menu": "0", "force": "0", "force-light-icon": "0", "hide-when-no-apps": "0", "icon-invert-filter": "0", "icon-opacity": "100", "installed_version": "1.19.1", "loader-color": "#0e75ac", "loader-enabled": "1", "opener": "side-menu-opener-hamburger", "opener-hover": "0", "opener-only": "0", "opener-position": "after", "show-settings": "0", "size-icon": "big", "size-text": "normal", "target-blank-apps": "[\"calendar\",\"contacts\"]", "text-color": "#ffffff", "top-menu-apps": "[\"calendar\"]", "types": "", "use-avatar": "0" } ``` ### Steps to reproduce * Install & Enable Custom Menu from NC apps ### Observed Results * Custom Menu icon does not appear ### Expected Results * Custom Menu icon should appear
Owner

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.

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.
deblan added the
question
label 2 years ago
Poster

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.

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.
Owner

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?

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?
Poster

Lots of jQuery errors:

Loading failed for the script with source “https://domain/extra-apps/maps/js/filetypes.js?v=203cde6a”. files:67:1
Handlebars is deprecated: please ship your own, this will be removed in Nextcloud 20 globals.js:61:15
$ is deprecated: The global jQuery is deprecated. It will be updated to v2.4 in Nextcloud 20 and v3.x in Nextcloud 21. In later versions of Nextcloud it might be removed completely. Please ship your own. globals.js:61:15
jQuery is deprecated: The global jQuery is deprecated. It will be updated to v2.4 in Nextcloud 20 and v3.x in Nextcloud 21. In later versions of Nextcloud it might be removed completely. Please ship your own. 2 globals.js:61:15
Handlebars is deprecated: please ship your own, this will be removed in Nextcloud 20 globals.js:61:15
$ is deprecated: The global jQuery is deprecated. It will be updated to v2.4 in Nextcloud 20 and v3.x in Nextcloud 21. In later versions of Nextcloud it might be removed completely. Please ship your own. globals.js:61:15
Handlebars is deprecated: please ship your own, this will be removed in Nextcloud 20 globals.js:61:15
$ is deprecated: The global jQuery is deprecated. It will be updated to v2.4 in Nextcloud 20 and v3.x in Nextcloud 21. In later versions of Nextcloud it might be removed completely. Please ship your own. globals.js:61:15
jQuery is deprecated: The global jQuery is deprecated. It will be updated to v2.4 in Nextcloud 20 and v3.x in Nextcloud 21. In later versions of Nextcloud it might be removed completely. Please ship your own. globals.js:61:15
Handlebars is deprecated: please ship your own, this will be removed in Nextcloud 20 globals.js:61:15
$ is deprecated: The global jQuery is deprecated. It will be updated to v2.4 in Nextcloud 20 and v3.x in Nextcloud 21. In later versions of Nextcloud it might be removed completely. Please ship your own. globals.js:61:15
jQuery is deprecated: The global jQuery is deprecated. It will be updated to v2.4 in Nextcloud 20 and v3.x in Nextcloud 21. In later versions of Nextcloud it might be removed completely. Please ship your own. globals.js:61:15
$ is deprecated: The global jQuery is deprecated. It will be updated to v2.4 in Nextcloud 20 and v3.x in Nextcloud 21. In later versions of Nextcloud it might be removed completely. Please ship your own. globals.js:61:15
OCA.Files.Sidebar initialized Sidebar.js:37:10
Handlebars is deprecated: please ship your own, this will be removed in Nextcloud 20 globals.js:61:15
Loading failed for the script with source “https://domain/index.php/apps/side_menu/js/script?v=19”. files:127:1
OCA.Sharing.ShareSearch initialized ShareSearch.js:33:10
OCA.Sharing.ExternalLinkActions initialized ExternalLinkActions.js:33:10
jQuery is deprecated: The global jQuery is deprecated. It will be updated to v2.4 in Nextcloud 20 and v3.x in Nextcloud 21. In later versions of Nextcloud it might be removed completely. Please ship your own. globals.js:61:15
OCA.Viewer initialized Viewer.js:41:10
Handlebars is deprecated: please ship your own, this will be removed in Nextcloud 20 globals.js:61:15
$ is deprecated: The global jQuery is deprecated. It will be updated to v2.4 in Nextcloud 20 and v3.x in Nextcloud 21. In later versions of Nextcloud it might be removed completely. Please ship your own. 2 globals.js:61:15
OCA.Files.Settings initialized Settings.js:29:10
session heartbeat polling started session-heartbeat.js:97:9
$ is deprecated: The global jQuery is deprecated. It will be updated to v2.4 in Nextcloud 20 and v3.x in Nextcloud 21. In later versions of Nextcloud it might be removed completely. Please ship your own. 11 globals.js:61:15
New search handler registered search.js:67:12
$ is deprecated: The global jQuery is deprecated. It will be updated to v2.4 in Nextcloud 20 and v3.x in Nextcloud 21. In later versions of Nextcloud it might be removed completely. Please ship your own. 229 globals.js:61:15
Clipboard is deprecated: please ship your own, this will be removed in Nextcloud 20 globals.js:61:15
$ is deprecated: The global jQuery is deprecated. It will be updated to v2.4 in Nextcloud 20 and v3.x in Nextcloud 21. In later versions of Nextcloud it might be removed completely. Please ship your own. 21 globals.js:61:15
registerTabView is deprecated! It will be removed in nextcloud 20. merged-index.js:7572:12
Legacy tabs are deprecated! They will be removed in nextcloud 20. Tab.js:49:11
registerDetailView is deprecated! It will be removed in nextcloud 20. merged-index.js:7583:12
registerTabView is deprecated! It will be removed in nextcloud 20. merged-index.js:7572:12
Legacy tabs are deprecated! They will be removed in nextcloud 20. Tab.js:49:11
$ is deprecated: The global jQuery is deprecated. It will be updated to v2.4 in Nextcloud 20 and v3.x in Nextcloud 21. In later versions of Nextcloud it might be removed completely. Please ship your own. globals.js:61:15
registerTabView is deprecated! It will be removed in nextcloud 20. merged-index.js:7572:12
Legacy tabs are deprecated! They will be removed in nextcloud 20. Tab.js:49:11
$ is deprecated: The global jQuery is deprecated. It will be updated to v2.4 in Nextcloud 20 and v3.x in Nextcloud 21. In later versions of Nextcloud it might be removed completely. Please ship your own. globals.js:61:15
registerTabView is deprecated! It will be removed in nextcloud 20. merged-index.js:7572:12
Legacy tabs are deprecated! They will be removed in nextcloud 20. Tab.js:49:11
$ is deprecated: The global jQuery is deprecated. It will be updated to v2.4 in Nextcloud 20 and v3.x in Nextcloud 21. In later versions of Nextcloud it might be removed completely. Please ship your own. 296 globals.js:61:15
jQuery is deprecated: The global jQuery is deprecated. It will be updated to v2.4 in Nextcloud 20 and v3.x in Nextcloud 21. In later versions of Nextcloud it might be removed completely. Please ship your own. 2 globals.js:61:15
querying Whats New data was successful: nocontent whatsnew.js:42:9
undefined whatsnew.js:43:9
jQuery is deprecated: The global jQuery is deprecated. It will be updated to v2.4 in Nextcloud 20 and v3.x in Nextcloud 21. In later versions of Nextcloud it might be removed completely. Please ship your own. globals.js:61:15
$ is deprecated: The global jQuery is deprecated. It will be updated to v2.4 in Nextcloud 20 and v3.x in Nextcloud 21. In later versions of Nextcloud it might be removed completely. Please ship your own. 90 globals.js:61:15
jQuery is deprecated: The global jQuery is deprecated. It will be updated to v2.4 in Nextcloud 20 and v3.x in Nextcloud 21. In later versions of Nextcloud it might be removed completely. Please ship your own. globals.js:61:15
$ is deprecated: The global jQuery is deprecated. It will be updated to v2.4 in Nextcloud 20 and v3.x in Nextcloud 21. In later versions of Nextcloud it might be removed completely. Please ship your own. 17 globals.js:61:15
jQuery is deprecated: The global jQuery is deprecated. It will be updated to v2.4 in Nextcloud 20 and v3.x in Nextcloud 21. In later versions of Nextcloud it might be removed completely. Please ship your own. globals.js:61:15
$ is deprecated: The global jQuery is deprecated. It will be updated to v2.4 in Nextcloud 20 and v3.x in Nextcloud 21. In later versions of Nextcloud it might be removed completely. Please ship your own. 12 globals.js:61:15
jQuery is deprecated: The global jQuery is deprecated. It will be updated to v2.4 in Nextcloud 20 and v3.x in Nextcloud 21. In later versions of Nextcloud it might be removed completely. Please ship your own. globals.js:61:15
$ is deprecated: The global jQuery is deprecated. It will be updated to v2.4 in Nextcloud 20 and v3.x in Nextcloud 21. In later versions of Nextcloud it might be removed completely. Please ship your own. 22 globals.js:61:15
jQuery is deprecated: The global jQuery is deprecated. It will be updated to v2.4 in Nextcloud 20 and v3.x in Nextcloud 21. In later versions of Nextcloud it might be removed completely. Please ship your own. globals.js:61:15
$ is deprecated: The global jQuery is deprecated. It will be updated to v2.4 in Nextcloud 20 and v3.x in Nextcloud 21. In later versions of Nextcloud it might be removed completely. Please ship your own. 17 globals.js:61:15
jQuery is deprecated: The global jQuery is deprecated. It will be updated to v2.4 in Nextcloud 20 and v3.x in Nextcloud 21. In later versions of Nextcloud it might be removed completely. Please ship your own. globals.js:61:15
$ is deprecated: The global jQuery is deprecated. It will be updated to v2.4 in Nextcloud 20 and v3.x in Nextcloud 21. In later versions of Nextcloud it might be removed completely. Please ship your own. 17 globals.js:61:15
jQuery is deprecated: The global jQuery is deprecated. It will be updated to v2.4 in Nextcloud 20 and v3.x in Nextcloud 21. In later versions of Nextcloud it might be removed completely. Please ship your own. globals.js:61:15
$ is deprecated: The global jQuery is deprecated. It will be updated to v2.4 in Nextcloud 20 and v3.x in Nextcloud 21. In later versions of Nextcloud it might be removed completely. Please ship your own. 21 globals.js:61:15
jQuery is deprecated: The global jQuery is deprecated. It will be updated to v2.4 in Nextcloud 20 and v3.x in Nextcloud 21. In later versions of Nextcloud it might be removed completely. Please ship your own. globals.js:61:15
$ is deprecated: The global jQuery is deprecated. It will be updated to v2.4 in Nextcloud 20 and v3.x in Nextcloud 21. In later versions of Nextcloud it might be removed completely. Please ship your own. 12 globals.js:61:15
jQuery is deprecated: The global jQuery is deprecated. It will be updated to v2.4 in Nextcloud 20 and v3.x in Nextcloud 21. In later versions of Nextcloud it might be removed completely. Please ship your own. globals.js:61:15
$ is deprecated: The global jQuery is deprecated. It will be updated to v2.4 in Nextcloud 20 and v3.x in Nextcloud 21. In later versions of Nextcloud it might be removed completely. Please ship your own. 16 globals.js:61:15
jQuery is deprecated: The global jQuery is deprecated. It will be updated to v2.4 in Nextcloud 20 and v3.x in Nextcloud 21. In later versions of Nextcloud it might be removed completely. Please ship your own. globals.js:61:15
$ is deprecated: The global jQuery is deprecated. It will be updated to v2.4 in Nextcloud 20 and v3.x in Nextcloud 21. In later versions of Nextcloud it might be removed completely. Please ship your own. 17 globals.js:61:15
jQuery is deprecated: The global jQuery is deprecated. It will be updated to v2.4 in Nextcloud 20 and v3.x in Nextcloud 21. In later versions of Nextcloud it might be removed completely. Please ship your own. globals.js:61:15
$ is deprecated: The global jQuery is deprecated. It will be updated to v2.4 in Nextcloud 20 and v3.x in Nextcloud 21. In later versions of Nextcloud it might be removed completely. Please ship your own. 14 globals.js:61:15
jQuery is deprecated: The global jQuery is deprecated. It will be updated to v2.4 in Nextcloud 20 and v3.x in Nextcloud 21. In later versions of Nextcloud it might be removed completely. Please ship your own. 136 globals.js:61:15
$ is deprecated: The global jQuery is deprecated. It will be updated to v2.4 in Nextcloud 20 and v3.x in Nextcloud 21. In later versions of Nextcloud it might be removed completely. Please ship your own.
Lots of jQuery errors: ``` Loading failed for the script with source “https://domain/extra-apps/maps/js/filetypes.js?v=203cde6a”. files:67:1 Handlebars is deprecated: please ship your own, this will be removed in Nextcloud 20 globals.js:61:15 $ is deprecated: The global jQuery is deprecated. It will be updated to v2.4 in Nextcloud 20 and v3.x in Nextcloud 21. In later versions of Nextcloud it might be removed completely. Please ship your own. globals.js:61:15 jQuery is deprecated: The global jQuery is deprecated. It will be updated to v2.4 in Nextcloud 20 and v3.x in Nextcloud 21. In later versions of Nextcloud it might be removed completely. Please ship your own. 2 globals.js:61:15 Handlebars is deprecated: please ship your own, this will be removed in Nextcloud 20 globals.js:61:15 $ is deprecated: The global jQuery is deprecated. It will be updated to v2.4 in Nextcloud 20 and v3.x in Nextcloud 21. In later versions of Nextcloud it might be removed completely. Please ship your own. globals.js:61:15 Handlebars is deprecated: please ship your own, this will be removed in Nextcloud 20 globals.js:61:15 $ is deprecated: The global jQuery is deprecated. It will be updated to v2.4 in Nextcloud 20 and v3.x in Nextcloud 21. In later versions of Nextcloud it might be removed completely. Please ship your own. globals.js:61:15 jQuery is deprecated: The global jQuery is deprecated. It will be updated to v2.4 in Nextcloud 20 and v3.x in Nextcloud 21. In later versions of Nextcloud it might be removed completely. Please ship your own. globals.js:61:15 Handlebars is deprecated: please ship your own, this will be removed in Nextcloud 20 globals.js:61:15 $ is deprecated: The global jQuery is deprecated. It will be updated to v2.4 in Nextcloud 20 and v3.x in Nextcloud 21. In later versions of Nextcloud it might be removed completely. Please ship your own. globals.js:61:15 jQuery is deprecated: The global jQuery is deprecated. It will be updated to v2.4 in Nextcloud 20 and v3.x in Nextcloud 21. In later versions of Nextcloud it might be removed completely. Please ship your own. globals.js:61:15 $ is deprecated: The global jQuery is deprecated. It will be updated to v2.4 in Nextcloud 20 and v3.x in Nextcloud 21. In later versions of Nextcloud it might be removed completely. Please ship your own. globals.js:61:15 OCA.Files.Sidebar initialized Sidebar.js:37:10 Handlebars is deprecated: please ship your own, this will be removed in Nextcloud 20 globals.js:61:15 Loading failed for the script with source “https://domain/index.php/apps/side_menu/js/script?v=19”. files:127:1 OCA.Sharing.ShareSearch initialized ShareSearch.js:33:10 OCA.Sharing.ExternalLinkActions initialized ExternalLinkActions.js:33:10 jQuery is deprecated: The global jQuery is deprecated. It will be updated to v2.4 in Nextcloud 20 and v3.x in Nextcloud 21. In later versions of Nextcloud it might be removed completely. Please ship your own. globals.js:61:15 OCA.Viewer initialized Viewer.js:41:10 Handlebars is deprecated: please ship your own, this will be removed in Nextcloud 20 globals.js:61:15 $ is deprecated: The global jQuery is deprecated. It will be updated to v2.4 in Nextcloud 20 and v3.x in Nextcloud 21. In later versions of Nextcloud it might be removed completely. Please ship your own. 2 globals.js:61:15 OCA.Files.Settings initialized Settings.js:29:10 session heartbeat polling started session-heartbeat.js:97:9 $ is deprecated: The global jQuery is deprecated. It will be updated to v2.4 in Nextcloud 20 and v3.x in Nextcloud 21. In later versions of Nextcloud it might be removed completely. Please ship your own. 11 globals.js:61:15 New search handler registered search.js:67:12 $ is deprecated: The global jQuery is deprecated. It will be updated to v2.4 in Nextcloud 20 and v3.x in Nextcloud 21. In later versions of Nextcloud it might be removed completely. Please ship your own. 229 globals.js:61:15 Clipboard is deprecated: please ship your own, this will be removed in Nextcloud 20 globals.js:61:15 $ is deprecated: The global jQuery is deprecated. It will be updated to v2.4 in Nextcloud 20 and v3.x in Nextcloud 21. In later versions of Nextcloud it might be removed completely. Please ship your own. 21 globals.js:61:15 registerTabView is deprecated! It will be removed in nextcloud 20. merged-index.js:7572:12 Legacy tabs are deprecated! They will be removed in nextcloud 20. Tab.js:49:11 registerDetailView is deprecated! It will be removed in nextcloud 20. merged-index.js:7583:12 registerTabView is deprecated! It will be removed in nextcloud 20. merged-index.js:7572:12 Legacy tabs are deprecated! They will be removed in nextcloud 20. Tab.js:49:11 $ is deprecated: The global jQuery is deprecated. It will be updated to v2.4 in Nextcloud 20 and v3.x in Nextcloud 21. In later versions of Nextcloud it might be removed completely. Please ship your own. globals.js:61:15 registerTabView is deprecated! It will be removed in nextcloud 20. merged-index.js:7572:12 Legacy tabs are deprecated! They will be removed in nextcloud 20. Tab.js:49:11 $ is deprecated: The global jQuery is deprecated. It will be updated to v2.4 in Nextcloud 20 and v3.x in Nextcloud 21. In later versions of Nextcloud it might be removed completely. Please ship your own. globals.js:61:15 registerTabView is deprecated! It will be removed in nextcloud 20. merged-index.js:7572:12 Legacy tabs are deprecated! They will be removed in nextcloud 20. Tab.js:49:11 $ is deprecated: The global jQuery is deprecated. It will be updated to v2.4 in Nextcloud 20 and v3.x in Nextcloud 21. In later versions of Nextcloud it might be removed completely. Please ship your own. 296 globals.js:61:15 jQuery is deprecated: The global jQuery is deprecated. It will be updated to v2.4 in Nextcloud 20 and v3.x in Nextcloud 21. In later versions of Nextcloud it might be removed completely. Please ship your own. 2 globals.js:61:15 querying Whats New data was successful: nocontent whatsnew.js:42:9 undefined whatsnew.js:43:9 jQuery is deprecated: The global jQuery is deprecated. It will be updated to v2.4 in Nextcloud 20 and v3.x in Nextcloud 21. In later versions of Nextcloud it might be removed completely. Please ship your own. globals.js:61:15 $ is deprecated: The global jQuery is deprecated. It will be updated to v2.4 in Nextcloud 20 and v3.x in Nextcloud 21. In later versions of Nextcloud it might be removed completely. Please ship your own. 90 globals.js:61:15 jQuery is deprecated: The global jQuery is deprecated. It will be updated to v2.4 in Nextcloud 20 and v3.x in Nextcloud 21. In later versions of Nextcloud it might be removed completely. Please ship your own. globals.js:61:15 $ is deprecated: The global jQuery is deprecated. It will be updated to v2.4 in Nextcloud 20 and v3.x in Nextcloud 21. In later versions of Nextcloud it might be removed completely. Please ship your own. 17 globals.js:61:15 jQuery is deprecated: The global jQuery is deprecated. It will be updated to v2.4 in Nextcloud 20 and v3.x in Nextcloud 21. In later versions of Nextcloud it might be removed completely. Please ship your own. globals.js:61:15 $ is deprecated: The global jQuery is deprecated. It will be updated to v2.4 in Nextcloud 20 and v3.x in Nextcloud 21. In later versions of Nextcloud it might be removed completely. Please ship your own. 12 globals.js:61:15 jQuery is deprecated: The global jQuery is deprecated. It will be updated to v2.4 in Nextcloud 20 and v3.x in Nextcloud 21. In later versions of Nextcloud it might be removed completely. Please ship your own. globals.js:61:15 $ is deprecated: The global jQuery is deprecated. It will be updated to v2.4 in Nextcloud 20 and v3.x in Nextcloud 21. In later versions of Nextcloud it might be removed completely. Please ship your own. 22 globals.js:61:15 jQuery is deprecated: The global jQuery is deprecated. It will be updated to v2.4 in Nextcloud 20 and v3.x in Nextcloud 21. In later versions of Nextcloud it might be removed completely. Please ship your own. globals.js:61:15 $ is deprecated: The global jQuery is deprecated. It will be updated to v2.4 in Nextcloud 20 and v3.x in Nextcloud 21. In later versions of Nextcloud it might be removed completely. Please ship your own. 17 globals.js:61:15 jQuery is deprecated: The global jQuery is deprecated. It will be updated to v2.4 in Nextcloud 20 and v3.x in Nextcloud 21. In later versions of Nextcloud it might be removed completely. Please ship your own. globals.js:61:15 $ is deprecated: The global jQuery is deprecated. It will be updated to v2.4 in Nextcloud 20 and v3.x in Nextcloud 21. In later versions of Nextcloud it might be removed completely. Please ship your own. 17 globals.js:61:15 jQuery is deprecated: The global jQuery is deprecated. It will be updated to v2.4 in Nextcloud 20 and v3.x in Nextcloud 21. In later versions of Nextcloud it might be removed completely. Please ship your own. globals.js:61:15 $ is deprecated: The global jQuery is deprecated. It will be updated to v2.4 in Nextcloud 20 and v3.x in Nextcloud 21. In later versions of Nextcloud it might be removed completely. Please ship your own. 21 globals.js:61:15 jQuery is deprecated: The global jQuery is deprecated. It will be updated to v2.4 in Nextcloud 20 and v3.x in Nextcloud 21. In later versions of Nextcloud it might be removed completely. Please ship your own. globals.js:61:15 $ is deprecated: The global jQuery is deprecated. It will be updated to v2.4 in Nextcloud 20 and v3.x in Nextcloud 21. In later versions of Nextcloud it might be removed completely. Please ship your own. 12 globals.js:61:15 jQuery is deprecated: The global jQuery is deprecated. It will be updated to v2.4 in Nextcloud 20 and v3.x in Nextcloud 21. In later versions of Nextcloud it might be removed completely. Please ship your own. globals.js:61:15 $ is deprecated: The global jQuery is deprecated. It will be updated to v2.4 in Nextcloud 20 and v3.x in Nextcloud 21. In later versions of Nextcloud it might be removed completely. Please ship your own. 16 globals.js:61:15 jQuery is deprecated: The global jQuery is deprecated. It will be updated to v2.4 in Nextcloud 20 and v3.x in Nextcloud 21. In later versions of Nextcloud it might be removed completely. Please ship your own. globals.js:61:15 $ is deprecated: The global jQuery is deprecated. It will be updated to v2.4 in Nextcloud 20 and v3.x in Nextcloud 21. In later versions of Nextcloud it might be removed completely. Please ship your own. 17 globals.js:61:15 jQuery is deprecated: The global jQuery is deprecated. It will be updated to v2.4 in Nextcloud 20 and v3.x in Nextcloud 21. In later versions of Nextcloud it might be removed completely. Please ship your own. globals.js:61:15 $ is deprecated: The global jQuery is deprecated. It will be updated to v2.4 in Nextcloud 20 and v3.x in Nextcloud 21. In later versions of Nextcloud it might be removed completely. Please ship your own. 14 globals.js:61:15 jQuery is deprecated: The global jQuery is deprecated. It will be updated to v2.4 in Nextcloud 20 and v3.x in Nextcloud 21. In later versions of Nextcloud it might be removed completely. Please ship your own. 136 globals.js:61:15 $ is deprecated: The global jQuery is deprecated. It will be updated to v2.4 in Nextcloud 20 and v3.x in Nextcloud 21. In later versions of Nextcloud it might be removed completely. Please ship your own. ```
Owner
Loading failed for the script with source “https://domain/index.php/apps/side_menu/js/script?v=19”. files:127:1

What's the content of https://domain/index.php/apps/side_menu/js/script?v=19 please?

``` Loading failed for the script with source “https://domain/index.php/apps/side_menu/js/script?v=19”. files:127:1 ``` What's the content of https://domain/index.php/apps/side_menu/js/script?v=19 please?
Poster

You mean if I click on the files:127:1 bit? It points to this line:

	<link rel="stylesheet" href="/index.php/css/icons/icons-vars.css?v=1603473766"/><script defer src="/index.php/apps/accessibility/js/accessibility?v=0" nonce="SXpya0s0WlRsTk1Gc2NXTDI4aTQyeFlXZEg0SHZPVjFTMnp5U2JOVFZjUT06ZVVxSFU3VW04NnB6Z0wrZ29xVGRsVzU2RGlaZzdxeEFJaUM3TU5KbEE0WT0="></script><link href="/index.php/apps/side_menu/css/stylesheet?v=19" rel="stylesheet"></link><script defer src="/index.php/apps/side_menu/js/script?v=19" nonce="SXpya0s0WlRsTk1Gc2NXTDI4aTQyeFlXZEg0SHZPVjFTMnp5U2JOVFZjUT06ZVVxSFU3VW04NnB6Z0wrZ29xVGRsVzU2RGlaZzdxeEFJaUM3TU5KbEE0WT0="></script><meta id="app" class="nc-enable-screensharing-extension"/><meta id="app" class="nc-enable-screensharing-extension"/><meta id="app" class="nc-enable-screensharing-extension"/><meta id="app" class="nc-enable-screensharing-extension"/><meta id="app" class="nc-enable-screensharing-extension"/><meta id="app" class="nc-enable-screensharing-extension"/><meta id="app" class="nc-enable-screensharing-extension"/>	</head>
You mean if I click on the files:127:1 bit? It points to this line: <link rel="stylesheet" href="/index.php/css/icons/icons-vars.css?v=1603473766"/><script defer src="/index.php/apps/accessibility/js/accessibility?v=0" nonce="SXpya0s0WlRsTk1Gc2NXTDI4aTQyeFlXZEg0SHZPVjFTMnp5U2JOVFZjUT06ZVVxSFU3VW04NnB6Z0wrZ29xVGRsVzU2RGlaZzdxeEFJaUM3TU5KbEE0WT0="></script><link href="/index.php/apps/side_menu/css/stylesheet?v=19" rel="stylesheet"></link><script defer src="/index.php/apps/side_menu/js/script?v=19" nonce="SXpya0s0WlRsTk1Gc2NXTDI4aTQyeFlXZEg0SHZPVjFTMnp5U2JOVFZjUT06ZVVxSFU3VW04NnB6Z0wrZ29xVGRsVzU2RGlaZzdxeEFJaUM3TU5KbEE0WT0="></script><meta id="app" class="nc-enable-screensharing-extension"/><meta id="app" class="nc-enable-screensharing-extension"/><meta id="app" class="nc-enable-screensharing-extension"/><meta id="app" class="nc-enable-screensharing-extension"/><meta id="app" class="nc-enable-screensharing-extension"/><meta id="app" class="nc-enable-screensharing-extension"/><meta id="app" class="nc-enable-screensharing-extension"/> </head>
Owner

Nope. Open "https://domain/index.php/apps/side_menu/js/script?v=19" and copy/paste the content.

Nope. Open "https://domain/index.php/apps/side_menu/js/script?v=19" and copy/paste the content.
Poster

Ah right. Well this doesn't open anything, it just gives me NC's internal server error message:
image

Ah right. Well this doesn't open anything, it just gives me NC's internal server error message: ![image](/attachments/e0e4d124-ec8a-439f-9db5-cbb6b9d1d845)
235 KiB
Poster

Btw thank you for your time trying to solve this issue, incredibly appreciated!

Btw thank you for your time trying to solve this issue, incredibly appreciated!
Owner

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.

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.
Poster

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).

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).
Owner

You should have a file named nextcloud.log in the directory where your datas are stored.

You should have a file named `nextcloud.log` in the directory where your datas are stored.
Poster

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"}

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"}
Owner
Could not resolve OCA\SideMenu\Controller\JsController! Class OCA\Theming\ThemingDefaults does not exist

Okay, that's the problem…You do not seem to have the theming app enabled.
Can you enable the theming app please?

``` Could not resolve OCA\SideMenu\Controller\JsController! Class OCA\Theming\ThemingDefaults does not exist ``` Okay, that's the problem…You do not seem to have the theming app enabled. Can you enable the theming app please?
Poster

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.

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.
Owner

Custom menu uses Theming to retrieve the logo so you have to enable Theming :)

Custom menu uses Theming to retrieve the logo so you have to enable Theming :)
deblan referenced this issue from a commit 2 years ago
deblan closed this issue 2 years ago
Sign in to join this conversation.
No Milestone
No project
No Assignees
2 Participants
Notifications
Due Date

No due date set.

Dependencies

This issue currently doesn't have any dependencies.

Loading…
There is no content yet.