mariadb from 11.0.2-MariaDB, client 15.2 for debian-linux-gnu (x86_64) using EditLine wrapper
I am running all of these on docker containers:
version: '3'
services:
pydio:
image: pydio/cells:latest
container_name: pydio_cells
restart: unless-stopped
volumes:
- ./cells:/var/cells
- /mnt/moms-data/.pydio-cells:/var/cells/data
depends_on:
- mariadb
environment:
- MONGO_INITDB_ROOT_USERNAME=XXXX
- MONGO_INITDB_ROOT_PASSWORD=XXXX
network_mode: host
mariadb:
image: mariadb:latest
container_name: pydio_mariadb
restart: unless-stopped
environment:
- MYSQL_ROOT_PASSWORD=XXXX
- MYSQL_DATABASE=XXXX
- MYSQL_USER=XXXX
- MYSQL_PASSWORD=XXXX
volumes:
- ./mariadb:/var/lib/mysql
network_mode: host
mongodb:
image: mongo:4.4.6 # cpu doesnt support v5+
container_name: pydio_mongodb
restart: unless-stopped
environment:
- MONGO_INITDB_ROOT_USERNAME=XXXX
- MONGO_INITDB_ROOT_PASSWORD=XXXX
volumes:
- ./mongodb:/data/db
- ./mongo-init-scripts:/docker-entrypoint-initdb.d # any .js file in this dir will get ran on init
network_mode: host
What steps have you taken to resolve this issue already?
I have backedup the database earlier today by running
cp -r pydio .pydio_backup1_6_27_2023
I have then tried to copy the current database to a tmp dir and use the backed up version of the databases, but it did not work.
Also when this first occurred (after the reboot) I was not on the latest versions of mariadb nor pydio, I have tried running the version before the latest on both as well as the current latest version.
Important: Remove secrets (IPs, API keys, e-mail addresses, etc) from Pydio Cells log files before posting it. Note: English is not my native language, so you may have difficulty understanding what I write.
I think this error is related to a serious bug Pydio has managing large datasources.
My suggestion for confirming it:
1 - Stop Pydio;
2 - Rename the “personal” and “thumbs” folders and create empty folders with same names;
Hello sorry for the late reply, I was a bit busy yesterday registering for classes for university. I did steps 1-3 and I was able to see my files again, very confused on why that worked.
I was able to do step 4 and upload a file. Should I still do step 5? It seems that I can access all of the files, but I am very confused on how and why mving those folders worked
EDIT 1:
I can view these files, but cannot download them (except for the iso that I just uploaded)
EDIT 2:
I ran the step 5 commands and now its behaving like it did before:
Step 5 restores your files to their original location. So I think you’d better do it.
Although you are seeing your files, have you tried to open any of them?
Make sure you can open/download them. If not, perform step 5.
3 - Mount the datasources personal and thumbs on empty folders
mount --bind /mnt/moms-data/.pydio-cells/personal.empty /mnt/moms-data/.pydio-cells/personal
mount --bind /mnt/moms-data/.pydio-cells/thumbs.empty /mnt/moms-data/.pydio-cells/thumbs
4 - Start Pydio;
5 - Unmount the empty folders/restore your files;