Coder Social home page Coder Social logo

Comments (67)

thijsvanloef avatar thijsvanloef commented on August 15, 2024 2

ah sorry my bad, the following command:

docker run -d \
--name palworld-eklipc \
-p 8211:8211/udp \
-p 27015:27015/udp \
-v /volume1/docker/palworld:/palworld/ \
-e PLAYERS=16 \
-e PORT=8211 \
-e PUID=1000 \
-e PGID=1000 \
-e COMMUNITY=false \
thijsvanloef/palworld-server-docker

from palworld-server-docker.

xiaoshaoxiaoshao avatar xiaoshaoxiaoshao commented on August 15, 2024 2

I experienced the same problem on my Synology NAS, but unfortunately I used “--restart unless-stopped“, so my Synology NAS would enable the docker container as soon as the system was started, and then the entire NAS would not work. Is there any way to change this?

没错我也遇到了这个问题 我去把我的群辉强制关机再重启就连上了(此时dokcer是未启动的状态) 如果还是不能连的话多重试几次 我的理解是重复重启总有一次ssh服务是比docker启动的快的 能连上ssh就可以把这个 container 关掉了

from palworld-server-docker.

fynaltgn avatar fynaltgn commented on August 15, 2024 2

I experienced the same problem on my Synology NAS, but unfortunately I used “--restart unless-stopped“, so my Synology NAS would enable the docker container as soon as the system was started, and then the entire NAS would not work. Is there any way to change this?

I've made that mistake on other servers before. That option is fine to set if you know that the server starts up and connects fine and works without overflowing anything.

Try:
Turn off your dsm, turn it on and quickly connect via ssh.

dokcer ps -a

docker stop idcontainer

from palworld-server-docker.

xiaoshaoxiaoshao avatar xiaoshaoxiaoshao commented on August 15, 2024 1

我的群辉是 DSM7.1.1-42962
昨天在跑这个项目的时候系统无响应了两次
后来就放弃了 直到我跑了另一个项目
https://github.com/jammsen/docker-palworld-dedicated-server?tab=readme-ov-file
并且在 docker-compose up 的时候看到了与这个项目同样的报错

Creating palworld-server ... done
Attaching to palworld-server
palworld-server | Executing usermod...
palworld-server | usermod: no changes
palworld-server | STARTING INSTALL/UPDATEtid(22) burning pthread_key_t == 0 so we never use it
palworld-server | Redirecting stderr to '/home/steam/Steam/logs/stderr.txt'
palworld-server | Logging directory: '/home/steam/Steam/logs'
palworld-server | src/tier0/threadtools.cpp (4213) : Probably deadlock or failure waiting for thread to initialize.
palworld-server | [ 0%] Checking for available updates...
palworld-server | Thread failed to initialize
palworld-server | src/tier0/threadtools.cpp (4213) : Probably deadlock or failure waiting for thread to initialize.
palworld-server | Thread failed to initialize

于是我怀疑是系统的问题之后着手升级了我的群辉(DSM7.1.1-42962 -> DSM7.2.1-69057)

服务器就成功的跑起来了!

PS :
此外我还发现了一个有趣的东西可以带ui的配置服务器参数
https://github.com/DysonCheng/PalWorldSettingGenerator
https://dysoncheng.github.io/PalWorldSettingGenerator/setting.html

from palworld-server-docker.

reedickulus avatar reedickulus commented on August 15, 2024 1

Glad to hear it's working. @zapoqx mentioned that some ISPs block 8211, so that might be it?

Some port checkers are better than others (I too had inconsistent results depending on the site I used). If it's not broke, let's not go chasing a fix... but glad to hear this fixed it

from palworld-server-docker.

TheKogoro avatar TheKogoro commented on August 15, 2024 1

This issue has been opened quite some time ago and this thread has slowly become a troubleshooting discussion instead of a single issue, are you folks ok with it if I convert this issue into a discussion?

Yeah, i think it's a good idea so people having little problems or need sommes help (like me x) ) dont need to open a ticket for that :) .

from palworld-server-docker.

thijsvanloef avatar thijsvanloef commented on August 15, 2024

What version of docker are you running on your NAS?
docker --version

from palworld-server-docker.

fynaltgn avatar fynaltgn commented on August 15, 2024

Docker Version 20.10.3, build 55f0773

from palworld-server-docker.

thijsvanloef avatar thijsvanloef commented on August 15, 2024

are you able to run?

  • docker run hello-world

from palworld-server-docker.

fynaltgn avatar fynaltgn commented on August 15, 2024

Sure, work it!

This message shows that your installation appears to be working correctly.

from palworld-server-docker.

thijsvanloef avatar thijsvanloef commented on August 15, 2024

Are you able to run:

docker run -d
--name palworld-eklipc
-p 8211:8211/udp
-p 27015:27015/udp
-e PLAYERS=16
-e PORT=8211
-e PUID=1000
-e PGID=1000
-e COMMUNITY=false
thijsvanloef/palworld-server-docker

from palworld-server-docker.

fynaltgn avatar fynaltgn commented on August 15, 2024
WARNING: Error loading config file: .dockercfg: $HOME is not defined
"docker run" requires at least 1 argument.
See 'docker run --help'.

Usage:  docker run [OPTIONS] IMAGE [COMMAND] [ARG...]

Run a command in a new container
/volume1/Descargas/palworld eklipc/1705867146/script.log: line 2: --name: command not found
/volume1/Descargas/palworld eklipc/1705867146/script.log: line 3: -p: command not found
/volume1/Descargas/palworld eklipc/1705867146/script.log: line 4: -p: command not found
/volume1/Descargas/palworld eklipc/1705867146/script.log: line 5: -e: command not found
/volume1/Descargas/palworld eklipc/1705867146/script.log: line 6: -e: command not found
/volume1/Descargas/palworld eklipc/1705867146/script.log: line 7: -e: command not found
/volume1/Descargas/palworld eklipc/1705867146/script.log: line 8: -e: command not found
/volume1/Descargas/palworld eklipc/1705867146/script.log: line 9: -e: command not found
/volume1/Descargas/palworld eklipc/1705867146/script.log: line 10: thijsvanloef/palworld-server-docker: No such file or directory

from palworld-server-docker.

fynaltgn avatar fynaltgn commented on August 15, 2024

In the end I managed to install the server with the qmarchi/palworld iso But the solution would be similar for others.

I noticed that when the container was running it did it from a folder called /game. And in this case it does it with the user /Root, so it installs everything in the root. With thijsvanloef's image I got the feeling that it did it with the user: Steam and I got an error.

ruta de acceso

The docker folder mapping should look like

ruta de acceso2

Folder file (left): the address of the folder where we want to put the files from the server. y Mount path (Right): the path we found before.

we start the docker and... tachan!
imagen

We see all the files! And I was able to upload my save from another dedicated server! 🥇

But now it won't let me touch the server name in the DefaultPalWorldSetting.ini file. If I touch the file it becomes defaults.👎

We will continue to work

from palworld-server-docker.

chu-bin avatar chu-bin commented on August 15, 2024

I successfully deployed the server on my synology nas, synology version 7.2.1 docker using the latest container manager, deployed using docker compose, the volume location is in the /docker/palword-server directory and there are no Errors

from palworld-server-docker.

BINGHUAice avatar BINGHUAice commented on August 15, 2024

Latest status:Thanks for the advice, luckily I've got the NAS booting up successfully!

I experienced the same problem on my Synology NAS, but unfortunately I used “--restart unless-stopped“, so my Synology NAS would enable the docker container as soon as the system was started, and then the entire NAS would not work. Is there any way to change this?

from palworld-server-docker.

JoycieC avatar JoycieC commented on August 15, 2024

In the end I managed to install the server with the qmarchi/palworld iso But the solution would be similar for others.

I noticed that when the container was running it did it from a folder called /game. And in this case it does it with the user /Root, so it installs everything in the root. With thijsvanloef's image I got the feeling that it did it with the user: Steam and I got an error.

ruta de acceso

The docker folder mapping should look like

ruta de acceso2

Folder file (left): the address of the folder where we want to put the files from the server. y Mount path (Right): the path we found before.

we start the docker and... tachan! imagen

We see all the files! And I was able to upload my save from another dedicated server! 🥇

But now it won't let me touch the server name in the DefaultPalWorldSetting.ini file. If I touch the file it becomes defaults.👎

We will continue to work

Hey, could you explain this in more detail?
I'm struggling to get this set up with any docker image and a very easy to understand guide would be super appreciated!

Thanks for powering through to get as far as you have so far.

from palworld-server-docker.

zapoqx avatar zapoqx commented on August 15, 2024

I just wanted to add 2 cents to this because I did this a few days ago (like Saturday) when I was going through testing and making a dedicated server. Ironically, it was this one that worked the best, but I think the other 2 options just were missing a few things was all.
Anyways...
for Synology, I use Portainer to do the same docker handling instead of Synology's own. I use Synology's own to setup Portainer initially and that solves most of the translations for Dockers. It also will solve updating.

Now if anyone else comes across this and has never done it before with a Synology server, even if you have 1 volume, you still have to point to your folder starting with /volume1/path/to/folder. If you have write errors, yes, linux could do the standard chown, but you can write to just the specific folder you made to all. Simply right click the folder in DSM and click on properties, then go into Permissions. Click Advanced Options and click "Make inherited permissions explicit" and then you can define the "Everyone" to have read & write.
Otherwise, once you use Portainer, it is literally copy and paste from the front page here and you now have it all working.

THAT SAID, with portainer, I found that I had a block port issue going and took me forever to find why, so the only change I did since 8211 has been said to be required is set the public mapping port on both the "ports" configuration and the environment "PUBLIC_PORT" setting to a different port for external access and that got it going. "PORT" can remain default.

Hope it solves for all.

from palworld-server-docker.

jryanearl avatar jryanearl commented on August 15, 2024

I just wanted to add 2 cents to this because I did this a few days ago (like Saturday) when I was going through testing and making a dedicated server. Ironically, it was this one that worked the best, but I think the other 2 options just were missing a few things was all. Anyways... for Synology, I use Portainer to do the same docker handling instead of Synology's own. I use Synology's own to setup Portainer initially and that solves most of the translations for Dockers. It also will solve updating.

Now if anyone else comes across this and has never done it before with a Synology server, even if you have 1 volume, you still have to point to your folder starting with /volume1/path/to/folder. If you have write errors, yes, linux could do the standard chown, but you can write to just the specific folder you made to all. Simply right click the folder in DSM and click on properties, then go into Permissions. Click Advanced Options and click "Make inherited permissions explicit" and then you can define the "Everyone" to have read & write. Otherwise, once you use Portainer, it is literally copy and paste from the front page here and you now have it all working.

THAT SAID, with portainer, I found that I had a block port issue going and took me forever to find why, so the only change I did since 8211 has been said to be required is set the public mapping port on both the "ports" configuration and the environment "PUBLIC_PORT" setting to a different port for external access and that got it going. "PORT" can remain default.

Hope it solves for all.

I have this running on my Synology DS1821+ with the "Container Manager" package from Synology. It's super simple there to set this up. I even found this github through its Docker Registry search interface.

from palworld-server-docker.

zapoqx avatar zapoqx commented on August 15, 2024

I have this running on my Synology DS1821+ with the "Container Manager" package from Synology. It's super simple there to set this up. I even found this github through its Docker Registry search interface.

Same club, but I point this out because it was far easier to also setup console access within Portainer while also making sure you have the internal networks properly set. There is a reason a place like Marius was switching to Portainer. Also, I joined this when it wasn't in the registry yet (Day 2 of game release?).

from palworld-server-docker.

reedickulus avatar reedickulus commented on August 15, 2024

THAT SAID, with portainer, I found that I had a block port issue going and took me forever to find why, so the only change I did since 8211 has been said to be required is set the public mapping port on both the "ports" configuration and the environment "PUBLIC_PORT" setting to a different port for external access and that got it going. "PORT" can remain default.

Can you give more details or show your set-up? I am having a weird issue where I can connect using my Local-IPAddress:8211, but not with Public-IPAddress:8211, despite port forwarding correctly in my router.

from palworld-server-docker.

zapoqx avatar zapoqx commented on August 15, 2024

Can you give more details or show your set-up? I am having a weird issue where I can connect using my Local-IPAddress:8211, but not with Public-IPAddress:8211, despite port forwarding correctly in my router.

Use a tool to check the port from an outside source. If its blocked, its either the ISP blocking it or some other secure element is blocking it. Sometimes Stealth methods can also block it. In that case, change to a port that is much higher and see if that helps. It seems the Public Port isn't respected though for whatever reason now, but will respect the "port" configuration when starting so I just full changed the external port for 8211 on exposed and internal to the same port I chose that nothing else had access to (give you have up to 65535 I believe, too tired to reference right now as its been a long day, there is a darn good chance of finding something above 12000 that works). Make sure router setup is reflective of that. So for instance, if you wanted to try like 11000, just change the UDP Port to 11000:11000 and set the port configuration to 11000. Then make sure your router will expose port 11000 to whatever the server device is.

That should do it.

from palworld-server-docker.

reedickulus avatar reedickulus commented on August 15, 2024

Can you give more details or show your set-up? I am having a weird issue where I can connect using my Local-IPAddress:8211, but not with Public-IPAddress:8211, despite port forwarding correctly in my router.

Use a tool to check the port from an outside source. If its blocked, its either the ISP blocking it or some other secure element is blocking it. Sometimes Stealth methods can also block it. In that case, change to a port that is much higher and see if that helps. It seems the Public Port isn't respected though for whatever reason now, but will respect the "port" configuration when starting so I just full changed the external port for 8211 on exposed and internal to the same port I chose that nothing else had access to (give you have up to 65535 I believe, too tired to reference right now as its been a long day, there is a darn good chance of finding something above 12000 that works). Make sure router setup is reflective of that. So for instance, if you wanted to try like 11000, just change the UDP Port to 11000:11000 and set the port configuration to 11000. Then make sure your router will expose port 11000 to whatever the server device is.

That should do it.

Thanks, I'm going to try your steps. I used outside checker (https://check-host.net/ --> UDP Port) and it says open. https://www.yougetsignal.com/tools/open-ports/ says closed (maybe it does TCP but not UDP)?

To be clear, you mean in the docker-compose, you changed the following (where <------- arrow is pointing)?

palworld:
image: thijsvanloef/palworld-server-docker:latest # Use the latest-arm64 tag for arm64 hosts
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
environment:
- PUID=1000
- PGID=1000
- PORT=8211 # Optional but recommended
- PLAYERS=6 # Optional but recommended
- SERVER_PASSWORD= # Optional but recommended
- MULTITHREADING=true
- RCON_ENABLED=true
- RCON_PORT=25575

Can you share your compose file?

from palworld-server-docker.

zapoqx avatar zapoqx commented on August 15, 2024

yes and also

  • PORT=8211 # Optional but recommended

Unfortunately, I cannot as I'm about to head to bed as it needs super sanitizing, but I didn't put my the env variables in an env file (though I could), I just left it in below a comment point. But if you still want it, I'll see if I have time in the morning to post my config (sanitized of course)

from palworld-server-docker.

reedickulus avatar reedickulus commented on August 15, 2024

Thanks - I got it working. Apparently, it might have been working for a long time. Made the mistake of trying to connect to the server (hosted on my NAS) while on the same network (i.e. both my computer and the NAS are connected to the same router). Well - turns out, in this situation, I need to connect using the local IP address of the NAS. But those on a different network, had no issue connecting using my Public IP address.

from palworld-server-docker.

zapoqx avatar zapoqx commented on August 15, 2024

Made the mistake of trying to connect to the server (hosted on my NAS) while on the same network (i.e. both my computer and the NAS are connected to the same router). Well - turns out, in this situation, I need to connect using the local IP address of the NAS. But those on a different network, had no issue connecting using my Public IP address.

Hah at least you don't have the complexities of my network, as small as it is, having multiple subnets. That challenge was far worse. Glad you got it working!

from palworld-server-docker.

reedickulus avatar reedickulus commented on August 15, 2024

Made the mistake of trying to connect to the server (hosted on my NAS) while on the same network (i.e. both my computer and the NAS are connected to the same router). Well - turns out, in this situation, I need to connect using the local IP address of the NAS. But those on a different network, had no issue connecting using my Public IP address.

Hah at least you don't have the complexities of my network, as small as it is, having multiple subnets. That challenge was far worse. Glad you got it working!

I guess I celebrated too soon. I'm still having issues. In my folder "docker > palworld > data" everything is empty. I double and triple checked that permissions are all set-up correctly, but still having issues (your steps about giving "Everyone" permissions with explicit inherit).

This guy might have the solution (docker folder mapping), but I didn't understand his instructions or where his screenshot came from: #35 (comment)

from palworld-server-docker.

reedickulus avatar reedickulus commented on August 15, 2024

In the end I managed to install the server with the qmarchi/palworld iso But the solution would be similar for others.

I noticed that when the container was running it did it from a folder called /game. And in this case it does it with the user /Root, so it installs everything in the root. With thijsvanloef's image I got the feeling that it did it with the user: Steam and I got an error.

ruta de acceso

The docker folder mapping should look like

ruta de acceso2

Folder file (left): the address of the folder where we want to put the files from the server. y Mount path (Right): the path we found before.

we start the docker and... tachan! imagen

We see all the files! And I was able to upload my save from another dedicated server! 🥇

But now it won't let me touch the server name in the DefaultPalWorldSetting.ini file. If I touch the file it becomes defaults.👎

We will continue to work

Please I need help with your instructions - where is that screenshot from for folder mapping?!

from palworld-server-docker.

zapoqx avatar zapoqx commented on August 15, 2024

Made the mistake of trying to connect to the server (hosted on my NAS) while on the same network (i.e. both my computer and the NAS are connected to the same router). Well - turns out, in this situation, I need to connect using the local IP address of the NAS. But those on a different network, had no issue connecting using my Public IP address.

Hah at least you don't have the complexities of my network, as small as it is, having multiple subnets. That challenge was far worse. Glad you got it working!

I guess I celebrated too soon. I'm still having issues. In my folder "docker > palworld > data" everything is empty. I double and triple checked that permissions are all set-up correctly, but still having issues (your steps about giving "Everyone" permissions with explicit inherit).

This guy might have the solution (docker folder mapping), but I didn't understand his instructions or where his screenshot came from: #35 (comment)

Alright, at least I'm home so let me ask this, since this is a NAS, whatever the folder you made, you sure its pointing properly? In other words, for the folder, if its on Volume 1, is the volume set to "Volume1/path/to/folder:game"?

Also, Marius just posted the proper instructions on the NAS, you will like his instructions which should explain it all here, but then you can go more advanced with the options here. https://mariushosting.com/how-to-install-palworld-server-on-your-synology-nas/

from palworld-server-docker.

smithore avatar smithore commented on August 15, 2024

Whew, I had the same problem as those above. I stupidly set the process to auto-start and was completely locked out of my NAS. I had to do a hard reboot, SSH in as quickly as possible to run the top command. Thankfully once top was running, it kept resource priority and I was able to kill the docker process (I found the keyword "steam" in the list of processes). I also used docker update --restart=no [containerName] to set the container to not auto-start.

Lesson learned -- don't set a docker container to auto-start until you've started it manually a few times and know that it works.

Now to try to figure out what the root problem is, and why this docker container runs away with the NAS.

from palworld-server-docker.

zapoqx avatar zapoqx commented on August 15, 2024

Now to try to figure out what the root problem is, and why this docker container runs away with the NAS.

The only question I'll ask: Is Your NAS less than 6 GB in Memory?

from palworld-server-docker.

smithore avatar smithore commented on August 15, 2024

Now to try to figure out what the root problem is, and why this docker container runs away with the NAS.

The only question I'll ask: Is Your NAS less than 6 GB in Memory?

I've got a 1515+ with 16GB of memory. When I start the docker container, the CPU usage goes through the roof and the system becomes mostly unresponsive until I kill the container.

from palworld-server-docker.

zapoqx avatar zapoqx commented on August 15, 2024

I've got a 1515+ with 16GB of memory. When I start the docker container, the CPU usage goes through the roof and the system becomes mostly unresponsive until I kill the container.

Hmm. I wonder if it has to do with the outdated Docker version? If it has been updated that is for that NAS.

from palworld-server-docker.

thijsvanloef avatar thijsvanloef commented on August 15, 2024

Is this issue still relevant?

from palworld-server-docker.

zapoqx avatar zapoqx commented on August 15, 2024

Is this issue still relevant?

To the initial bug or Smithore's issue about the runaway CPU? To Smithore's issue, I can say that on the Synology, there was an update last year that fixed up Docker components by being updated to something more supported, and I think there is supposed to be another one in the next few months to really update stuff as the docker component prior to last year's update was very old. It is why I am curious if the runaway CPU thing on Smithore's issue is only singled to a device from 2014/2015 that might have lost support.

I know on mine being a year 20/21 release, it has worked for a long time, but I prefer installing Portainer to use the initial code offered (Docker Compose) vs the accepted Docker Run format that Synology's container manager uses, but this way, I also have access to the console individually if something comes up.

But that is only my response. I can't speak for everyone here.

from palworld-server-docker.

smithore avatar smithore commented on August 15, 2024

I was never able to resolve this issue with my Synology DS1515+. I am happy to continue to be a guinea pig for any potential fixes, but am also happy to move on to another solution and let this issue close without resolution, especially if we think the trouble is with a certain model / year of DS.

from palworld-server-docker.

TheKogoro avatar TheKogoro commented on August 15, 2024

I have installed on an ASUSTOR NAS, for people doing this, this is exactly same as https://mariushosting.com/how-to-install-palworld-server-on-your-synology-nas/ tutorial exept one things (if you dont do that, it will write the install in a non accessible to user folder). You need to change "docker" by "Docker" in the line "- /volume1/docker/palworld-server:/palworld:rw" (yeah, just a "D" and for me, that is working fine :)

from palworld-server-docker.

reedickulus avatar reedickulus commented on August 15, 2024

I'm still getting "dlmopen steamservice.so failed when start up."

Going to continue troubleshooting.

from palworld-server-docker.

reedickulus avatar reedickulus commented on August 15, 2024

I fixed it by deleting my entire palworld folder inside of the docker folder. Re-created the palworld image/container/stack and then manually imported my backup saved files (using the posted method in the ReadMe), then everything fixed itself.

from palworld-server-docker.

TheKogoro avatar TheKogoro commented on August 15, 2024

I try to manage to make my server accessible on the internet from my Asustor NAS but i was unable to do it. i can without problems acces from local network but not from internet. I have a port redirection on my router but it didnt know what make the server not accessible from internet.

I have read many things but also not helped because english isnt my native language and understand why isnt work and what to do is verry dificult.

from palworld-server-docker.

reedickulus avatar reedickulus commented on August 15, 2024

I try to manage to make my server accessible on the internet from my Asustor NAS but i was unable to do it. i can without problems acces from local network but not from internet. I have a port redirection on my router but it didnt know what make the server not accessible from internet.

I have read many things but also not helped because english isnt my native language and understand why isnt work and what to do is verry dificult.

I am not familiar with Asustor, but do you have a firewall on your NAS? In other words, make sure the ports are open (1) on your router and (2) on your Asustor NAS.

from palworld-server-docker.

reedickulus avatar reedickulus commented on August 15, 2024

I try to manage to make my server accessible on the internet from my Asustor NAS but i was unable to do it. i can without problems acces from local network but not from internet. I have a port redirection on my router but it didnt know what make the server not accessible from internet.
I have read many things but also not helped because english isnt my native language and understand why isnt work and what to do is verry dificult.

I am not familiar with Asustor, but do you have a firewall on your NAS? In other words, make sure the ports are open (1) on your router and (2) on your Asustor NAS.

Have you checked if your port is open on https://www.yougetsignal.com/tools/open-ports/ or https://portchecker.co/ ?

from palworld-server-docker.

TheKogoro avatar TheKogoro commented on August 15, 2024

I try to manage to make my server accessible on the internet from my Asustor NAS but i was unable to do it. i can without problems acces from local network but not from internet. I have a port redirection on my router but it didnt know what make the server not accessible from internet.
I have read many things but also not helped because english isnt my native language and understand why isnt work and what to do is verry dificult.

I am not familiar with Asustor, but do you have a firewall on your NAS? In other words, make sure the ports are open (1) on your router and (2) on your Asustor NAS.

Have you checked if your port is open on https://www.yougetsignal.com/tools/open-ports/ or https://portchecker.co/ ?

It's closed, but i really dont know how to open it on my Asustor, it's open on my router, Reverse proxy isnt same as synology and i already have a web server that use HTTP and HTTPS ports. I think the NAS didnt kwno what to do with this port from internet (but from local network with local ip it working)

from palworld-server-docker.

reedickulus avatar reedickulus commented on August 15, 2024

I try to manage to make my server accessible on the internet from my Asustor NAS but i was unable to do it. i can without problems acces from local network but not from internet. I have a port redirection on my router but it didnt know what make the server not accessible from internet.
I have read many things but also not helped because english isnt my native language and understand why isnt work and what to do is verry dificult.

I am not familiar with Asustor, but do you have a firewall on your NAS? In other words, make sure the ports are open (1) on your router and (2) on your Asustor NAS.

Have you checked if your port is open on https://www.yougetsignal.com/tools/open-ports/ or https://portchecker.co/ ?

It's closed, but i really dont know how to open it on my Asustor, it's open on my router, Reverse proxy isnt same as synology and i already have a web server that use HTTP and HTTPS ports. I think the NAS didnt kwno what to do with this port from internet (but from local network with local ip it working)

I found this on Google: https://www.asustor.com/en/online/College_topic?topic=224

Did you try the steps there for (EZ-Router)?

Also, use this: https://check-host.net/check-udp to check if your port is open (more reliable than the other ones I shared).

from palworld-server-docker.

reedickulus avatar reedickulus commented on August 15, 2024

I try to manage to make my server accessible on the internet from my Asustor NAS but i was unable to do it. i can without problems acces from local network but not from internet. I have a port redirection on my router but it didnt know what make the server not accessible from internet.
I have read many things but also not helped because english isnt my native language and understand why isnt work and what to do is verry dificult.

I am not familiar with Asustor, but do you have a firewall on your NAS? In other words, make sure the ports are open (1) on your router and (2) on your Asustor NAS.

Have you checked if your port is open on https://www.yougetsignal.com/tools/open-ports/ or https://portchecker.co/ ?

It's closed, but i really dont know how to open it on my Asustor, it's open on my router, Reverse proxy isnt same as synology and i already have a web server that use HTTP and HTTPS ports. I think the NAS didnt kwno what to do with this port from internet (but from local network with local ip it working)

I found this on Google: https://www.asustor.com/en/online/College_topic?topic=224
Did you try the steps there for (EZ-Router)?
Also, use this: https://check-host.net/check-udp to check if your port is open (more reliable than the other ones I shared).

I have acces on all my services that is installed on my Asustor from internet, Exept the Palworld Server (that is not in the list of EZ-Router).

So do this: "If the service that you wish to open is not on the list or you wish to set up self-defined port forwarding, you can click on [Self define]."

And open the port (default is 8211 and 27015).

from palworld-server-docker.

TheKogoro avatar TheKogoro commented on August 15, 2024

I try to manage to make my server accessible on the internet from my Asustor NAS but i was unable to do it. i can without problems acces from local network but not from internet. I have a port redirection on my router but it didnt know what make the server not accessible from internet.
I have read many things but also not helped because english isnt my native language and understand why isnt work and what to do is verry dificult.

I am not familiar with Asustor, but do you have a firewall on your NAS? In other words, make sure the ports are open (1) on your router and (2) on your Asustor NAS.

Have you checked if your port is open on https://www.yougetsignal.com/tools/open-ports/ or https://portchecker.co/ ?

It's closed, but i really dont know how to open it on my Asustor, it's open on my router, Reverse proxy isnt same as synology and i already have a web server that use HTTP and HTTPS ports. I think the NAS didnt kwno what to do with this port from internet (but from local network with local ip it working)

I found this on Google: https://www.asustor.com/en/online/College_topic?topic=224
Did you try the steps there for (EZ-Router)?
Also, use this: https://check-host.net/check-udp to check if your port is open (more reliable than the other ones I shared).

I have acces on all my services that is installed on my Asustor from internet, Exept the Palworld Server (that is not in the list of EZ-Router).

So do this: "If the service that you wish to open is not on the list or you wish to set up self-defined port forwarding, you can click on [Self define]."

And open the port (default is 8211 and 27015).

I have ad it on the list (It's now on the EZ-Router and on the "UPNP" list on the router) but, when i test it say port is always closed :/

from palworld-server-docker.

reedickulus avatar reedickulus commented on August 15, 2024

I try to manage to make my server accessible on the internet from my Asustor NAS but i was unable to do it. i can without problems acces from local network but not from internet. I have a port redirection on my router but it didnt know what make the server not accessible from internet.
I have read many things but also not helped because english isnt my native language and understand why isnt work and what to do is verry dificult.

I am not familiar with Asustor, but do you have a firewall on your NAS? In other words, make sure the ports are open (1) on your router and (2) on your Asustor NAS.

Have you checked if your port is open on https://www.yougetsignal.com/tools/open-ports/ or https://portchecker.co/ ?

It's closed, but i really dont know how to open it on my Asustor, it's open on my router, Reverse proxy isnt same as synology and i already have a web server that use HTTP and HTTPS ports. I think the NAS didnt kwno what to do with this port from internet (but from local network with local ip it working)

I found this on Google: https://www.asustor.com/en/online/College_topic?topic=224
Did you try the steps there for (EZ-Router)?
Also, use this: https://check-host.net/check-udp to check if your port is open (more reliable than the other ones I shared).

I have acces on all my services that is installed on my Asustor from internet, Exept the Palworld Server (that is not in the list of EZ-Router).

So do this: "If the service that you wish to open is not on the list or you wish to set up self-defined port forwarding, you can click on [Self define]."
And open the port (default is 8211 and 27015).

I have ad it on the list (It's now on the EZ-Router and on the "UPNP" list on the router) but, when i test it say port is always closed :/

Hmm, what router are you using (ASUS, Netgear, other?). I don't like UPNP - try disabling UPNP and manually forwarding the port (pointing to your internal NAS IP address, of course).

from palworld-server-docker.

TheKogoro avatar TheKogoro commented on August 15, 2024

I try to manage to make my server accessible on the internet from my Asustor NAS but i was unable to do it. i can without problems acces from local network but not from internet. I have a port redirection on my router but it didnt know what make the server not accessible from internet.
I have read many things but also not helped because english isnt my native language and understand why isnt work and what to do is verry dificult.

I am not familiar with Asustor, but do you have a firewall on your NAS? In other words, make sure the ports are open (1) on your router and (2) on your Asustor NAS.

Have you checked if your port is open on https://www.yougetsignal.com/tools/open-ports/ or https://portchecker.co/ ?

It's closed, but i really dont know how to open it on my Asustor, it's open on my router, Reverse proxy isnt same as synology and i already have a web server that use HTTP and HTTPS ports. I think the NAS didnt kwno what to do with this port from internet (but from local network with local ip it working)

I found this on Google: https://www.asustor.com/en/online/College_topic?topic=224
Did you try the steps there for (EZ-Router)?
Also, use this: https://check-host.net/check-udp to check if your port is open (more reliable than the other ones I shared).

I have acces on all my services that is installed on my Asustor from internet, Exept the Palworld Server (that is not in the list of EZ-Router).

So do this: "If the service that you wish to open is not on the list or you wish to set up self-defined port forwarding, you can click on [Self define]."
And open the port (default is 8211 and 27015).

I have ad it on the list (It's now on the EZ-Router and on the "UPNP" list on the router) but, when i test it say port is always closed :/

Hmm, what router are you using (ASUS, Netgear, other?). I don't like UPNP - try disabling UPNP and manually forwarding the port (pointing to your internal NAS IP address, of course).

Already tried to do manually add port redirection directly on the router but didnt work too (port is added sucefully but always recognised as closed on test).

Every app or container downloaded on Asustor store have "redirection" i think. i have deluge , Vaultwarden (That is also on docker) and it's accessible on internet without problem. i think the NAS didnt know what to do with the Palworld ports and dont know where nee to redirect on the correct container and it act as is closed because it go on nothing, but why is working on local and not on internet, that i didnt kwnow

Did is possible i nee to add a specific "Config line" into the "Stacks" for make accessible from internet ?

from palworld-server-docker.

reedickulus avatar reedickulus commented on August 15, 2024

You don't need the port to be open for local access.

Probably the app or container downloaded from Asustor store automatically opens the right port on the NAS firewall.

How did you create your palworld image on your Asustor NAS? I imagine it wasn't available on the Asustor store... so did you use Portainer, or some sort of Asustor-branded "Container Manager"? Did you use a docker-compose file (with our without an .env file) or did you use docker command line to make palworld server image?

from palworld-server-docker.

reedickulus avatar reedickulus commented on August 15, 2024

Also, to be clear, did you open BOTH ports I mentioned (assuming these default ones are the ones you specified when you built your palworld image, 8211 and 27015)? And make sure the ports are open for UDP (though if you want to open them to "All" or "TCP/UDP" that would be fine and preferrable as we troubleshoot.

from palworld-server-docker.

TheKogoro avatar TheKogoro commented on August 15, 2024

Also, to be clear, did you open BOTH ports I mentioned (assuming these default ones are the ones you specified when you built your palworld image, 8211 and 27015)? And make sure the ports are open for UDP (though if you want to open them to "All" or "TCP/UDP" that would be fine and preferrable as we troubleshoot.

It's open on UDP Both 8211 and 27015. I have build the server with Portainer CE
(Note that is no obligation to "Activate" a redirection in EZ-Router, HTTP and HTTPS is actived only on router and webserver working fine (I manage to use less possible UPNP)).

Here is the "Stacks" used for building the server:

version: "3.9"
services:
   palworld:
      image: thijsvanloef/palworld-server-docker:latest # Use :latest-arm64 tag instead of :latest for arm64 NAS
      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
      environment:
        - PUID=1002
        - PGID=1000
        - PORT=8211
        - PLAYERS=6
        - SERVER_PASSWORD=PASSWORDIPUT
        - MULTITHREADING=true
        - RCON_ENABLED=true
        - RCON_PORT=25575
        - TZ=Europe/Zurich
        - ADMIN_PASSWORD=PASSWORDIPUT # You can secure the access to a server by using the admin password.
        - COMMUNITY=false  # Enable this with true if you want your server to show up in the community servers tab, USE WITH SERVER_PASSWORD above.
        - SERVER_NAME=Kogoro Server
        - SERVER_DESCRIPTION=Serveur Palworld de Kogoro (Heberge sur NAS)
        
        - DIFFICULTY=None
        - DAYTIME_SPEEDRATE=1.000000
        - NIGHTTIME_SPEEDRATE=1.000000
        - EXP_RATE=1.300000
        - PAL_CAPTURE_RATE=2.000000
        - PAL_SPAWN_NUM_RATE=1.000000
        - PAL_DAMAGE_RATE_ATTACK=1.000000
        - PAL_DAMAGE_RATE_DEFENSE=1.000000
        - PLAYER_DAMAGE_RATE_ATTACK=1.500000
        - PLAYER_DAMAGE_RATE_DEFENSE=0.700000
        - PLAYER_STOMACH_DECREASE_RATE=1.000000
        - PLAYER_STAMINA_DECREASE_RATE=1.000000
        - PLAYER_AUTO_HP_REGEN_RATE=1.000000
        - PLAYER_AUTO_HP_REGEN_RATE_IN_SLEEP=1.000000
        - PAL_STOMACH_DECREASE_RATE=1.000000
        - PAL_STAMINA_DECREASE_RATE=1.000000
        - PAL_AUTO_HP_REGEN_RATE=1.000000
        - PAL_AUTO_HP_REGEN_RATE_IN_SLEEP=1.000000
        - BUILD_OBJECT_DAMAGE_RATE=1.000000
        - BUILD_OBJECT_DETERIORATION_DAMAGE_RATE=0.000000
        - COLLECTION_DROP_RATE=2.000000
        - COLLECTION_OBJECT_HP_RATE=1.000000
        - COLLECTION_OBJECT_RESPAWN_SPEED_RATE=1.000000
        - ENEMY_DROP_ITEM_RATE=2.000000
        - DEATH_PENALTY=None
        - ENABLE_PLAYER_TO_PLAYER_DAMAGE=False
        - ENABLE_FRIENDLY_FIRE=False
        - ENABLE_INVADER_ENEMY=True
        - ACTIVE_UNKO=True
        - ENABLE_AIM_ASSIST_PAD=True
        - ENABLE_AIM_ASSIST_KEYBOARD=True
        - DROP_ITEM_MAX_NUM=4079
        - DROP_ITEM_MAX_NUM_UNKO=100
        - BASE_CAMP_MAX_NUM=128
        - BASE_CAMP_WORKER_MAX_NUM=20
        - DROP_ITEM_ALIVE_MAX_HOURS=1.000000
        - AUTO_RESET_GUILD_NO_ONLINE_PLAYERS=False
        - AUTO_RESET_GUILD_TIME_NO_ONLINE_PLAYERS=72.00000
        - GUILD_PLAYER_MAX_NUM=20
        - PAL_EGG_DEFAULT_HATCHING_TIME=0.50000
        - WORK_SPEED_RATE=1.000000
        - IS_MULTIPLAY=True
        - IS_PVP=False
        - CAN_PICKUP_OTHER_GUILD_DEATH_PENALTY_DROP=False
        - ENABLE_NON_LOGIN_PENALTY=True
        - ENABLE_FAST_TRAVEL=True
        - IS_START_LOCATION_SELECT_BY_MAP=False
        - EXIST_PLAYER_AFTER_LOGOUT=False
        - ENABLE_DEFENSE_OTHER_GUILD_PLAYER=False
        - COOP_PLAYER_MAX_NUM=4
        - REGION=
        - USEAUTH=True
        - BAN_LIST_URL=https://api.palworldgame.com/api/banlist.txt
        
      volumes:
         - /volume1/Docker/palworld-server:/palworld

from palworld-server-docker.

reedickulus avatar reedickulus commented on August 15, 2024

In portainer, what network is the server one? ("bridge" or "palworld_default_network") or something like that - make sure that the network is also "allowed" in your NAS firewall ... Eitherwise, I'm out of suggestions on why you're port remains closed - but that's the issue, I think. If you can get the port open, others will be able to connect.

from palworld-server-docker.

zapoqx avatar zapoqx commented on August 15, 2024

I had a similar problem with 8211 where it took me realizing somehow the port was blocked by ISP so I simply changed it. At the time with public port working, I only used the changed value for external, but kept it to 8211 and used public port value to force it to realize what I want. But changing all port settings to match is practically the same without using public port. Try changing the port and the port request to something else, like 12500 for example and make sure it is updated in your router then try again.

from palworld-server-docker.

TheKogoro avatar TheKogoro commented on August 15, 2024

In portainer, what network is the server one? ("bridge" or "palworld_default_network") or something like that - make sure that the network is also "allowed" in your NAS firewall ... Eitherwise, I'm out of suggestions on why you're port remains closed - but that's the issue, I think. If you can get the port open, others will be able to connect.

I dont know if i can set much in NAS firewall, is on "Allow all" with somes rules that Deny only selected service on a list, so normally it wont "refuse" but i never set up a game server ^^

Here is the network:

network 2
network1

I also tested a thing, i have put the Palworld server on the same network that manage Deluge and Waultwarden but it didnt change nothing, always not acessible from internet (Always work on local even on the bridge network used for other container)

@zapoqx how do you changed the "public" port value and where to do that ? you just put in the router that "the port you chose" redirect on 8211 on the server ? (Entry port: 12500 ---> Destination port : 8211). if it's that, i tested and port say always closed.

EDIT:

I also scanned ports from the local network of the NAS server, the ports of Palworld wont appears even on LAN, so how did i can connect to it if the port is not oppened even in local network ? that's odd

from palworld-server-docker.

TheKogoro avatar TheKogoro commented on August 15, 2024

Ok, i have found how to make working, i put a totally random port that i have openned on my Router and set on the "Stacks" configuration:

 ports:
        - 25650:8211/udp
        - 27015:27015/udp

Oddly, the port is noticed as "Closed" if i test with online tools that you put in link (in local network it say that is not open too) but i can sucefully join the server ^^. But didnt work if tried external with 8211 (possibly it's a restriction by docker/nas because somes docker app use a port range that is located in 8000).

For testing i connected my computer on phone sharing networn that is on 4G only.

Thanks for the help at all. (It's odd that port is recognized as closed but it worked fine ^^)

from palworld-server-docker.

TheKogoro avatar TheKogoro commented on August 15, 2024

I also have a 2 questions:

i have add somes settings in the server, somes for making backup (BACKUP_ON_STOP=True). When i stop the container, i didnt see any save created in the folder "backups" un the server folder "palworld-server" did anything wrong or Backup goes on an other folder ?
(the server show that in logs:)

Complete Save

Shutdown...

did i need add a other path in volume settings for backup (if yes, what i need to put)

The other is, i have a weird lags, stuttering when i aim when i am on a mount (It seem doing that only when i am on a mount, if i aim when just walking, no problem). I have not this stutter/lags on aiming when on mount on my local game (no server, solo playing).

Here is the Vidéo: https://streamable.com/8083f5

from palworld-server-docker.

zapoqx avatar zapoqx commented on August 15, 2024

First, many scanners will not check UDP protocols. Only TCP. Some that do scan UDP have different results depending on how it checks. Some routers can look at it as an attack and block it as well.

Second, to your question, did you make a custom cronjob for it? I don't see a "BACKUP_ON_STOP" value.
The backup folder is in the same folder for the game volume.

At least on the NAS, what I did is made a task that I can quick trigger if I need to make a backup to the docker in question. But generally, I set a daily task to do a backup each day in the early hours of the morning since I have a backup done every few days to my offsite (so yes, I have a backup of the backup).

Its a weird question to ask but is the weird lag happening if you do a solo play? Like just playing within the game solo instead of with a server?

It is important to check that before asking if the lag is related to a server.

from palworld-server-docker.

TheKogoro avatar TheKogoro commented on August 15, 2024

First, many scanners will not check UDP protocols. Only TCP. Some that do scan UDP have different results depending on how it checks. Some routers can look at it as an attack and block it as well.

Second, to your question, did you make a custom cronjob for it? I don't see a "BACKUP_ON_STOP" value. The backup folder is in the same folder for the game volume.

At least on the NAS, what I did is made a task that I can quick trigger if I need to make a backup to the docker in question. But generally, I set a daily task to do a backup each day in the early hours of the morning since I have a backup done every few days to my offsite (so yes, I have a backup of the backup).

Its a weird question to ask but is the weird lag happening if you do a solo play? Like just playing within the game solo instead of with a server?

It is important to check that before asking if the lag is related to a server.

Hello,

For internet, i also added a rules on my router : Port 8211 out to 25650 (And in the server settings 25650 go to 8211) i do that because it always have :8211 when you go put the server ip in the game ^^ so it make both port will working.

for the Backups, i have added somes settings lines after resolved the internet problem . Actually, i have do a Internal save task on the Asustor NAS that just copy the whole folder "palworld-server" to a other location everyday with "skip files if no change" so it will save anyway ^^

New config:

version: "3.9"
services:
   palworld:
      image: thijsvanloef/palworld-server-docker:latest # Use :latest-arm64 tag instead of :latest for arm64 NAS
      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:
        - 25650:8211/udp
        - 27015:27015/udp
      environment:
        - PUID=1002
        - PGID=1000
        - PORT=8211
        - PLAYERS=6
        - SERVER_PASSWORD=PASSWORDIPUT
        - MULTITHREADING=true
        - RCON_ENABLED=true
        - RCON_PORT=25575
        - TZ=Europe/Zurich
        - ADMIN_PASSWORD=PASSWORDIPUT # You can secure the access to a server by using the admin password.
        - COMMUNITY=false  # Enable this with true if you want your server to show up in the community servers tab, USE WITH SERVER_PASSWORD above.
        - SERVER_NAME=Kogoro Server
        - SERVER_DESCRIPTION=Serveur Palworld de Kogoro (Heberge sur NAS)
        - UPDATE_ON_BOOT=True
        - BACKUP_ON_STOP=True
        - ZIP_BACKUPS=True
        - RETAIN_BACKUPS=
        - SCHEDULED_BACKUP=True
        - BACKUP_BEFORE_UPDATE=True
        - BACKUP_CRON=0 6 * * *
        - SCHEDULED_UPDATE=False
        - SCHEDULED_RESTART=True
        - BACKUP_ON_SCHEDULED_RESTART=False
        - RESTART_CRON=0 4 * * *
        
        - DIFFICULTY=None
        - DAYTIME_SPEEDRATE=1.000000
        - NIGHTTIME_SPEEDRATE=1.000000
        - EXP_RATE=1.300000
        - PAL_CAPTURE_RATE=2.000000
        - PAL_SPAWN_NUM_RATE=1.000000
        - PAL_DAMAGE_RATE_ATTACK=1.000000
        - PAL_DAMAGE_RATE_DEFENSE=1.000000
        - PLAYER_DAMAGE_RATE_ATTACK=1.500000
        - PLAYER_DAMAGE_RATE_DEFENSE=0.700000
        - PLAYER_STOMACH_DECREASE_RATE=1.000000
        - PLAYER_STAMINA_DECREASE_RATE=1.000000
        - PLAYER_AUTO_HP_REGEN_RATE=1.000000
        - PLAYER_AUTO_HP_REGEN_RATE_IN_SLEEP=1.000000
        - PAL_STOMACH_DECREASE_RATE=1.000000
        - PAL_STAMINA_DECREASE_RATE=1.000000
        - PAL_AUTO_HP_REGEN_RATE=1.000000
        - PAL_AUTO_HP_REGEN_RATE_IN_SLEEP=1.000000
        - BUILD_OBJECT_DAMAGE_RATE=1.000000
        - BUILD_OBJECT_DETERIORATION_DAMAGE_RATE=0.000000
        - COLLECTION_DROP_RATE=2.000000
        - COLLECTION_OBJECT_HP_RATE=1.000000
        - COLLECTION_OBJECT_RESPAWN_SPEED_RATE=1.000000
        - ENEMY_DROP_ITEM_RATE=2.000000
        - DEATH_PENALTY=None
        - ENABLE_PLAYER_TO_PLAYER_DAMAGE=False
        - ENABLE_FRIENDLY_FIRE=False
        - ENABLE_INVADER_ENEMY=True
        - ACTIVE_UNKO=True
        - ENABLE_AIM_ASSIST_PAD=True
        - ENABLE_AIM_ASSIST_KEYBOARD=False
        - DROP_ITEM_MAX_NUM=4079
        - DROP_ITEM_MAX_NUM_UNKO=100
        - BASE_CAMP_MAX_NUM=128
        - BASE_CAMP_WORKER_MAX_NUM=20
        - DROP_ITEM_ALIVE_MAX_HOURS=1.000000
        - AUTO_RESET_GUILD_NO_ONLINE_PLAYERS=False
        - AUTO_RESET_GUILD_TIME_NO_ONLINE_PLAYERS=72.00000
        - GUILD_PLAYER_MAX_NUM=20
        - PAL_EGG_DEFAULT_HATCHING_TIME=0.50000
        - WORK_SPEED_RATE=1.000000
        - IS_MULTIPLAY=True
        - IS_PVP=False
        - CAN_PICKUP_OTHER_GUILD_DEATH_PENALTY_DROP=False
        - ENABLE_NON_LOGIN_PENALTY=False
        - ENABLE_FAST_TRAVEL=True
        - IS_START_LOCATION_SELECT_BY_MAP=True
        - EXIST_PLAYER_AFTER_LOGOUT=False
        - ENABLE_DEFENSE_OTHER_GUILD_PLAYER=False
        - COOP_PLAYER_MAX_NUM=4
        - REGION=
        - USEAUTH=True
        - BAN_LIST_URL=https://api.palworldgame.com/api/banlist.txt
        
      volumes:
         - /volume1/Docker/palworld-server:/palworld

For the Lags/Stutter bug, i get than only when playing on the server, when i play solo i didnt have any problems.

EDIT: For the bug/lags, i play also on an other server that working with a strong machine on windows, i get exactly the same problem and the admin of the server too, so i dont think it's "this" server that cause the problem.

from palworld-server-docker.

TheKogoro avatar TheKogoro commented on August 15, 2024

I Always have backup Not working (or If it's working , it Make the backup in a folder that i doesnt See or have acces.) The backup folder in the Palworld folder is Always empty. I do a save everyday of the Palworld folder of the Server from the nas Save system because i didnt now If internat save of the Server is working and where the data is going (If it do a save)

from palworld-server-docker.

zapoqx avatar zapoqx commented on August 15, 2024

I Always have backup Not working (or If it's working , it Make the backup in a folder that i doesnt See or have acces.) The backup folder in the Palworld folder is Always empty. I do a save everyday of the Palworld folder of the Server from the nas Save system because i didnt now If internat save of the Server is working and where the data is going (If it do a save)

It should be in the same folder (palworld-server in your case), but while I'm sure I should be using the cronjob backup, I do not use that. Instead, I use the task schedule to do docker execute to the palworld server docker and run the command "backup" each night and send me the notification in an e-mail for the task to complete. It even adds the terminal result (which includes the backup and the save location).

from palworld-server-docker.

TheKogoro avatar TheKogoro commented on August 15, 2024

I Always have backup Not working (or If it's working , it Make the backup in a folder that i doesnt See or have acces.) The backup folder in the Palworld folder is Always empty. I do a save everyday of the Palworld folder of the Server from the nas Save system because i didnt now If internat save of the Server is working and where the data is going (If it do a save)

It should be in the same folder (palworld-server in your case), but while I'm sure I should be using the cronjob backup, I do not use that. Instead, I use the task schedule to do docker execute to the palworld server docker and run the command "backup" each night and send me the notification in an e-mail for the task to complete. It even adds the terminal result (which includes the backup and the save location).

I dont get Anny backup or files backup on the Palworld Server folder (i have a backup folder but it's Always empty). Instead i using the internal folder save from the NAS because i relly dont know If thé Server really do any save even If the config say Yes because i was unnable to find any save data (backups) in the Palworld Server folder.
Screenshot_20240323-170921

I think this method will also working, it copy the whole Server folder to save location. It dors that every night.

It Is possible to add a line in the config that Specify a folder for the save ? If Yes i can Try put a line that will force backup to go to a dedicated folder and watch If backup is proprely created. That will elimitate a problem that, possible the Server put backup in a system folder of docker that i dont have acces exept in SSH.

from palworld-server-docker.

zapoqx avatar zapoqx commented on August 15, 2024

I think this method will also working, it copy the whole Server folder to save location. It dors that every night.

First, try this in synology task schedule
docker exec palworld-server backup

Change "palworld-server" to the name of your palworld docker server if it isn't named exactly that.

Of course, have it send an e-mail notification to you so you can see results. It will tell you the terminal. Example:

Task: Backup Palworld
Start time: Sat, 23 Mar 2024 04:00:01 -0700
Stop time: Sat, 23 Mar 2024 04:00:03 -0700
Current status: 0 (Normal)
Standard output/error:
Complete Save
 [1;36m****Creating backup**** [0m
 [0;37mBackup created at /palworld/backups/palworld-save-2024-03-23_04-00-01.tar.gz [0m

If the backup errors, it will show it right then and there.

from palworld-server-docker.

TheKogoro avatar TheKogoro commented on August 15, 2024

I think this method will also working, it copy the whole Server folder to save location. It dors that every night.

First, try this in synology task schedule docker exec palworld-server backup

Change "palworld-server" to the name of your palworld docker server if it isn't named exactly that.

Of course, have it send an e-mail notification to you so you can see results. It will tell you the terminal. Example:

Task: Backup Palworld
Start time: Sat, 23 Mar 2024 04:00:01 -0700
Stop time: Sat, 23 Mar 2024 04:00:03 -0700
Current status: 0 (Normal)
Standard output/error:
Complete Save
 [1;36m****Creating backup**** [0m
 [0;37mBackup created at /palworld/backups/palworld-save-2024-03-23_04-00-01.tar.gz [0m

If the backup errors, it will show it right then and there.

I using an Asustor NAS, is very similar to synology but i didnt have Sames fonctions. I didnt know where to run that, the only sheedule settings i found is for basic settings . It Is possible to put this command in SSH ? Just for Try and See If backup is Make proprely.

from palworld-server-docker.

zapoqx avatar zapoqx commented on August 15, 2024

I using an Asustor NAS, is very similar to synology but i didnt have Sames fonctions. I didnt know where to run that, the only sheedule settings i found is for basic settings . It Is possible to put this command in SSH ? Just for Try and See If backup is Make proprely.

You can use SSH, but not sure if the instructions are similar. Though that said, that means the issue you are facing isn't related to synology.

That said, the only hint I'd give in this case is install Portainer community edition as it comes with a terminal for each docker so you can just run the command. With this, you would not only see if "backup" can run, but also "rcon-cli" if you use it because it can tell alot more. If rcon-cli is broken after an update, it is usually known because an error may be said on startup, but when using the console for the docker, if rcon-cli fails to start, then you have more issues at hand (unless it is actually broken for whatever reason).

from palworld-server-docker.

TheKogoro avatar TheKogoro commented on August 15, 2024

I using an Asustor NAS, is very similar to synology but i didnt have Sames fonctions. I didnt know where to run that, the only sheedule settings i found is for basic settings . It Is possible to put this command in SSH ? Just for Try and See If backup is Make proprely.

You can use SSH, but not sure if the instructions are similar. Though that said, that means the issue you are facing isn't related to synology.

That said, the only hint I'd give in this case is install Portainer community edition as it comes with a terminal for each docker so you can just run the command. With this, you would not only see if "backup" can run, but also "rcon-cli" if you use it because it can tell alot more. If rcon-cli is broken after an update, it is usually known because an error may be said on startup, but when using the console for the docker, if rcon-cli fails to start, then you have more issues at hand (unless it is actually broken for whatever reason).

Hello, i have Portainer but i was unable to execute commands , i get this:
I dont know how i need to make the propper command to make this working, i am not a linux guy.
Capture

i tried with rcon-cli to run a shutdown and "Save" but it just say "Save is done" but i think it only save the actual game and not making backup. i doesnt found how to make launch a backup .

I also tried to use "Custom command button" where is the console and put "docker exec palworld-server backup" but it does nothing, just a black box blink and nothing happen. (sorry to be noob X) and thanks for the help, i appreciate )

OK, in the terminal i just need to put "Backup" and it worked:

Capture

But note that when i order a shutdown, it only do a save, no any Backup even if "- BACKUP_ON_STOP=true" is on the settings.

from palworld-server-docker.

zapoqx avatar zapoqx commented on August 15, 2024

Yea, the save system is saved to the instance that is running for the game with its ID. Backup exports all of the files associated in there and the folder ID it is in.
So it is working, the cronjob automatic is just failing to do so.
Yea, when you use portainer to connect to the terminal, you have to ignore using "docker" commands because you're already in that docker instance so commands will work out the gate the way they are meant to.
So to me, you will need to either figure out a fix with the cron job or you may need to figure out how to get your asus nas to run a schedule command to run the backup manually.

from palworld-server-docker.

TheKogoro avatar TheKogoro commented on August 15, 2024

Yea, the save system is saved to the instance that is running for the game with its ID. Backup exports all of the files associated in there and the folder ID it is in. So it is working, the cronjob automatic is just failing to do so. Yea, when you use portainer to connect to the terminal, you have to ignore using "docker" commands because you're already in that docker instance so commands will work out the gate the way they are meant to. So to me, you will need to either figure out a fix with the cron job or you may need to figure out how to get your asus nas to run a schedule command to run the backup manually.

I was able to make it working now, i get this in the logs:


time="2024-03-24T00:00:00+01:00" level=info msg=starting iteration=0 job.command="bash /usr/local/bin/backup" job.position=0 job.schedule="0 0 * * *"

time="2024-03-24T00:00:00+01:00" level=info msg="Complete Save" channel=stdout iteration=0 job.command="bash /usr/local/bin/backup" job.position=0 job.schedule="0 0 * * *"

time="2024-03-24T00:00:00+01:00" level=info msg="\x1b[1;36m****Creating backup****\x1b[0m" channel=stdout iteration=0 job.command="bash /usr/local/bin/backup" job.position=0 job.schedule="0 0 * * *"

time="2024-03-24T00:00:00+01:00" level=info msg="\x1b[0;37mBackup created at /palworld/backups/palworld-save-2024-03-24_00-00-00.tar.gz\x1b[0m" channel=stdout iteration=0 job.command="bash /usr/local/bin/backup" job.position=0 job.schedule="0 0 * * *"

time="2024-03-24T00:00:00+01:00" level=info msg="\x1b[1;36m****Removing Old Backups****\x1b[0m" channel=stdout iteration=0 job.command="bash /usr/local/bin/backup" job.position=0 job.schedule="0 0 * * *"

time="2024-03-24T00:00:00+01:00" level=info msg="\x1b[0;37mRemoving backups older than 10 days\x1b[0m" channel=stdout iteration=0 job.command="bash /usr/local/bin/backup" job.position=0 job.schedule="0 0 * * *"

time="2024-03-24T00:00:00+01:00" level=info msg="job succeeded" iteration=0 job.command="bash /usr/local/bin/backup" job.position=0 job.schedule="0 0 * * *"

It seem work because has created a new save in the savedata folder dated as midnight.
the problem seem to be a space or a bad character in the line that make the job ^^' simple mistake but never checked that.

from palworld-server-docker.

thijsvanloef avatar thijsvanloef commented on August 15, 2024

This issue has been opened quite some time ago and this thread has slowly become a troubleshooting discussion instead of a single issue, are you folks ok with it if I convert this issue into a discussion?

from palworld-server-docker.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.