Hello. I’m trying a turnkey image on Proxmox from it’s built-in turnkey template library…observium in this case. In Proxmox, when you build a container, you always specify the root password (you have to), select a template (chose the observium one), then set ip, etc.
When I did this and started the container, I go straight to the standard linux login, where I provided the root password I set when I configured the VM. Nothing further happened. I went to the web page specified in the instructions and got the initfence page saying I needed to set up the system first, which I was never prompted to do on first boot.
So, I stopped the turnkey-init-fence app and was able to bring up the Observium login page, but alas, the passwords were never generated by turnkey! I could go in and set them in the MySQL database, but I’d rather figure out why that system init by Turnkey never ran. It should have provided the root password, and app passwords.
In fact, after I rebooted and got the login prompt, I could no longer log in using the password I initially set on the container! I’m assuming this init process finally ran and set the root password. Now I can’t log in at all.
What should I have seen/done? As I stated, as soon as the container started it went straight to the linux login shell. After login, I never saw any process to show me the passwords it was setting up.
Well, I found and ran turnkey-init and was able to set the root and adminer passwords and do an upgrade. So, that’s the key. Turnkey-init does not run automatically when adding templated VMs in Proxmox. You need to run it manually once you first log in.
Hey thanks for reporting this. I’m looking into it now. Maybe we can improve the integration with Proxmox.
I’ve confirmed that this is a real defect that we want to fix ASAP
This is fixed now. Thanks for reporting it, and sorry for the frustrating first experience.
Running turnkey-init manually was the right workaround. Setup should have started automatically after your first root login. We fixed that, along with an Observium-specific bug in the admin password prompt. The corrected template also preserves the root password you set in Proxmox, including after updates and reboots.
The updated Observium template is 19.0-2. To try it:
- Run
pveam update in the Proxmox host’s shell to refresh the template list.
- Download
debian-13-turnkey-observium_19.0-2_amd64.tar.gz from your storage’s CT Templates → Templates list.
- Create a new container, start it, and log in as root through the Proxmox console or SSH. Setup should launch automatically and prompt for the application passwords.
We tested a fresh download in Proxmox through to a successful Observium web login, including cancelling and resuming setup. If setup is interrupted, you can resume with turnkey-init; leave the web setup fence enabled until setup completes.
If your existing container is working after the manual setup, you don’t need to recreate it just to test this. Refreshing the template list only affects new downloads, not existing containers.
1 Like
Awesome! Thanks for the quick turnaround. Very much appreciated!