Unix socket permissions on unprivileged container

molware

Member
Dec 2, 2019
8
0
6
27
Restoring some VM's/containers from a corrupted pve install(keep backups folks), and running into issues rebuilding the config for a nextcloud container. The container had a functioning nextcloud snap package installed. Trying to start the nextcloud service results in an error with the redis server.

Redis log file shows a permissions issue.

Code:
1447:M 31 Jan 2021 19:29:20.044 # Opening Unix socket: bind: Operation not permitted

Container Conf:
Code:
arch: amd64
cores: 2
features: nesting=1
hostname: ncloud
memory: 4096
net0: name=eth0,bridge=vmbr0,firewall=1,hwaddr=3A:6C:E7:DE:DD:AF,ip=dhcp,type=veth
ostype: ubuntu
rootfs: vmstorage:subvol-104-disk-0,size=8G
swap: 1024
unprivileged: 1
lxc.mount.entry: /dev/fuse dev/fuse none bind,create=file 0 0
 
hi,

lxc.mount.entry: /dev/fuse dev/fuse none bind,create=file 0 0
instead of this you can also try activating the fuse feature? (same place as nesting)
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!