Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Picker app doesn't work if nextcloud is installed on subfolder #745

Open
Thatoo opened this issue Nov 5, 2024 · 0 comments
Open

Picker app doesn't work if nextcloud is installed on subfolder #745

Thatoo opened this issue Nov 5, 2024 · 0 comments

Comments

@Thatoo
Copy link
Contributor

Thatoo commented Nov 5, 2024

Describe the bug

Picker app doesn't work if nextcloud is installed on subfolder. I reported my issue in here : nextcloud/picker#51

Context

  • Hardware: Old laptop or compute
  • YunoHost version: both last v11 version and last v12 version
  • I have access to my server: Through SSH | through the webadmin | direct access via keyboard / screen
  • Are you in a special context or did you perform some particular tweaking on your YunoHost instance?: no

Steps to reproduce

  • Install nextcloud in a subdirectory https://domain.tld/nextcloud
    
  • go to https://domain.tld/nextcloud/index.php/apps/picker/single-link
    
  • Get the following error in console :
    
Uncaught (in promise) ChunkLoadError: Loading chunk node_modules_nextcloud_dialogs_dist_chunks_index-CYiQsZoY_mjs failed.
(error: https://domain.tld/apps/picker/js/picker-node_modules_nextcloud_dialogs_dist_chunks_index-CYiQsZoY_mjs.js?v=c2373e41314815cfcd22)

It obviously can't work as the link doesn't include the subfolder, it should be instead https://domain.tld/nextcloud/apps/picker/js/picker-node_modules_nextcloud_dialogs_dist_chunks_index-CYiQsZoY_mjs.js?v=c2373e41314815cfcd22

Expected behavior

picker should load

Logs

Browser log in console :

Uncaught (in promise) ChunkLoadError: Loading chunk node_modules_nextcloud_dialogs_dist_chunks_index-CYiQsZoY_mjs failed.
(error: https://zyuno.local/apps/picker/js/picker-node_modules_nextcloud_dialogs_dist_chunks_index-CYiQsZoY_mjs.js?v=c2373e41314815cfcd22)
    j jsonp chunk loading:27
    e ensure chunk:6
    e ensure chunk:5
    pick index.mjs:69
    <anonymous> main.js:128
    EventListener.handleEvent* main.js:163
    <anonymous> main.js:173
    <anonymous> main.js:173
[jsonp chunk loading:27:17](webpack:///picker/webpack/runtime/jsonp%20chunk%20loading)
    pick index.mjs:69
    AsyncFunctionThrow self-hosted:804
    (Asynchrone : async)
    <anonyme> main.js:128
    (Asynchrone : EventListener.handleEvent)
    <anonyme> main.js:163
    <anonyme> main.js:173
    <anonyme> main.js:173
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant