Skip to content
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

sqlite3.OperationalError: disk I/O error #11

Open
loraine-gueguen opened this issue Mar 18, 2024 · 0 comments
Open

sqlite3.OperationalError: disk I/O error #11

loraine-gueguen opened this issue Mar 18, 2024 · 0 comments

Comments

@loraine-gueguen
Copy link

Do you get error "sqlite3.OperationalError: disk I/O error" when the askomics volume is stored on the NFS filesystem ?

I have this error when the volume is stored on the NFS file system in the askomics, celery_askomics, celerybeat_askomics services :
- ../../../finalresult/phaeoaskomics_docker-data/askomics:/tmp/askomics

In docker inspect flaskomics-docker-compose_standalone-askomics-1 output:

        "Mounts": [
            {
                "Type": "bind",
                "Source": "/shared/projects/phaeoaskomics/finalresult/phaeoaskomics_docker_data/askomics",
                "Destination": "/tmp/askomics",
                "Mode": "rw",
                "RW": true,
                "Propagation": "rprivate"
            }
        ],

And:

$ stat -f -c %T /shared/projects/phaeoaskomics/finalresult/phaeoaskomics_docker_data/askomics
nfs

The error does not happen when the volume is stored locally:
- /tmp/askomics:/tmp/askomics

$ stat -f -c %T /tmp/askomics
ext2/ext3

In docker inspect flaskomics-docker-compose_standalone-askomics-1 output:

        "Mounts": [
            {
                "Type": "bind",
                "Source": "/tmp/askomics",
                "Destination": "/tmp/askomics",
                "Mode": "rw",
                "RW": true,
                "Propagation": "rprivate"
            }
        ],

Works fine as well with a named volume stored in /var/lib/docker/volumes.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant