• 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 server übersiedeln

Status
Not open for further replies.

loggableim

Member
Hallo!

Ich musste meinen Server übersiedeln.

Ich dachte ich könnte einfach den opt/ts3soundboard ordner in den neuen ordner kopieren, das hat aber leider nicht funktioniert.


Gibt es eine Möglichkeit meine alte instanz mit allen usern/liedern auf den neuen server zu migrieren?
 

loggableim

Member
ich erhalte folgende meldung wenn ich versuche den bot zu starten:

bot@kappa:/opt/ts3soundboard$ xinit /opt/ts3soundboard/ts3bot -- /usr/bin/Xvfb :1 -screen 0 800x600x16 -ac


[dix] Could not init font path element /usr/share/fonts/X11/cyrillic, removing from list!

[dix] Could not init font path element /usr/share/fonts/X11/100dpi/:unscaled, removing from list!

[dix] Could not init font path element /usr/share/fonts/X11/75dpi/:unscaled, removing from list!

[dix] Could not init font path element /usr/share/fonts/X11/Type1, removing from list!

[dix] Could not init font path element /usr/share/fonts/X11/100dpi, removing from list!

[dix] Could not init font path element /usr/share/fonts/X11/75dpi, removing from list!

[dix] Could not init font path element /var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType, removing from list!

xinit: XFree86_VT property unexpectedly has 0 items instead of 1

___ ___ _ _ _ _ ___ ___ ___ _____ BETA

/ __|_ _| \| | | | / __| _ )/ _ \_ _|

\__ \| || .` | |_| \__ \ _ \ (_) || |

|___/___|_|\_|\___/|___/___/\___/ |_|


(C) 2013-2015 Michael Friese. All rights reserved.


2015/10/03 23:18:07 7a60330d INFO Initializing bot://7a60330d-7fd5-47ad-9475-d245f2ddac60

panic: attempt to write a readonly database


goroutine 10 [running]:

github.com/jmoiron/sqlx.MustExec(0x7fc85b593870, 0xc208106c60, 0xab94d0, 0x17, 0x0, 0x0, 0x0, 0x0, 0x0)

/opt/go/src/github.com/jmoiron/sqlx/sqlx.go:669 +0xde

github.com/jmoiron/sqlx.(*DB).MustExec(0xc208106c60, 0xab94d0, 0x17, 0x0, 0x0, 0x0, 0x0, 0x0)

/opt/go/src/github.com/jmoiron/sqlx/sqlx.go:341 +0xa2

main.(*DB).Init(0xc208078d80, 0xa78500, 0x7, 0xc2080fe150, 0x61)

/opt/go/src/frie.se/ts3bot/db.go:155 +0x111c

main.(*Bot).Init(0xc208078d80, 0x0, 0x7fc85b593618)

/opt/go/src/frie.se/ts3bot/bot.go:169 +0x36b

main.func·036()

/opt/go/src/frie.se/ts3bot/main.go:544 +0x1829

created by time.goFunc

/usr/local/go/src/time/sleep.go:129 +0x4b


goroutine 1 [select (no cases)]:

main.main()

/opt/go/src/frie.se/ts3bot/main.go:672 +0x2929


goroutine 5 [syscall]:

os/signal.loop()

/usr/local/go/src/os/signal/signal_unix.go:21 +0x1f

created by os/signal.init·1

/usr/local/go/src/os/signal/signal_unix.go:27 +0x35


goroutine 17 [syscall, locked to thread]:

runtime.goexit()

/usr/local/go/src/runtime/asm_amd64.s:2232 +0x1


goroutine 7 [chan receive]:

database/sql.(*DB).connectionOpener(0xc208102000)

/usr/local/go/src/database/sql/sql.go:589 +0x4c

created by database/sql.Open

/usr/local/go/src/database/sql/sql.go:452 +0x31c


goroutine 11 [chan receive]:

database/sql.(*DB).connectionOpener(0xc2081023c0)

/usr/local/go/src/database/sql/sql.go:589 +0x4c

created by database/sql.Open

/usr/local/go/src/database/sql/sql.go:452 +0x31c

xinit: connection to X server lost


waiting for X server to shut down
 

Xuxe

Containerholic
Staff member
is awesome!
V.I.P.
Contributor
Insider
Hey,

das einfache "Kopieren" geht aufjedenfall bereits mehr mals gemacht :)
Wichtig ist das du alle Abhängigkeiten wieder Installierst und dann die Berechtigung wieder Richtig setzt.
Der Meldung nach: panic: attempt to write a readonly database stimmen deine Rechte einfach nicht.

Code:
chown -R username:username /opt/ts3soundboard/
username entsprechend durch den Benutzernamen des Bots ersetzen.
 
Status
Not open for further replies.
Top