Gå till innehållet

Troubleshooting

Status

Use docker compose ps to show the status of components.

Example

cd /opt/synkzone/{world,organization}
docker compose ps     # show running components
docker compose ps -a  # include stopped components

Resource usage

Use docker compose stats to show container resource usage statistics.

Example

cd /opt/synkzone/{world,organization}
docker compose stats    # show usage statistics

Logs

Use docker compose logs to view the console logs of components.

Example

cd /opt/synkzone/{world,organization}
docker compose logs -f       # view logs for all components
docker compose logs -f main  # view logs for the main component

Use tail to view the file logs of components.

Example

cd /opt/synkzone/{world,organization}
tail -f */logs/*.log                     # view logs for all components
tail -f main/logs/OrganizationServer.log # view logs for the main component
tail -f world/logs/WorldServer.log       # view logs for the world component

Note

The logging level can be increased or reduced by editing logging.properties. See main/logging.properties and world/logging.properties.