Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Server failing to start #6

Open
artdevgame opened this issue Jan 5, 2025 · 4 comments
Open

Server failing to start #6

artdevgame opened this issue Jan 5, 2025 · 4 comments

Comments

@artdevgame
Copy link

Hi 👋🏻

My server was running fine (on RPI4) until this morning. Looking at the logs I see:

Error: file is not found (check BOX86_PATH)

I've tried rebuilding the server locally on my mac using this repo and see the same issue. I also get a little more info:

Error: File is not found. (./valheim_server.x86_64)

I think it might be an issue with either steamcmd or box86 but I'm unsure. Could you take a look for us please, hopefully you can recreate the issue fairly easily.

@artdevgame
Copy link
Author

At some point I see the error:

qemu-i386: Could not open '/lib/ld-linux.so.2'

So I try running some suggested commands:

dpkg --add-architecture i386
apt update
apt-get install libc6:i386

I notice a warning:

Unable to determine CPU Frequency. Try defining CPU_MHZ.

So I fix that with:

export CPU_MHZ=2500

I jump onto the box with a bash shell and try to run steamcmd.sh directly, it craps out with:

Fatal error: futex robust_list not initialized by pthreads

Looking for more info on that, I think this is relevant, but I don't see a solution:
ptitSeb/box86#976, possibly downgrading box86/64?

@artdevgame
Copy link
Author

artdevgame commented Jan 5, 2025

I noticed some args we can pass in the docker-compose file, but they don't seem to have any affect (always installs the same latest version):

- BOX86=0.3.8 #default,latest,version-number
- BOX64=0.3.2 #default,latest,version-number

In the container:

root@48d8b5bff422:/# box86 --version
Box86 with Dynarec v0.3.8 ee0c949b built on Jan  5 2025 01:18:11

root@48d8b5bff422:/# box64 --version
Dynarec for ARM64, with extension: ASIMD AES CRC32 PMULL ATOMICS SHA1 SHA2 USCAT FLAGM FLAGM2 FRINT PageSize:4096 Running on - with 10 cores
Will use hardware counter measured at 24.0 MHz emulating 3.0 GHz
Params database has 99 entries
Box64 with Dynarec v0.3.3 5fa65a4b built on Jan  5 2025 06:49:29

I'm using it with:

docker compose up -d --build

@artdevgame
Copy link
Author

artdevgame commented Jan 5, 2025

This command only lists the latest version, so could explain why the version in BOX64 (0.3.2) isn't been applied:

root@6d4cd36981bd:/# apt-cache policy box64-rpi4arm64           
box64-rpi4arm64:
  Installed: 0.3.3+20250105.5fa65a4-1
  Candidate: 0.3.3+20250105.5fa65a4-1
  Version table:
 *** 0.3.3+20250105.5fa65a4-1 500
        500 https://ryanfortner.github.io/box64-debs/debian ./ Packages
        100 /var/lib/dpkg/status
     0.3.3+20250104.4065e61-1 500
        500 https://ryanfortner.github.io/box64-debs/debian ./ Packages

Edit: Seems like something is wrong with the list site:
https://ryanfortner.github.io/box64-debs/

Actually, I'm not sure the wanted logic is working as intended in the repo. How should that work if we want to use a specific older version?

@julianfere
Copy link

Hello! recently I have also had problems with the image on my raspberry pi 4 I found a possible solution to my problem but I can not test it because it seems that the values of the environment variable box64 are not being taken into account since I try to configure it and ends up grabbing the latest version.

The guy on the subreddit ended up installing the version of box64 he needed and running the server by hand without the container. It would be great to find a solution to this problem to be able to use the container.

Reddit thread

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants