• If you need help or want to discuss things, you now can also join us on our Discord Server!
  • A first preview of the unlimited version of SinusBot can be found in the Upcoming Changes thread. A version for Windows will follow, but we don't have a release date, yet.

Solved Problems with upload of mp3 files

Ukaros

Helping Hand
Hey there,
i'm currently having some problems while uploading mp3 files. For some reason it tells me instantly that it failed. While testing i figured out that songs that are < 1038kb are getting uploaded while songs that are >= 1038kb fail (I cant tell you where exactly they start to fail). Is there some new restriction that i dont know of?

I cant find the logs in the server structure (Webinterface logs dont even show the failed upload) so sadly i cant provide you with them.
The origin of the mp3 files are the casc-files of my World of Warcraft installation. They work perfectly fine in the Windows Media Center (or whatever its called nowadays).

I'll provide a sample of working ones and some that dindnt work in the following link: https://cloud.ateon.ch/s/GNzwngsjDFqyNnK

If you need any more informations i'll happely provide them to you.
Thanks to everyone that wants to help, even if you can't find the problem ♥


Edit: We are currently running Sinusbot version 0.14.3
 
Last edited:

Hilfe Plus

Helping Hand
Hy,

Go in your Sinusbot library and open "config.ini" search "UploadLimit = ..." when you don't find the file, then copy the code in your "config.ini": UploadLimit = 12000000

I hope it goes :)

Yours faithfully,
Tom
 

irgendwr

no longer active, "retired" staff member
is awesome!
V.I.P.
is uber awesome!
Contributor
Insider
open "config.ini" search "UploadLimit = ..."
That's correct. The limit is specified in bytes. So to be able to upload up to 250MiB, you need to set UploadLimit = 262144000 in your config.ini and restart the SinusBot.
Use a converter to get the right value:
2990
 

Ukaros

Helping Hand
That's correct. The limit is specified in bytes. So to be able to upload up to 250MiB, you need to set UploadLimit = 262144000 in your config.ini and restart the SinusBot.
Use a converter to get the right value:
View attachment 2990
sadly this did not fix the problem.
Code:
TS3Path = "/opt/sinusbot/teamspeak3-client/ts3client_linux_amd64"
ListenHost = "0.0.0.0"
DataDir = "/opt/sinusbot/data/"
ListenPort = 10080
LocalPlayback = false
EnableLocalFS = false
MaxBulkOperations = 300
LogLevel = 3
EnableProfiler = false
YoutubeDLPath = "/usr/local/bin/youtube-dl"
EnableDebugConsole = false
UploadLimit = 262144000
RunAsUser = 0
RunAsGroup = 0
InstanceActionLimit = 6
UseSSL = false
SSLKeyFile = ""
SSLCertFile = ""
Hostname = ""
HostnameMask = ""
SampleInterval = 60
StartVNC = false
EnableWebStream = false
LogFile = ""
LicenseKey = "*************************"
IsProxied = false
DenyStreamURLs = []
Pragma = 0
 

irgendwr

no longer active, "retired" staff member
is awesome!
V.I.P.
is uber awesome!
Contributor
Insider
sadly this did not fix the problem.
I'm unable to reproduce your issue, it works fine for me (even with the same files).
Try deleting the browser cache or using a different browser.

What Browser are you using? What plugins? What is shown in the browser console? (F12 in chrome)
Are you using a webserver as a reverse proxy infront of the SinusBot?

If you are still unable to upload then create a useraccount with upload and login permissions and give me access to double-check what's going on.
 

Ukaros

Helping Hand
I'm unable to reproduce your issue, it works fine for me (even with the same files).
Try deleting the browser cache or using a different browser.

What Browser are you using? What plugins? What is shown in the browser console? (F12 in chrome)
Are you using a webserver as a reverse proxy infront of the SinusBot?

If you are still unable to upload then create a useraccount with upload and login permissions and give me access to double-check what's going on.

Im using Firefox with uBlock, Enhancer for Youtube, IP Adress and Domain Information, Dashlane
Ive double checked with both Vivaldi (chromium) and Edge and both have the same problem.
Dont really know what i should be looking for in the console.

I'll send you login details in a minute
 

irgendwr

no longer active, "retired" staff member
is awesome!
V.I.P.
is uber awesome!
Contributor
Insider
Are you using a webserver as a reverse proxy infront of the SinusBot?
The answer to that seems to be: yes (nginx) and the webserver is the issue.
Did you follow our guide?
The webserver also limts upload sizes, for nginx this can be configured with client_max_body_size 200M;
This should already be set in the configuration that is included in the guide.
 

Ukaros

Helping Hand
The answer to that seems to be: yes (nginx) and the webserver is the issue.
Did you follow our guide?
The webserver also limts upload sizes, for nginx this can be configured with client_max_body_size 200M;
This should already be set in the configuration that is included in the guide.

Huh honestly i cant quite remember. ill need to look into this/my buddy who made this mace of servers 😅
I'll report back to you once we've tried.

Anyways until then, have a nice weekend and thanks for your help so far ♥
 

Ukaros

Helping Hand
The answer to that seems to be: yes (nginx) and the webserver is the issue.
Did you follow our guide?
The webserver also limts upload sizes, for nginx this can be configured with client_max_body_size 200M;
This should already be set in the configuration that is included in the guide.

Back I am
So it turns out that my friend really forgot one entry in the nginx config.
Thanks a lot for your help and have a nice weekend.

Cheers
 
Top