Trouble Uploading with Docker Install

I know it’s not fully “supported” yet, but I was trying out the Docker install, and I got the system up, but couldn’t get files to upload over the web. Unfortunately, I don’t have very much in the way of logs since I’m not sure where to look for upload specific failures. Here’s the message I get (just the standard one, nothing seemingly special)
image

I’d be more than happy to dig around in the containers or system to get some more specific information. Just tell me where I should look and I’ll hop to it!

Hmm, do the files ever get picked up by the Libretime Celery worker ? If this occurs immediately then it is probably an issue with the file system or your php setup. I’d check your zendphp.log in /var/log/airtime and see if you find any errors in there. I guess the question is does it start uploading or does it fail immediately ?

Hi @robbt!!! Thanks for responding so quickly!

The upload does start and shows a status bar moving across nicely, but when the progress bar completes, it then pops up the error.
image

I’ve “attached” what appears to be the most recent exception in the log here. As another note, this file seems MASSIVE, does it clear itself after so long?

2020-11-26T18:15:59+00:00 INFO (6): localhost Checking autoplaylist poll
2020-11-26T18:15:59+00:00 INFO (6): localhost Checking to run Auto Playlist
2020-11-26T18:16:35+00:00 INFO (6): localhost Checking autoplaylist poll
2020-11-26T18:17:05+00:00 INFO (6): localhost Checking autoplaylist poll
2020-11-26T18:17:05+00:00 INFO (6): localhost Checking to run Auto Playlist
2020-11-26T18:17:35+00:00 INFO (6): localhost Checking autoplaylist poll
2020-11-26T18:17:43+00:00 ERR (3): 192.168.254.30 [MediaController.php:160 - postAction()] - mkdir(): Permission denied
#0 [internal function]: exception_error_handler(2, 'mkdir(): Permis...', '/usr/share/airt...', 938, Array)
#1 /usr/share/airtime/php/airtime_mvc/application/models/StoredFile.php(938): mkdir('/external-media...', 511)
#2 /usr/share/airtime/php/airtime_mvc/application/services/MediaService.php(37): Application_Model_StoredFile::moveFileToStor('/tmp/phpWFSkGa', '01 Satellite.wm...', false)
#3 /usr/share/airtime/php/airtime_mvc/application/models/airtime/CcFiles.php(160): Application_Service_MediaService::importFileToLibrary('http://localhos...', '/tmp/phpWFSkGa', '01 Satellite.wm...', 1, false)
#4 /usr/share/airtime/php/airtime_mvc/application/models/airtime/CcFiles.php(99): CcFiles::createAndImport(Array, '/tmp/phpWFSkGa', '01 Satellite.wm...')
#5 /usr/share/airtime/php/airtime_mvc/application/modules/rest/controllers/MediaController.php(144): CcFiles::createFromUpload(Array)
#6 /usr/share/airtime/php/vendor/zendframework/zendframework1/library/Zend/Controller/Action.php(516): Rest_MediaController->postAction()
#7 /usr/share/airtime/php/vendor/zendframework/zendframework1/library/Zend/Controller/Dispatcher/Standard.php(308): Zend_Controller_Action->dispatch('postAction')
#8 /usr/share/airtime/php/vendor/zendframework/zendframework1/library/Zend/Controller/Front.php(954): Zend_Controller_Dispatcher_Standard->dispatch(Object(Zend_Controller_Request_Http), Object(Zend_Controller_Response_Http))
#9 /usr/share/airtime/php/vendor/zendframework/zendframework1/library/Zend/Application/Bootstrap/Bootstrap.php(105): Zend_Controller_Front->dispatch()
#10 /usr/share/airtime/php/vendor/zendframework/zendframework1/library/Zend/Application.php(384): Zend_Application_Bootstrap_Bootstrap->run()
#11 /usr/share/airtime/php/airtime_mvc/application/airtime-boot.php(84): Zend_Application->run()
#12 /usr/share/airtime/php/airtime_mvc/public/index.php(68): require_once('/usr/share/airt...')
#13 {main}
2020-11-26T18:17:54+00:00 ERR (3): 192.168.254.30 [MediaController.php:160 - postAction()] - mkdir(): Permission denied
#0 [internal function]: exception_error_handler(2, 'mkdir(): Permis...', '/usr/share/airt...', 938, Array)
#1 /usr/share/airtime/php/airtime_mvc/application/models/StoredFile.php(938): mkdir('/external-media...', 511)
#2 /usr/share/airtime/php/airtime_mvc/application/services/MediaService.php(37): Application_Model_StoredFile::moveFileToStor('/tmp/phpAwGnCz', '05 So Long Sold...', false)
#3 /usr/share/airtime/php/airtime_mvc/application/models/airtime/CcFiles.php(160): Application_Service_MediaService::importFileToLibrary('http://localhos...', '/tmp/phpAwGnCz', '05 So Long Sold...', 1, false)
#4 /usr/share/airtime/php/airtime_mvc/application/models/airtime/CcFiles.php(99): CcFiles::createAndImport(Array, '/tmp/phpAwGnCz', '05 So Long Sold...')
#5 /usr/share/airtime/php/airtime_mvc/application/modules/rest/controllers/MediaController.php(144): CcFiles::createFromUpload(Array)
#6 /usr/share/airtime/php/vendor/zendframework/zendframework1/library/Zend/Controller/Action.php(516): Rest_MediaController->postAction()
#7 /usr/share/airtime/php/vendor/zendframework/zendframework1/library/Zend/Controller/Dispatcher/Standard.php(308): Zend_Controller_Action->dispatch('postAction')
#8 /usr/share/airtime/php/vendor/zendframework/zendframework1/library/Zend/Controller/Front.php(954): Zend_Controller_Dispatcher_Standard->dispatch(Object(Zend_Controller_Request_Http), Object(Zend_Controller_Response_Http))
#9 /usr/share/airtime/php/vendor/zendframework/zendframework1/library/Zend/Application/Bootstrap/Bootstrap.php(105): Zend_Controller_Front->dispatch()
#10 /usr/share/airtime/php/vendor/zendframework/zendframework1/library/Zend/Application.php(384): Zend_Application_Bootstrap_Bootstrap->run()
#11 /usr/share/airtime/php/airtime_mvc/application/airtime-boot.php(84): Zend_Application->run()
#12 /usr/share/airtime/php/airtime_mvc/public/index.php(68): require_once('/usr/share/airt...')
#13 {main}
2020-11-26T18:18:05+00:00 INFO (6): localhost Checking autoplaylist poll
2020-11-26T18:18:05+00:00 INFO (6): localhost Checking to run Auto Playlist
2020-11-26T18:18:41+00:00 INFO (6): localhost Checking autoplaylist poll
2020-11-26T18:19:11+00:00 INFO (6): localhost Checking autoplaylist poll
2020-11-26T18:19:11+00:00 INFO (6): localhost Checking to run Auto Playlist
2020-11-26T18:19:41+00:00 INFO (6): localhost Checking autoplaylist poll
2020-11-26T18:20:12+00:00 INFO (6): localhost Checking autoplaylist poll
2020-11-26T18:20:12+00:00 INFO (6): localhost Checking to run Auto Playlist
2020-11-26T18:20:47+00:00 INFO (6): localhost Checking autoplaylist poll
2020-11-26T18:21:17+00:00 INFO (6): localhost Checking autoplaylist poll
2020-11-26T18:21:17+00:00 INFO (6): localhost Checking to run Auto Playlist
2020-11-26T18:21:47+00:00 INFO (6): localhost Checking autoplaylist poll
2020-11-26T18:22:22+00:00 INFO (6): localhost Checking autoplaylist poll
2020-11-26T18:22:22+00:00 INFO (6): localhost Checking to run Auto Playlist

Edit:
I think I should add that I have the full log file, and I’d be happy to share it… It’s just absolutely massive, so web-hosting the file might be easier than trying to throw it all into a response.

Thanks again!

It looks like a permission issue. Not sure what is causing it. But maybe check the permissions of /srv/store/airtime and or however the volumes are setup. Sorry I’m not an expert on the docker setup as I have only tested it a few times.

Sorry I kinda just fell of the face of the Earth there… Still need to test this, but I haven’t had a chance, and I’ve been running like a chicken with my head cut off at work. I want to take another look, but haven’t gotten there yet!

Thank you again!!!