middlebury / coursecatalog

This Course-Catalog is a project to develop a web front-end for searching and browsing course information stored in Banner.
https://github.com/middlebury/coursecatalog/wiki
GNU General Public License v3.0
9 stars 2 forks source link

Catalog export for 2024-2025 failing #59

Open imcbride opened 7 months ago

imcbride commented 7 months ago

https://support.gmhec.org/TDNext/Apps/49/Tickets/TicketDet.aspx?TicketID=145681

Running the export for 2024-2025 through https://catalog.middlebury.edu/admin/schedule is failing.

Screenshot 2024-03-08 at 2 53 55 PM

Clicking on the link to the export produces this error:

Screenshot 2024-03-08 at 2 54 44 PM

[08-Mar-2024 14:49:49 America/New_York] PHP Warning:  filesize(): stat failed for /var/www/archive-tmp/MCUG-2024-2025_snapshot-2024-03-08.html in /var/www/coursecatalog/application/controllers/helper/ExportJob.php on line 93
[08-Mar-2024 14:49:49 America/New_York] PHP Warning:  unlink(/var/www/archive-tmp/MCUG-2024-2025_snapshot-2024-03-08.html): No such file or directory in /var/www/coursecatalog/application/controllers/helper/ExportJob.php on line 95

The path /var/www/archive/MCUG/2024-2025/html is empty as is /var/www/archive-tmp/

adamfranco commented 2 months ago

It looks like this issue happened because a new configuration was created but the directory for it wasn't auto created when the UI "Run" button is pressed or wasn't created with the correct permissions.