Hello all,
New to proxmox, but I have been working with Linux machines and software in my home lab for the past 10 years.
I am getting an error when trying to start the turn-key nextcloud template. I tried starting the lxc with the debug flag to get a more detailed log:
This container is set to run it's primary storage from the local internal disk. And then a separate SMB disk is mounted as mp0 to provide storage for user files. The above log is what I receive when starting the container with
New to proxmox, but I have been working with Linux machines and software in my home lab for the past 10 years.
I am getting an error when trying to start the turn-key nextcloud template. I tried starting the lxc with the debug flag to get a more detailed log:
Code:
root@prox1:~# pct start 120 --debug
run_buffer: 322 Script exited with status 255
lxc_init: 844 Failed to run lxc.hook.pre-start for container "120"
__lxc_start: 2027 Failed to initialize container "120"
0 hostid 100000 range 65536
INFO lsm - ../src/lxc/lsm/lsm.c:lsm_init_static:38 - Initialized LSM security driver AppArmor
INFO conf - ../src/lxc/conf.c:run_script_argv:338 - Executing script "/usr/share/lxc/hooks/lxc-pve-prestart-hook" for container "120", config section "lxc"
DEBUG conf - ../src/lxc/conf.c:run_buffer:311 - Script exec /usr/share/lxc/hooks/lxc-pve-prestart-hook 120 lxc pre-start produced output: mount: /var/lib/lxc/.pve-staged-mounts/mp0: can't read superblock on /dev/loop0.
dmesg(1) may have more information after failed mount system call.
DEBUG conf - ../src/lxc/conf.c:run_buffer:311 - Script exec /usr/share/lxc/hooks/lxc-pve-prestart-hook 120 lxc pre-start produced output: command 'mount /dev/loop0 /var/lib/lxc/.pve-staged-mounts/mp0' failed: exit code 32
ERROR conf - ../src/lxc/conf.c:run_buffer:322 - Script exited with status 255
ERROR start - ../src/lxc/start.c:lxc_init:844 - Failed to run lxc.hook.pre-start for container "120"
ERROR start - ../src/lxc/start.c:__lxc_start:2027 - Failed to initialize container "120"
startup for container '120' failed
This container is set to run it's primary storage from the local internal disk. And then a separate SMB disk is mounted as mp0 to provide storage for user files. The above log is what I receive when starting the container with
--debug
but I get a significantly less detailed description from the container when run without this flag:
Code:
run_buffer: 322 Script exited with status 255
lxc_init: 844 Failed to run lxc.hook.pre-start for container "120"
__lxc_start: 2027 Failed to initialize container "120"
TASK ERROR: startup for container '120' failed
Last edited: