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

ENV variable issues after update 0.18.0 #239

Closed
thijsvanloef opened this issue Jan 31, 2024 · 5 comments
Closed

ENV variable issues after update 0.18.0 #239

thijsvanloef opened this issue Jan 31, 2024 · 5 comments
Assignees
Labels
bug Something isn't working

Comments

@thijsvanloef
Copy link
Owner

thijsvanloef commented Jan 31, 2024

Hi,

Due to a faulty PR the settings of some folks got messed up resulting in only the ./PalServer.sh parameters working to change settings.

This issue should be resolved in 0.19.1. However it does require that you do the following:

  • docker compose down --rmi all
  • Remove palworld/Pal/Saved/Config/LinuxServer/PalWorldSettings.ini
  • Change your docker compose to match the latest template
  • docker compose up -d

Thank you for your patience, a PR has been opened to hopefully fix all environment errors #207.

@dexterIshere
Copy link

thx !

@thijsvanloef thijsvanloef self-assigned this Jan 31, 2024
@PulsarFTW
Copy link

I've had time to do some testing now, and I can confirm that after deleting the existing config file, it works!

Thanks!

@iamspido
Copy link

iamspido commented Feb 1, 2024

Hey,

I think you mean palworld/Pal/Saved/Config/LinuxServer/PalWorldSettings.ini instead of palworld/Pal/Saved/Config/LinuxServer/PalworldWorldSettings.ini, right?

I don't have a palworld/Pal/Saved/Config/LinuxServer/PalworldWorldSettings.ini in that folder.

After deleting palworld/Pal/Saved/Config/LinuxServer/PalWorldSettings.ini, the server name, server password, and server description work fine. However, the setting BASE_CAMP_WORKER_MAXNUM: "20" in the docker-compose.yml under environment doesn't work on the server. Nevertheless, in palworld/Pal/Saved/Config/LinuxServer/PalWorldSettings.ini, the value BaseCampWorkerMaxNum=20 is correctly set.

@Marc--
Copy link

Marc-- commented Feb 1, 2024

Thanks for the fix, i confirm it's working fine with 0.19.1.

@Lizardbutt
Copy link

Lizardbutt commented Feb 4, 2024

There's a better way to do this. Throw your default.env variables into the docker compose file for the value changes needed.

  1. Set wanted value changes from default.env into your docker-compose.yml file under environment:
  2. docker compose down --rmi all
  3. rm palworld/Pal/Saved/Config/LinuxServer/PalWorldSettings.ini
  4. docker compose up -d

I've confirmed three times over this works. Editing the .ini does not.

services:
   palworld:
      image: thijsvanloef/palworld-server-docker:latest
      restart: unless-stopped
      container_name: palworld-server
      stop_grace_period: 30s # Set to however long you are willing to wait for the container to gracefully stop
      ports:
        - 8211:8211/udp
        - 27015:27015/udp # Required if you want your server to show up in the community servers tab
      environment:
         - PUID=1000
         - PGID=1000
         - PORT=8211 # Optional but recommended
         - PLAYERS=16 # Optional but recommended
         - SERVER_PASSWORD= # Optional but recommended
         - MULTITHREADING=true
         - RCON_ENABLED=true
         - RCON_PORT=25575
         - TZ=UTC
         - DIFFICULTY=Normal # These are the three value changes I made. 
         - PAL_EGG_DEFAULT_HATCHING_TIME=5.000000 # and this one
         - DEATH_PENALTY=Item # and this one.
         - ADMIN_PASSWORD=
         - COMMUNITY=false  # Enable this if you want your server to show up in the community servers tab, USE WITH SERVER_PASSWORD!
         - SERVER_NAME=
         - SERVER_DESCRIPTION=
      volumes:
         - ./palworld:/palworld/

@thijsvanloef thijsvanloef unpinned this issue Feb 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

6 participants