fix 500 error when file extension could not be guessed
Should now be fixed on the 0x0.st instance as well.
fix 500 error when file extension could not be guessed
Oh, thanks! Think this one might have be a regression.
Unable to run mod.py
Your version of Python is too old to have pattern matching. Think you might need 3.10.
I am able to upload files but i cant download them with the link given in output
I believe in this case you’d have to set root /;
(since if you’re using an absolute upload path, the path 0x0 passes to nginx is also absolute).
I am able to upload files but i cant download them with the link given in output
That looks like you’ve configured 0x0 to use X-ACCEL-REDIRECT
but your webserver is not set up to handle it.
Having
werkzeug.expectation.BadRequestKeyError(key)
and sqlite3.OperationalError: no such table: file
errors
Make sure you configure the database path in config.py
—you may need to use an absolute path there. Once you’ve done that, you need to run FLASK_APP=fhost flask db upgrade
to get the…