Access denied using TKL CT in PVE

Hey all. I’ve been a Windows user all my life, but now making the switch to Linux, and it’s the most unbelievably difficult thing I’ve ever done in my entire MFing life.

So, I’ve been messing around with Proxmox and built a Syncthing container with Turnkey Linux. One issue I’ve been having is that TKL users need to register with Turnkey’s website to post on their forum but they haven’t approved me in over a month of waiting… So they obviously aren’t going to help me.

Another issue I’m now experiencing is I’ve tried adding a new folder to my PVE device using the web GUI as </mnt/storage/newfolder> but it says I don’t have access. So I read through some forums and ended up going into the PVE’s CT terminal and adding the file <mkdir /mnt/storage/newfolder.stfolder> but now instead of getting the error it now just says “Out of Sync” in red without the access denied error, and it still never transfers the files. Also, I’ve been using the regular username that I’ve always been using since i set it up via web GUI but can’t seem to login with root using the web GUI (but I CAN login to root in the container’s console.)

Any help would be appreciated.

You’re basically doing the Windows equivalent of running Syncthing in Windows via Hyper-V on a Windows Server box, which is overly complicated starting out.

I highly recommend at least skimming thru PVE’s documentation first before starting to use it because there are a lot of buttons that can be pushed and knobs that can be turned (there’s a good reason why the admin guide is 650 pages):

Adding /mnt/storage/newfolder via PVE’s web GUI as a new storage target is completely different from creating the same path inside the LXC container running Syncthing.

The container is effectively a self-contained Linux machine, so issuing the command mkdir /mnt/storage/newfolder via the CT console means the directory path is inside the VM.

Depending on if the storage target the container is in is a logical volume or a simple subdirectory somewhere in PVE affects permissions management.

The Syncthing container is a self-contained Linux system, so its root user account is completely separate from PVE’s root user.

By default, root via PVE’s web GUI is the same user as in the (Debian Linux) OS side. If you cannot log on as root at the Linux console, then you’ll have to reset the root password.

Start with a bare-metal Linux installation with Syncthing. Once that’s working, step up to Linux in a VM using VirtualBox or something similar.

Although PVE can be used in a home computing setup, its primary focus is enterprise environments, so the learning curve is steeper.

3 Likes

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.