Generation of HASHIDS_SALT does not work for existing installs
Author: jondyczCreated Aug 11, 2026Updated Aug 11, 2026
Current Behavior
Currently the code for generating HASHIDS_SALT if not provided are guarded within an else block of the following clause: if [ -f /app/var/.env ];
Meaning if .env exists from previous installations, the HASHIDS_SALT gets never generated and requires users to delete the .env in order for the startup scrip to generate the variable.
Expected Behavior
HASHIDS_SALT should be generated when missing whether it is the first run or not.
Steps to Reproduce
from an existing installation, remove HASHIDS_SALT from /app/var/.env and make sure it is not set in docker compose. Restart the container. This should cause "Database" tab of a game server in the customer UI to throw an error 500
Panel Version
1.15.0
Wings Version
1.13.2
Games and/or Eggs Affected
No response
Docker Image
No response
Error Logs
Is there an existing issue for this?
- I have searched the existing issues before opening this issue. I understand that maintainers may close this issue without communication if I have not provided sufficient information.
Source: pterodactyl/panel