whiskerz007 / proxmox_tuya-convert_container

MIT License
84 stars 37 forks source link

Template error line 166 on install #27

Closed arcascomp closed 9 months ago

arcascomp commented 9 months ago

Hi,

Getting the following while running the create script on a new Proxmox 8.0.3 server:

root@prox:~# bash -c "$(wget -qLO - https://github.com/whiskerz007/proxmox_tuya-convert_container/raw/master/create_container.sh)" [INFO] Using 'local-lvm' for storage location. [INFO] Using 'wlx001d437023a5' wireless interface. [INFO] Container ID is 100. Updating LXC template list... Downloading LXC template... bash: line 166: TEMPLATES: bad array subscript

Pretty new to Proxmox and containers and I can't seem to work out what's going on, any pointers would be great.

Thanks

arcascomp commented 9 months ago

Ok, so I've done a bunch more googling etc., and reading through the script and I think the problem is the script is looking for a Debian 10 template but the version of Proxmox I have only has Debian 11 and 12 templates in system. I found how to download a Debian 10 template, but that doesn't show as system - so still stuck! :-)

arcascomp commented 9 months ago

Further update for anyone else with the same issue, I wget (got) the script locally to proxmox server, edited the line (160) to look for Debian 11 instead and ran it locally. That got past this issue and then hit another on the config script, iw not found. Working on that next....

arcascomp commented 9 months ago

I think I've got as far as I can now, either Debian 11 or 12 templates stop at the same point, it would seem the configure script is failing to find iw in the template and therefore fails to complete.

Not sure how to fix that.

arcascomp commented 9 months ago

Noticed a few comments elsewhere pointing people to forks for some other issues, so has a dig. This one closes all my problems installing, so might be of user to others:

https://github.com/Casino/proxmox_tuya-convert_container