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

Not previewing files #14

Open
haarp opened this issue Jul 18, 2020 · 5 comments
Open

Not previewing files #14

haarp opened this issue Jul 18, 2020 · 5 comments
Labels
bug Something isn't working good first issue Good for newcomers help wanted Extra attention is needed

Comments

@haarp
Copy link

haarp commented Jul 18, 2020

Hello,

this seems like a super useful app! I just installed and enabled 0.3.0 on a NC19.0.1 server. However, I'm not sure if I'm doing something wrong, or if it's plain not working.

I have a couple of .obj and .stl files which I want to preview. Clicking on them in the files app only offers me to download the file tho. Should I be getting a preview? If not, how do I open the preview?

Thanks a lot!

@haarp
Copy link
Author

haarp commented Jul 18, 2020

Ah, just after creating this issue I managed to make it work. Disabling and re-enabling the app worked. Maybe there's a bug preventing some sort of initialization the first time around?

@v1r0x v1r0x added bug Something isn't working help wanted Extra attention is needed labels Jul 30, 2020
@haarp haarp mentioned this issue Sep 2, 2020
@flixr
Copy link

flixr commented Oct 30, 2020

I'm seeing something similar (with 0.3.3).
Could it bee that the file cache is somehow not updated?
Because the preview works for files that I already had in NextCloud before updating to 0.3.3, but it doesn't preview files I just added. Not even the same file that is working, just newly uploaded under a new name.
It directly opens the download dialog.

@MaggiWuerze
Copy link

same here, toggling the app helped

@v1r0x
Copy link
Owner

v1r0x commented Jun 1, 2021

The problem is that the file extension -> mimetype connection is made in a migration step. This is only triggered when the app is enabled/activated.
If someone has a nicer way to re-run that migration (or do it in another way) I more than happy to include it 😃

@v1r0x v1r0x added the good first issue Good for newcomers label Mar 10, 2022
@v1r0x v1r0x pinned this issue Mar 10, 2022
@bobbolous
Copy link

Same here on a NC24.0.3 with files 3d 0.5.0
When I click on any .STL i simply donwload the file. No preview option offered. Deacticating and reactivating does not solve the issue.
I also tried reinstalling from within NC webinterface. But without any luck. In the logging app I get no message related to the issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working good first issue Good for newcomers help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

5 participants