Hello!
I'm not sure if this isn't a user error or something like that, but I've tried setting up a hydrus server on my (Linux-based) NAS and so far it seems to run well (I can upload and download images from different machines), but I've run into the issue that it doesn't seem to be possible to upload mp4 videos.
Whenever I try to upload one, I get the following error (after a while, so it seems like it actually uploads it to the server and only afterwards shows the error):
ForbiddenException
Filetype is not permitted!
Traceback (most recent call last):
File "include\HydrusThreading.py", line 283, in run
callable( *args, **kwargs )
File "include\ClientGUI.py", line 3460, in _THREADUploadPending
service.Request( HC.POST, 'file', { 'file' : file } )
File "include\ClientServices.py", line 818, in Request
network_job.WaitUntilDone()
File "include\ClientNetworkingJobs.py", line 963, in WaitUntilDone
raise self._error_exception
ForbiddenException: Filetype is not permitted!
I'm using the latest server version from last week.
It doesn't seem to matter which Client I'm trying to upload from (I've tried on Windows 10 and Ubuntu) and the file also doesn't seem to make a difference – I've tried different mp4 videos, large (500mb+) and small (<5mb), same error every time. The videos itself also work fine in the client.
I'm trying to upload with my admin access key, so it shouldn't be a permission issue either.
Is this intentional? Doesn't the server support mp4 videos or videos in general? Or is it an error?
If videos aren't supported on the server, do you think that's something you could add easily? If that would require additional code for handling permissions, maybe just for admin accounts? I think I've read in the changelog that you unlocked something for admin users on the server recently, maybe this could be done in the same way?
Thank you!