ertagh / teamspeak3-server-arm

161 stars 11 forks source link

Server stuck on "db_CreateTables() tables created" #45

Open datejer opened 9 months ago

datejer commented 9 months ago

Hi, I'm running the command from the README and the container starts successfully but the server doesn't fully start and gets stuck.

Here's the logs: https://pastebin.com/Cxz9VjRp

I tried different versions but nothing helped, they all either get stuck on this same step as above or get looped in installing an update.

datejer commented 9 months ago

Not exactly sure what I changed but now I'm getting CRITICAL|SQL | |db_CreateTables() unable to load instance default values and it crashes completely.

ertagh commented 8 months ago

Hi! What hardware and also what distribution are you using?

datejer commented 8 months ago

Hey, sorry, forgot to mention that. I'm running an ARM system (it's the VM.Standard.A1.Flex on Oracle Cloud with an Ampere CPU) with Oracle Linux (Oracle Linux Server release 8.9) (I know... I hate it too I just can't be bothered to reinstall it right now)

datejer commented 8 months ago

Weird, I ran it once more and now it's throwing

2024-02-05 12:17:52.911624|INFO    |DatabaseQuery |   |dbPlugin name:    SQLite3 plugin, Version 3, (c)TeamSpeak Systems GmbH
2024-02-05 12:17:52.911892|INFO    |DatabaseQuery |   |dbPlugin version: 3.11.1
2024-02-05 12:17:52.921476|INFO    |DatabaseQuery |   |checking database integrity (may take a while)
2024-02-05 12:17:52.940349|ERROR   |DatabaseQuery |   |db_exec failed unable to open database file
2024-02-05 12:17:52.941109|ERROR   |DatabaseQuery |   |unable to set WAL journalmodeunable to open database file
2024-02-05 12:17:52.941339|CRITICAL|ServerLibPriv |   |Server() DatabaseError unable to open database file
ertagh commented 8 months ago

Hmm... Another user also had problems with running the container in a VM. Somehow it looks like the container does not work well with VMs and I don't really know why.

Which tags did you already test?

ertagh commented 8 months ago

Oh and Oracle Linux is based on RHEL. That shouldn't be a problem but I never tested it before. I have to install Fedora on one of my Pis to check that...

datejer commented 8 months ago

I tried both the QEMU and the Box versions (pre-downloaded and normal), also I think I tried one of the v7 tags too. Couldn't get it to work :/ Honestly my VM might just be cursed lol.

ertagh commented 8 months ago

Well... After setting up Fedora and testing my image I can at least confirm that it gets stuck at db_CreateTables() tables created. I will look into what is going on...

ertagh commented 8 months ago

Ok it seems like a problem with the version of Box64 I use. I can not change that without risking to break compatibility with RPi 5 again.

But I was going through some different tags and at least ertagh/teamspeak3-server:arm32v7-latest-box-predownloaded did work somehow.

datejer commented 8 months ago

Hmm, interesting. For me, that one just gets stuck on:

[services.d] starting services
[services.d] done.

and doesn't actually start the server :P

I fully understand your concern with compatibility though, if it's something too tricky to fix I can just look around for some alternative ways of getting it running for now. Thanks for your help nonetheless :D