Flask app working locally but not saving files when deployed

Question:

I have a flask app that works locally and saves files in a folder. When I put deploy it I get no errors but the files don’t save to the folder. In fact the log states the files are being saved. What could be the issue?

The thing about deployments is that they don’t have persistent file systems. Staff have said in the past that they are working on a solution but we don’t know when this will be out.

3 Likes

Thanks for that - wasn’t obvious to me that file systems weren’t persistent. Trying to pass the files into mongo db now but having trouble connecting to that too from replit.

If you need help with that, you can make a new topic. Be sure to include details such as the link to your Repl.

1 Like

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.