Customer media files
Some features depend on files stored on customer servers. These files are not included in the server dumps and must be downloaded manually. However, this is only necessary when working with certain file-related tasks, such as appendices logs.
This only applies if you encounter an error — the error message will indicate which file needs to be downloaded from the customer server.
Example error:
FileNotFoundError at /api/appendicesLogZipDownload/logs.pdf
[Errno 2] No such file or directory: '/opt/media/transportlogs/2024/09/12/19-58-26/log.pdf
You can download the file with scp.
It is important that the files are downloaded to the media folder located directly outside the customOffice directory.
Here assuming that the CustomOffice repo is located at ~/Documents/Git/customoffice/
Example command:
scp econ.customoffice.dk:/home/econ/media/transportlogs/2019/04/15/12-04-51/report.pdf ~/Documents/Git/media/
Or simply download the whole folder:
scp -r econ.customoffice.dk:/home/econ/media/ ~/Documents/Git/