KrisCris / Palworld-Pal-Editor

Palworld Pal Editor, the tool for Adding, Deleting, and Modifying Pals (and unlocking Viewing Cage for multiplayer) for Palworld Game Save, supports running on Docker, GUI, WebUI, and Cli.
https://www.nexusmods.com/palworld/mods/995
GNU General Public License v3.0
106 stars 11 forks source link

Docker image (docker.io/library/palworld-pal-editor) not being found, I'm using Portainer #26

Closed mizifih closed 2 months ago

mizifih commented 2 months ago

Describe the bug Portainer, for some reason, can't find the image and docker image pull docker.io/library/palworld-pal-editor also not working. I believe I posted all the screenshots needed.

Thank you for your time coding this project :)

To Reproduce All I did was add the composer information to the container creation form. If I try to pull the image using the terminal, it's also not working.

Expected behavior A clear and concise description of what you expected to happen.

Screenshots image image image image image

Headless Linux server:

Additional context

#sudo docker image pull docker.io/library/palworld-pal-editor
Using default tag: latest
Error response from daemon: pull access denied for palworld-pal-editor, repository does not exist or may require 'docker login': denied: requested access to the resource is denied
KrisCris commented 2 months ago

You need to clone and build the docker image, I didn’t upload it to the docker repository.

KrisCris commented 2 months ago

Can you try this:

docker pull ghcr.io/kriscris/palworld-pal-editor:latest

https://github.com/kriscris/Palworld-Pal-Editor/pkgs/container/palworld-pal-editor

mizifih commented 2 months ago

Can you try this:

docker pull ghcr.io/kriscris/palworld-pal-editor:latest

https://github.com/kriscris/Palworld-Pal-Editor/pkgs/container/palworld-pal-editor

Oh yeah, gimme a few hours 'til I get home and I'll try for sure. Thank you for publishing the image.

mizifih commented 2 months ago
#docker pull ghcr.io/kriscris/palworld-pal-editor:latest
latest: Pulling from kriscris/palworld-pal-editor
13808c22b207: Already exists
6c9a484475c1: Pull complete
78bef5c7424f: Pull complete
42f0d54f5caa: Pull complete
1723cff2f16b: Pull complete
0085db0b9964: Pull complete
5d83258ff2b4: Pull complete
bd28324fec3b: Pull complete
108b344b48f6: Pull complete
b5d822708328: Pull complete
516798e92c98: Pull complete
646fe0bc1668: Pull complete
01a986f1a6e3: Pull complete
799fc25129f7: Pull complete
e439d0752f88: Pull complete
4f4fb700ef54: Pull complete
Digest: sha256:67602db4e910e3dc65ce5c6eb33b32351e530b46cb1ea88e0936773360ff912e
Status: Downloaded newer image for ghcr.io/kriscris/palworld-pal-editor:latest
ghcr.io/kriscris/palworld-pal-editor:latest
mizifih commented 2 months ago

Ok, I got lots of output when I built and ran the container, this is the very end:

Building wheels for collected packages: palworld-pal-editor
  Building editable for palworld-pal-editor (pyproject.toml) ... - done
  Created wheel for palworld-pal-editor: filename=palworld_pal_editor-0.8.0-0.editable-py3-none-any.whl size=30389 sha256=ee3cfcbea72ee6c84bed8b146ddbe1150106db7b5a1ae55adeaf4e550deddd60
  Stored in directory: /tmp/pip-ephem-wheel-cache-0_95pkjf/wheels/54/1b/b7/aa63e25c8f14f4f2ae7b04e6097bdecb770e455c5c1ee0a600
Successfully built palworld-pal-editor
Installing collected packages: palworld-pal-editor
Successfully installed palworld-pal-editor-0.8.0
Launching python -m palworld_pal_editor --nocli --lang=en --port=58888 --mode=web --path=/mnt/gamesave --password=0000...
2024-04-26 17:50:09 [INFO] Logs written to /app/src/palworld_pal_editor/logs
2024-04-26 17:50:09 [INFO] Config file written to /app/src/palworld_pal_editor/config.json
2024-04-26 17:50:09 [INFO] i18n: en, mode: web, port: 58888, path: /mnt/gamesave, password: 1670, JWT_SECRET_KEY: X2Nvbm5sb3N0
2024-04-26 17:50:09 [INFO] Running Palworld-Pal-Editor version: 0.8.0
2024-04-26 17:50:09 [INFO] LISTENING ON 0.0.0.0:58888.

But I can't access it, I tried using network as bridge, host, container (same as Palworld server), but it always says it's listening on 0.0.0.0:58888.

Processes list: image

KrisCris commented 2 months ago

Is this your remote server or local computer? If you were remote accessing the tool, make sure the port is correctly forwarded in your server/router settings.

The APP_PORT env controls which port the tool listens on.

This is the compose file you may want to look at: https://github.com/KrisCris/Palworld-Pal-Editor/blob/develop/docker/sample-docker-compose.yml

mizifih commented 2 months ago

It's a VM running Ubuntu Server, with Docker and Portainer running on Proxmox. But it's all OK now, even though it's still showing that zero IP, I can access it normally. And I did nothing different, just gave it another try. I guess it was just computer doing bad computer stuff.

KrisCris commented 2 months ago

even though it's still showing that zero IP

Yeah, this is the address:port the tool binds to, which means it binds to all network interfaces iirc.

Btw, I forgot to mention that its first launch actually takes longer.

KrisCris commented 2 months ago

OK, I just fixed a bug that prevents Sheepball's icon from being loaded and refined the docker file.

Can you test if, in this version, the editor starts to work soon after the container is created?

docker pull ghcr.io/kriscris/palworld-pal-editor:latest

mizifih commented 2 months ago

Pretty much instantly after Launching python -m palworld_pal_editor --nocli --lang=en --port=58888 --mode=web --path=/mnt/gamesave --password=SomethingSecure-Sorta... appeared at the log.