• 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.

Problem with starting bot

Status
Not open for further replies.

pajche

Active Member
___ ___ _ _ _ _ ___ ___ ___ _____ BETA
/ __|_ _| \| | | | / __| _ )/ _ \_ _|
\__ \| || .` | |_| \__ \ _ \ (_) || |
|___/___|_|\_|\___/|___/___/\___/ |_|

Version: 0.9.15-b20cc30
(C) 2013-2016 Michael Friese. All rights reserved.

2016/12/02 03:19:48 [GENERAL/SCRIPTS] INFO Loading ScriptPlugin advertising.js
2016/12/02 03:19:48 [GENERAL/SCRIPTS] INFO Loading ScriptPlugin aloneMode.js
2016/12/02 03:19:48 [GENERAL/SCRIPTS] INFO Loading ScriptPlugin animatedNick.js
2016/12/02 03:19:48 [GENERAL/SCRIPTS] INFO Loading ScriptPlugin badchan.js
2016/12/02 03:19:48 [GENERAL/SCRIPTS] INFO Loading ScriptPlugin bookmark.js
2016/12/02 03:19:48 [GENERAL/SCRIPTS] INFO Loading ScriptPlugin covatar.js
2016/12/02 03:19:48 [GENERAL/SCRIPTS] INFO Loading ScriptPlugin dev.js
2016/12/02 03:19:48 [GENERAL/SCRIPTS] INFO Loading ScriptPlugin followme.js
2016/12/02 03:19:48 [GENERAL/SCRIPTS] INFO Loading ScriptPlugin idle.js
2016/12/02 03:19:48 [GENERAL/SCRIPTS] INFO Loading ScriptPlugin metadata.js
2016/12/02 03:19:48 [GENERAL/SCRIPTS] INFO Loading ScriptPlugin norecording.js
2016/12/02 03:19:48 [GENERAL/SCRIPTS] INFO Loading ScriptPlugin rememberChannel.js
2016/12/02 03:19:48 [GENERAL/SCRIPTS] INFO Loading ScriptPlugin showcase.js
2016/12/02 03:19:48 [GENERAL/SCRIPTS] INFO Loading ScriptPlugin sound.js
2016/12/02 03:19:48 [GENERAL/SCRIPTS] INFO Loading ScriptPlugin welcometext.js
2016/12/02 03:19:48 X [MAIN] Starting up fake x-server...
2016/12/02 03:19:53 Error on database operations: database is locked
2016/12/02 03:19:53 This usually happens, if the bot user does not own the database files (e.g. when you first ran the bot as user root but now moved to another user). To fix this, please make sure that the bot user owns the entire data directory.


____________________________________________

I'm getting this error when i start bot. Yesterday i installed a bot all worked perfect. and today i saw that my panel where i login in to bot is slowly loading, i stoped the bot from there and tried to start it again and all stoped there. I tried to update sinusbot, and also i set the start/stop/restart script. but when i start script like from /opt/ts3soundboard with ./sinusbot it shows this error above.

Can anyone help me with this?

Many thanks!
 

Roflmate

Member
2016/12/02 03:19:53 This usually happens, if the bot user does not own the database files (e.g. when you first ran the bot as user root but now moved to another user). To fix this, please make sure that the bot user owns the entire data directory.

Pretty obvious:

chown -R yourusername:yourusername /dir/to/bot
 

pajche

Active Member
Pretty obvious:

chown -R yourusername:yourusername /dir/to/bot
I done that. But its not working

I deleted all files and downloaded again and set up like first time.
Now i get this >

milos@ubuntu:/opt/ts3soundboard$ ./sinusbot
Error on startup. Sorry, this may be unrecoverable.
2016/12/02 14:52:59 {"e":"database is locked","s":[{"l":106,"f":"b\ufffdؼ6\ufffd \ufffd\ufffdit\ufffd\ufffd\ufffd\ufffd#G\ufffd鞭\ufffd\ufffd\ufffd\ufffd\u001dG3 ;$\ufffd\ufffdIbd\ufffd\ufffd*`\ufffd\ufffdiJ\u0019","n":"\ufffd\ufffd\ufffd\uff fd_д=\ufffd\ufffd\u0013\ufffd+\ufffd\ufffdM1}\ufffd\ufffd\ufffd0[\ufffdqB\u001bp w*\ufffdf"},{"l":368,"f":"\ufffd\ufffd\u001a7i\ufffdWS\ufffd\ufffdBV9\ufffd |\uf ffdO\u0002.\ufffdoˎ\ufffdON\ufffd\ufffd\ufffd\ufffd\nջ","n":"main.func·014"},{"l ":401,"f":"/usr/local/go/src/runtime/asm_amd64.s","n":"\u0014\ufffd\u003c\ufffd= a!1\ufffd\ufffd\ufffd["},{"l":387,"f":"/usr/local/go/src/runtime/panic.go","n":" \ufffd0vL~\ufffd\ufffdf\ufffd(\ufffddDc#"},{"l":669,"f":"|Fe7\ufffd\ufffd\ufffd\ ufffd\ufffd\ufffd\ufffd=B\u0004\u001d\ufffde\ufffd\ufffd\ufffd\u0017\u000bm}\uff fd\ufffd\ufffd$mka\ufffd\ufffdp|_\u001c%;\ufffd؄-","n":"\u0016I\ufffd\ufffd\u001 8\ufffd\ufffdBl\ufffd\ufffdS$| \ufffdM\ufffdlerH\ufffd\u0010\ufffdi2a\ufffdY\uff fd\ufffd"},{"l":341,"f":"|Fe7\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd=B\u0004\ u001d\ufffde\ufffd\ufffd\ufffd\u0017\u000bm}\ufffd\ufffd\ufffd$mka\ufffd\ufffdp| _\u001c%;\ufffd؄-","n":"Ƒ\ufffd\ufffd\ufffd\u0014\ufffd\ufffd8{\ufffdkƉ\ufffd\u0 004Z\ufffdI\ufffd\u0003\u0003n\ufffd\ufffd@\ufffd=\u0002ǩ\u001ar\ufffd\ufffdp\uf ffd\u0015"},{"l":489,"f":"\ufffd\ufffd\u001a7i\ufffdWS\ufffd\ufffdBV9\ufffd |\uf ffdO\u0002.\ufffdoˎ\ufffdON\ufffd\ufffd\ufffd\ufffd\nջ","n":"main.main"},{"l":63 ,"f":"/usr/local/go/src/runtime/proc.go","n":"\ufffd쉐\ufffd\ufffd\ufffd\u003c\u fffd\ufffd\ufffd\ufffd"},{"l":2232,"f":"/usr/local/go/src/runtime/asm_amd64.s"," n":"?\ufffd$\ufffd\ufffd(\u001b[\u0026\u0018\ufffd\ufffdg\ufffd"}]}
 
Last edited:
Status
Not open for further replies.
Top