Hello everyone,
After some time of experimenting and getting to know airtime, we have now reached the point when we are moving to a new dedicated server with more storage and better bandwidth capabilities!
In order to do this, I have setup in the new server airtime from scratch and restored the backed up postgres database with Icecast and of course all the dependencies.
Although all data seem to be ok, when I try to edit the stream settings (to compensate for the new domain that the new server is using) I am getting a database error:
Unable to execute UPDATE statement [UPDATE cc_stream_setting SET
VALUE=:p1 WHERE cc_stream_setting.KEYNAME=:p2] [wrapped:
SQLSTATE[23502]: Not null violation: 7 ERROR: null value in column
"value" violates not-null constraint]
Any suggestions?
Best wishes and happy new year!
After some time of experimenting and getting to know airtime, we have now reached the point when we are moving to a new dedicated server with more storage and better bandwidth capabilities!
In order to do this, I have setup in the new server airtime from scratch and restored the backed up postgres database with Icecast and of course all the dependencies.
Although all data seem to be ok, when I try to edit the stream settings (to compensate for the new domain that the new server is using) I am getting a database error:
Unable to execute UPDATE statement [UPDATE cc_stream_setting SET
VALUE=:p1 WHERE cc_stream_setting.KEYNAME=:p2] [wrapped:
SQLSTATE[23502]: Not null violation: 7 ERROR: null value in column
"value" violates not-null constraint]
#0 /usr/share/airtime/application/models/airtime/om/BaseCcStreamSettingPeer.php(557): BasePeer::doUpdate(Object(Criteria), Object(Criteria), Object(PropelPDO))
#1 /usr/share/airtime/application/models/airtime/om/BaseCcStreamSetting.php(373): BaseCcStreamSettingPeer::doUpdate(Object(CcStreamSetting), Object(PropelPDO))
#2 /usr/share/airtime/application/models/airtime/om/BaseCcStreamSetting.php(328): BaseCcStreamSetting->doSave(Object(PropelPDO))
#3 /usr/share/airtime/application/models/StreamSetting.php(188): BaseCcStreamSetting->save()
#4 /usr/share/airtime/application/models/StreamSetting.php(206): Application_Model_StreamSetting::saveStreamSetting('output_sound_de...', NULL)
#5 /usr/share/airtime/application/controllers/PreferenceController.php(209): Application_Model_StreamSetting::setStreamSetting(Array)
#6 /usr/share/php/libzend-framework-php/Zend/Controller/Action.php(516): PreferenceController->streamSettingAction()
#7 /usr/share/php/libzend-framework-php/Zend/Controller/Dispatcher/Standard.php(295): Zend_Controller_Action->dispatch('streamSettingAc...')
#8 /usr/share/php/libzend-framework-php/Zend/Controller/Front.php(954): Zend_Controller_Dispatcher_Standard->dispatch(Object(Zend_Controller_Request_Http), Object(Zend_Controller_Response_Http))
#9 /usr/share/php/libzend-framework-php/Zend/Application/Bootstrap/Bootstrap.php(97): Zend_Controller_Front->dispatch()
#10 /usr/share/php/libzend-framework-php/Zend/Application.php(366): Zend_Application_Bootstrap_Bootstrap->run()
#11 /usr/share/airtime/public/index.php(64): Zend_Application->run()
#12 {main}
I have checked the database in the server and verified that the values have been altered correctly, yet airtime is unable to connect to icecast at this early stage!Any suggestions?
Best wishes and happy new year!