Closed anomaly256 closed 1 year ago
Fyi the app store is now telling me: Error: This app cannot be enabled because it makes the server unstable
custom_apps
in the path. Do you mind sharing your value for key apps_path
as set in config/config.php
file? Ref: Using custom app directoriesapps
as it is place it should be installed in standard NC installations.custom_apps
-> the script is not there -> NC does rewrite to HTML as it does with non existing resources -> browser sees that instead of js it receives text/html
and thing dies.files_3dmodelviewer
directory actually exist in filesystem path for /custom_apps
URL? Or filesystem path for /apps
URL ? Taking example config below that would be /path/to/custom/apps/wherever/it/is
or /path/to/nextcloud/root/apps
respectively. 'apps_paths' =>
array (
0 =>
array (
'path' => '/path/to/nextcloud/root/apps',
'url' => '/apps',
'writable' => false,
),
1 =>
array (
'path' => '/path/to/custom/apps/wherever/it/is',
'url' => '/custom_apps',
'writable' => true,
),
),
1) via the app store on an existing, upgraded install
2-5) I'm reinstalling a clean instance as I found other issues with this one that had been upgraded and upgraded over many years. I'll let you know if the problem exists in that new environment or close this issue if not
Ok. I'd suggest to not use custom apps_paths
config, unless there is some specific reason you have to (and if so, then at this moment you would need to clone the repo and make changes to all generateUrl
calls in src/js
). As said before, this app assumes install in default NC app location that has URL /apps
. Meanwhile I have opened a question, so that custom paths might also be supported https://github.com/nextcloud/nextcloud-router/issues/450
I honestly don't think I ever changed apps_path and I can't explain why it would have ended up there.
I've just now hit a nice landmine in nextcloud's official docker images though while trying to start with a fresh install
It's now a much fresher install than anticipated. I'll test your app again once the rsyncing of 15 years of family photos and movies from a slow NAS completes
Working on the fresh install 👍, well it's loading the app anyway - closing this issue.
Meanwhile support was for custom app install location was added and pushed new 0.0.6 release, thus statements made in https://github.com/WARP-LAB/files_3dmodelviewer/issues/2#issuecomment-1443481808 are now untrue.
Describe the bug
Preview doesn't open, Nextcloud just downloads the file when clicked
To Reproduce
Steps to reproduce the behavior:
Expected behavior
The 3d viewer preview screen to display
Desktop (please complete the following information)
Browser log