Unable to upload files #57
Labels
No labels
bug
duplicate
enhancement
help wanted
invalid
question
wontfix
No milestone
No project
No assignees
2 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: mia/0x0#57
Loading…
Add table
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
I've set up everything seemingly correctly. The home page works when looking at it from a browser. Sadly there are a couple errors that are happening.
I'm running the server with
Running it with flask will return the following error but the home page still shows up. Running it using ./fhost.py runserver or any command envolving fhost.py will only return the following error.
Uploading files when the server is run through flask run will return the error that was mentioned in another issue.
The solution to that, running the db upgrade. Doesn't work because as mentioned, any command run using fhost doesn't work.
I'm on CENTOS 8 and yes I installed the python-sqlalchemy package through my package manager before installing through pip.
You need to configure a database URI in
instance/config.py
, like so: