Floating Server
...
Deployment Methods
Docker

Troubleshooting

4min

If your questions are not answered on this page or within the FAQ, please submit a support ticket and our support team will respond as soon as possible!

Issue: Missing or Incorrect Configuration File

Solution: Ensure that the config.yaml file is placed in the directory from which you are running the Docker container. The configuration file must include the correct settings, such as the database type (Redis or file-based) and API keys. Double-check that the path to the config.yaml file is correctly specified in the Docker Compose file:

YAML


Issue: Redis Container Not Communicating with the Floating Server

Solution: Ensure both Redis and the Floating Server are running on the same Docker network. You can create a Docker network and connect both containers to it:

docker network create fs-network docker run -d --net fs-network --name redis -p 6379:6379 redis/redis-stack-server:latest docker run -d --net fs-network --name floating-server -p 8080:8080 -v $PWD/config.yaml:/opt/server/config/config.yaml censedata/floating-server:latest

Issue: Redis Data Not Persisting After Container Restart

Solution: Ensure that a Docker volume is created and mounted to persist Redis data:

YAML


This ensures that data will be preserved even if the container is stopped or restarted.

Issue: Floating Server Not Accessible

Solution: Verify that the ports are correctly exposed in the Docker configuration. For example:

YAML


This exposes the Floating Server on port 8080. Check your firewall and network settings to ensure the port is open.