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

Docker Compose's AIO NC downloads file instead of opening #182

Closed
AverageDood opened this issue Sep 21, 2024 · 5 comments
Closed

Docker Compose's AIO NC downloads file instead of opening #182

AverageDood opened this issue Sep 21, 2024 · 5 comments
Labels
bug Something isn't working needs info

Comments

@AverageDood
Copy link

AverageDood commented Sep 21, 2024

I'm using NC through a Docker Compose file, as well as Whiteboard, both of them behind Nginx Proxy Manager entries, with HTTPS and functioning properly. The configuration's all good, the connection is green, both servers are reachable and can see each other, yada yada. But when I create a file on NC and I try to open it, it instead just downloads.

I've opened a bash on the nextcloud container to check the mimetype thing the readme talks about when this happens, but the "mimetypealiases.json" file doesn't exist, neither does the "mimetypemapping.js". "mimetypemapping.dist.js" does exist, although no metions or entries about "whiteboard" or "wbr" are there, and even if they were, I read on NC's docs that the dist files are not for us to touch.

So what do I pull to fix this?

@juliusknorr
Copy link
Member

Which Nextcloud version are you using? Can you verify that the shipped file in resources/config/mimetypealiases.dist.json has the following entry?

	"application/vnd.excalidraw+json": "whiteboard",

@juliusknorr juliusknorr added bug Something isn't working needs info labels Oct 8, 2024
@AverageDood
Copy link
Author

Sorry for the delay, it's been a busy time.

Nextcloud version is 29.0.4, Hub 8, and the entry does not exist in the mimetypealiases file. Not a trace of whiteboard or excalidraw anywhere

@juliusknorr
Copy link
Member

Your Nextcloud version is quite old, make sure to update at least to the latest patch release, the mimetype support for whiteboard was only added with v29.0.5 but we are currently at 29.0.8 with nextcloud/server#46711

@AverageDood
Copy link
Author

That explains things. Gonna docker pull and test the whole thing again. Will report outcome

@AverageDood
Copy link
Author

AverageDood commented Oct 17, 2024

Bad news: trying to regain access to the AIO interface, I broke my Nextcloud. No biggie, nothing important was lost, got access to the data folder and saved everything.

Good news: I installed Whiteboard from the AIO interface when reinstalling Nextcloud and can confirm it just works. I only need to re-make 2 accounts and re-upload my stuff, the other guy had nothing uploaded so, as said: nothing was lost

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working needs info
Projects
None yet
Development

No branches or pull requests

2 participants