-
-
Notifications
You must be signed in to change notification settings - Fork 62
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
New setup won't start on Portainer #44
Comments
I will take a look tomorrow.
…On Sun, Dec 3, 2023 at 9:17 PM Ryan Harris ***@***.***> wrote:
I initially made this comment on another issue before I realized it wasn't
exactly the same.
I set up a new stack in Portainer with the details below and the container
log showed the copy of default files and they appear on my mounted volume
so that seems good. However, despite dropping the stack and redeploying
(once with v2.4.1) I get the same output:
PROXY: Starting...
rm: cannot remove '/etc/proxmox-backup/.*.lck': No such file or directory
rm: cannot remove '/etc/proxmox-backup/*.lock': No such file or directory
/etc/proxmox-backup is a mountpoint
/var/lib/proxmox-backup is a mountpoint
/var/log/proxmox-backup is a mountpoint
/run is a mountpoint
API: Starting...
I've let it sit like this for over 30 minutes without any movement. I'm
guessing I'm doing something wrong, any ideas?
image.png (view on web)
<https://github.com/ayufan/pve-backup-server-dockerfiles/assets/1320624/b3e341a8-b285-4f92-8ba1-ffd71755feb4>
docker-compose.yml:
version: '2.1'
services:
proxmox-backup:
image: ayufan/proxmox-backup-server:latest
network_mode: host
mem_limit: 2G
volumes:
- backups:/backups
- pbs_etc:/etc/proxmox-backup
- pbs_logs:/var/log/proxmox-backup
- pbs_lib:/var/lib/proxmox-backup
environment:
TZ: America/Detroit
tmpfs:
- /run
cap_add:
- SYS_RAWIO
devices:
- /dev/mmcblk0
- /dev/sda
restart: unless-stopped
stop_signal: SIGHUP
labels:
- "traefik.enable=true"
- "traefik.http.routers.proxmox-http.rule=Host(`proxmox.it-clowd`)"
- "traefik.http.routers.proxmox-http.entrypoints=web"
- "traefik.http.routers.proxmox-https.rule=Host(`proxmox.it-clowd`)"
- "traefik.http.routers.proxmox-https.entrypoints=websecure"
- "traefik.http.routers.proxmox-https.tls.certresolver=basic"
- "traefik.http.services.proxmox-service.loadbalancer.server.port=8007"
volumes:
backups:
driver: local
driver_opts:
type: ''
o: bind
device: /media/data/proxmox/backups
pbs_etc:
driver: local
driver_opts:
type: ''
o: bind
device: /media/data/proxmox/etc
pbs_logs:
driver: local
driver_opts:
type: ''
o: bind
device: /media/data/proxmox/logs
pbs_lib:
driver: local
driver_opts:
type: ''
o: bind
device: /media/data/proxmox/lib
Let me know if you need any other details
Thanks!
—
Reply to this email directly, view it on GitHub
<#44>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/AASOSQN6YUHY4ARAFSPCPU3YHTM5VAVCNFSM6AAAAABAFAUH76VHI2DSMVQWIX3LMV43ASLTON2WKOZSGAZDENRZG44TQNI>
.
You are receiving this because you are subscribed to this thread.Message
ID: ***@***.***>
|
Interesting, the kernel is latest, but u r use aarch64 architecture... @ayufan wating fo ya suggestion homie 👍 |
...and behaviour is the same as mine. |
sorry, not trying to be pushy, but have you had a chance to look into this? |
I tested this on vanilla docker, with recent enough kernel and it seems to work. Maybe you cannot access the container? The docker-compose uses |
I am having the same issues with my portainer config. Also, I've tried running this: With the same issues. Docker version 24.0.7 on Debian buster |
Having the same issue here, using this startup command:
Using Docker 25.0.0 with kernel 6.2.16-6-pve (Proxmox VE Kernel) |
Got it to run using this command from this repository: https://github.com/Tontonjo/docker/tree/main/pbs:
maybe the folders bound to the container were not having the right permissions, or in my case it was maybe because I mounted the whole /etc, /var/log and /var/lib? No idea tbh, but it works ¯_(ツ)_/¯ |
I tried that as well. Seems most of these folks are using some NAS box running something like Unraid. I think it's my version of Debian Buster and docker that could be the issue. Even though I am running like 20 containers on it. |
I initially made this comment on another issue before I realized it wasn't exactly the same.
I set up a new stack in Portainer with the details below and the container log showed the copy of default files and they appear on my mounted volume so that seems good. However, despite dropping the stack and redeploying (once with v2.4.1) I get the same output:
I've let it sit like this for over 30 minutes without any movement. I'm guessing I'm doing something wrong, any ideas?
docker-compose.yml:
Let me know if you need any other details
Thanks!
The text was updated successfully, but these errors were encountered: