Hello, We are currently facing the problem that when we try to access a file in the media directory we get an error
ringo
PROOP
2 years ago
When we try to access the file: doc = Document(settings.MEDIAROOT +'/contract/LeaseVertragFinal.docx') We get this error: Package not found at '/app/media/contract/LeaseVertrag_Final.docx'
On one of our testing server the exact same code works without an error. Any solutions on how to fix it? In our github repository it also shows that the directory exists with the file in it.
2 Replies
ringo
PROOP
2 years ago
In the attached image you can see a screenshot that the directory exists which is weird.
Attachments