I am trying to install Alta Control in Proxmox as an LXC container. I’ve seen that some users have been successful with the installation, but I haven’t been able to get it working so far.
I followed the LXD installation guide, but I’m unable to execute the command lxc image import. I also tried importing the image directly into Proxmox and creating a container from it, but that doesn’t work either, as I encounter an error during the container creation process.
I’m not a Proxmox expert and have only been testing it out in a VirtualBox installation on my Mac but, having said that, I did manage to get an Alta Control container up and running.
As far as I’m aware Proxmox can’t easily use the LXD container linked in the Alta Control PDF installation guide. I used the “raw root filesystem” tar.gz file linked under “Notes” on the Docker instruction page here.
I selected my local storage in Proxmox, created a CT Template using the .tar.gz linked above and then was able to create a container using the newly created template. That got me a working container.
I can’t guarantee how well it works beyond that as I’m just testing out Proxmox at the moment.
Thanks a lot for your response! I was able to successfully create the LXC container using the method you mentioned, with the raw root filesystem tar.gz file. That worked much better than I expected.
The only issue I encountered is that the IP configuration wasn’t automatically applied when creating the container, so I had to manually set the IP details using netplan. Once I did that, everything seemed to work fine.
What do you mean you manually set this up with netplan? I am stuck here as the lxc commands dont work in proxmox so i cannot setup the network to see the devices.
When creating a Proxmox container, you need to configure the IP settings. After creating the container using the Alta control image, I ran the command ifconfig in the console to verify whether the interface had been assigned the IP I configured. Since it wasn’t, I manually set the IP using Ubuntu’s Netplan.
To do this, run ls /etc/netplan in the console to find the .yaml file containing the network configuration for the container. Edit this file with your desired IP configuration and apply the changes.
It’s all rather weird - coming at this as a newbie.
I’ve just been trying to get this setup on a new Proxmox host and I didn’t need to use netplan. When I first created the container, i couldn’t connect to the Alta Controller. I checked the network settings for the container in the Proxmox GUI, changed something, it then worked, changed it back to the original settings, still worked. Maybe the default settings just needed me to re-save them in the GUI?
I then had unrelated issues so it’s still a work in progress for me.
Maybe it’s enough to just re-save the IP config in Proxmox. I didn’t try that and ended up fixing it with netplan instead.
The controller is up and running now, but the setup process wasn’t as straightforward as expected, especially when configuring the Route 10. I ran into several issues and ended up having to factory reset the Route 10 about three times because the controller became unreachable on the default VLAN. Since the controller is only accessible via the DDNS link and not the IP address, this has been really frustrating.
I still haven’t figured out how to access the controller remotely. The cloud controller uses a different account from the local one. I also have a UniFi VM controller running, which connects to the cloud and allows me to manage it from anywhere. If the Alta controller were reachable via IP address, I would just set up a port forward, but I have no idea how to do this with a DDNS link.
Did you setup DHCP or were you trying to use a static IP?
For me, I also had to use netplan when trying to assign a static IP and VLAN tag. Without it, the Ubuntu instance within the container was overriding the proxmox settings and using a dynamic IP it requested via DHCP.
Ah I think that’s what happened for me. I left it as DHCP as I was setting it up on my old network and thought that would be easier when I started from scratch with the Route10. After I had it all up and running I changed it to static in the Proxmox GUI but, if I remember correctly, I also added the IP (DHCP reservation?) to the controller container in Alta Control at the same time. Still learning about all this networking/Proxmox stuff so I imagine my methods are somewhat unorthodox!
I guess the use of the Local DDNS link makes setting a static IP less important anyway?