ayufan/pve-backup-server-dockerfiles

tmpfile in "/run/proxmox-backup/shmem" failed - EISDIR: Is a directory

Closed this issue · 8 comments

description: #11 (comment)

Hello,

You have to remove the image and then you can rebuild the container :
cd <the_path_of_your_container>
sudo docker-compose down
sudo docker image rm <image_name>
sudo docker-compose up -d

You have to do this because it uses the same tag as the previous one before the fix so it doesn't pull the new one.

Nope. You don't have to do it. Just do docker-compose pull, and then docker-compose up -d. You need to also specify tmpfs.

Nope. You don't have to do it. Just do docker-compose pull.

This also works and easier 👍

i just delete the old container with "docker rm [container id]", then docker pull image:latest
,and it is pulled to local.
after that i do the "docker-compose up -d" again, and when i login, the error occurred

i also checked the type of "/run", it is tmpfs.

docker-compose.yml

version: '2.1'

services:
pbs:
image: ayufan/proxmox-backup-server:latest
network_mode: host
mem_limit: 3G
volumes:
- pbs_etc:/etc/proxmox-backup
- pbs_logs:/var/log/proxmox-backup
- pbs_lib:/var/lib/proxmox-backup
tmpfs:
- /run
restart: unless-stopped
stop_signal: SIGHUP

volumes:
pbs_etc:
pbs_logs:
pbs_lib:

docker-compose.override.yml

version: '2.1'

services:
pbs:
volumes:
- backups:/backups

volumes:
backups:
driver: local
driver_opts:
type: ''
o: bind
device: /volume1/pb

volumes:
pbs_etc:
driver: local
driver_opts:
type: ''
o: bind
device: /volume1/docker/forpbs/etc
pbs_logs:
driver: local
driver_opts:
type: ''
o: bind
device: /volume1/docker/forpbs/log
pbs_lib:
driver: local
driver_opts:
type: ''
o: bind
device: /volume1/docker/forpbs/lib

so strange!
it works on ubuntu20.04
"ubuntu2004 kernel 5.13.19-2"

but does not work on synology6.1.7 kernel 3.10.102

so strange! it works on ubuntu20.04 "ubuntu2004 kernel 5.13.19-2"

but does not work on synology6.1.7 kernel 3.10.102

workaround:
there is a file named "config-versions" in shmem,
i copy it to the container on synology6.1.7, it works!!!
but don't know if there are other problems .

problems confirmed , at least i can't modify the passwd for admin from the web page, it will show an error "Function not implemented (os error 38)"
so just give up on synology6.1.7

problems confirmed , at least i can't modify the passwd for admin from the web page, it will show an error "Function not implemented (os error 38)" so just give up on synology6.1.7

”statx () was added to Linux in kernel 4.11“ ,so prompt this error.