files_3d
files_3d copied to clipboard
Not previewing files
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!
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?
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.
same here, toggling the app helped
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 :smiley:
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.