-
Hello community, File "/root/.local/lib/python3.11/site-packages/dbbackup/utils.py", line 119, in wrapper Traceback (most recent call last): ERROR: InvenTree command failed: 'python3 manage.py dbbackup --noinput --compress -v 2'
For me it looks like postgres database issue but docker compose up -d shows normal: [+] Running 4/4 Thanks in advance for any advice, |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
The error message indicates that (for whatever reason) the inventree server container cannot "see" the database container for the backup operation
This setup is outside the scope of what we can document and support with regards to docker. Maybe someone who is more familiar with proxmox can assist here |
Beta Was this translation helpful? Give feedback.
-
Just wanted to report back, I managed to solve the problem. Initial issue was caused by my rookie attempt to tar.gz the /data folder as a backup. The operation succeeded but also duplicated each asset file within database by a *.gz copy. The resulted set of files rendered the database malfunctioning. |
Beta Was this translation helpful? Give feedback.
Just wanted to report back, I managed to solve the problem. Initial issue was caused by my rookie attempt to tar.gz the /data folder as a backup. The operation succeeded but also duplicated each asset file within database by a *.gz copy. The resulted set of files rendered the database malfunctioning.
The fix was easy, extract and delete each *.gz file within /data folder, followed by invoke update procedure.