Centova Technologies Forum
Centova Cast v3 => Bugs and issues => Topic started by: Smithy on September 18, 2012, 12:43:10 pm
-
Any idea why small file uploads but not bigger files? See attachment.
http://s8.postimage.org/azz2xwdoj/uploadbigfileerror.png
-
check max_upload_filesize in php.ini
-
check max_upload_filesize in php.ini
max_upload_filesize didn't seem to be causing the issue. I converted an .mp3 file from 320kbps to 192kbps using Audacity program... when trying to upload the new converted audio file the upload would fail.
I guess you either need to make sure correct sound settings are used for mp3 or just ftp/wget it and then update media library.
I couldn't even find a php.ini on the vps where CentovaCast is installed...
I checked /etc/php.ini and /usr/local/lib/php.ini but nothing.
-
try editing the file /usr/local/centovacast/etc/centovacast.conf
and modify UPLOAD_SIZE_LIMIT to a value high enough to fit your largest MP3 file
-
try editing the file /usr/local/centovacast/etc/centovacast.conf
and modify UPLOAD_SIZE_LIMIT to a value high enough to fit your largest MP3 file
So that's where it was hiding :)
Changed it from
UPLOAD_SIZE_LIMIT=104857600 / 100MB
to
UPLOAD_SIZE_LIMIT=524288000 / 500MB
Thanks!
-
PS changing the above caused issue with stream going down/autodj not starting/being listed on shoutcast directory.
I ran:
/usr/local/centovacast/bin/ccmanage check all
to see if it'd correct the problem but it didn't.
So I tried rebooting the vps which fixed the problems. But after rebooting the vps I also had to manually start up the mysqld service again.
#1 what was the correct way to fix problems above after modifying:
/usr/local/centovacast/etc/centovacast.conf
#2 shouldn't mysqld start up on its own after the server has booted back up?
-
Any idea why small file uploads but not bigger files? See attachment.
Alexiu's answer is the correct one.
PS changing the above caused issue with stream going down/autodj not starting/being listed on shoutcast directory.
Simply changing the UPLOAD_SIZE_LIMIT as you described above could not have any such effect.
#1 what was the correct way to fix problems above after modifying:
/usr/local/centovacast/etc/centovacast.conf
I can't answer this as editing that file won't have any impact on your streams. centovacast.conf only configures the Centova Cast web interface. Even if you were to completely and totally destroy that file, your streams would continue running uninterrupted.
#2 shouldn't mysqld start up on its own after the server has booted back up?
If you've installed it correctly, sure. :) Nothing to do with CC so I can't assist with that, but check your init scripts.