Hi,
Have a problem starting sinusbot after adding an SSL certificate for it. I always get this error:
The Bot was starting before adding the SSL certificate just fine. I only edited the SSL Details in config and changed the Port to 443, while allowing sinusbot binary to listen to lower-level ports.
I rechecked the dependencies
Any expert here? My search unfortunately found no threads with a solution, besides checking the dependencies.
Part of my Config (Hostname is set to the correct value for the certificate, just changed it here due to privacy. Same for LicenseKey):
Have a problem starting sinusbot after adding an SSL certificate for it. I always get this error:
Code:
* sinusbot.service - Sinusbot, the Teamspeak 3 and Discord music bot.
Loaded: loaded (/lib/systemd/system/sinusbot.service; enabled; vendor preset: enabled)
Active: failed (Result: exit-code) since Sun 2020-11-01 12:42:22 CET; 1min 2s ago
Process: 103 ExecStartPre=/bin/rm -f /tmp/.sinusbot.lock (code=exited, status=0/SUCCESS)
Process: 125 ExecStart=/opt/sinusbot/sinusbot (code=exited, status=127)
Process: 132 ExecStopPost=/bin/rm -f /tmp/.sinusbot.lock (code=exited, status=0/SUCCESS)
Main PID: 125 (code=exited, status=127)
Nov 01 12:42:22 TS-MC01 systemd[1]: Starting Sinusbot, the Teamspeak 3 and Discord music bot....
Nov 01 12:42:22 TS-MC01 systemd[1]: Started Sinusbot, the Teamspeak 3 and Discord music bot..
Nov 01 12:42:22 TS-MC01 sinusbot[125]: /opt/sinusbot/sinusbot: error while loading shared libraries: libswresample.so.2: cannot open shared object file: No such file or directory
Nov 01 12:42:22 TS-MC01 systemd[1]: sinusbot.service: Main process exited, code=exited, status=127/n/a
Nov 01 12:42:22 TS-MC01 systemd[1]: sinusbot.service: Failed with result 'exit-code'.
The Bot was starting before adding the SSL certificate just fine. I only edited the SSL Details in config and changed the Port to 443, while allowing sinusbot binary to listen to lower-level ports.
I rechecked the dependencies
x11vnc xvfb libxcursor1 ca-certificates curl bzip2 libnss3 libegl1-mesa x11-xkb-utils libasound2 libpci3 libxslt1.1 libxkbcommon0 libxss1 libxcomposite1 libglib2.0-0
, but everything is installed. And even after reinstalling the packages and rebooting, it won't start.Any expert here? My search unfortunately found no threads with a solution, besides checking the dependencies.
Part of my Config (Hostname is set to the correct value for the certificate, just changed it here due to privacy. Same for LicenseKey):
Code:
TS3Path = "/opt/sinusbot/TeamSpeak3-Client-linux_amd64/ts3client_linux_amd64"
ListenHost = "0.0.0.0"
DataDir = "/opt/sinusbot/data/"
ListenPort = 443
LocalPlayback = false
EnableLocalFS = false
MaxBulkOperations = 300
LogLevel = 3
EnableProfiler = false
YoutubeDLPath = ""
EnableDebugConsole = false
EnableInternalCommands = false
AllowStreamPush = false
UploadLimit = 83886080
RunAsUser = 0
RunAsGroup = 0
ExternalFileBase = ""
InstanceActionLimit = 6
UseSSL = true
SSLKeyFile = "/opt/sinusbot/ssl/privkey.pem"
SSLCertFile = "/opt/sinusbot/ssl/fullchain.pem"
Hostname = "subdomain.domain.de"
HostnameMask = ""
SampleInterval = 60
StartVNC = false
EnableWebStream = false
LogFile = ""
LicenseKey = "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"
IsProxied = false
DenyStreamURLs = []
Pragma = 0
UserAgent = ""
[YoutubeDL]
BufferSize = 524288
MaxDownloadSize = 419430400
MaxDownloadRate = 104857600
MaxSimultaneousChunkDownloads = 6
CacheStreamed = false
TimeoutSingleDownloader = 0
TimeoutMultiDownloader = 0
ChunkSize = 3145728
[TS3]
AvatarMaxWidth = 0
AvatarMaxHeight = 0
AllowGIF = false
[StreamRewrites]
[Scripts]
Debug = false
AllowReload = false
EnableTimer = false
DisableLegacyEvents = false
DevMode = false
ScriptTimeout = 5
Last edited: