ayufan / pve-backup-server-dockerfiles

Unofficial, and unmaintained build of proxmox-backup-server
348 stars 60 forks source link

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

Closed woshilaiba closed 2 years ago

woshilaiba commented 2 years ago

description: https://github.com/ayufan/pve-backup-server-dockerfiles/issues/11#issuecomment-995902984

nath67 commented 2 years ago

Hello,

You have to remove the image and then you can rebuild the container : _cd _ sudo docker-compose down _sudo docker image rm _ 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.

ayufan commented 2 years ago

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.

nath67 commented 2 years ago

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

This also works and easier 👍

woshilaiba commented 2 years ago

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:

volumes: pbs_etc: pbs_logs: pbs_lib:

docker-compose.override.yml

version: '2.1'

services: pbs: volumes:

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

woshilaiba commented 2 years ago

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

woshilaiba commented 2 years ago

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 .

woshilaiba commented 2 years ago

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

woshilaiba commented 2 years ago

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.