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

where can i get logs? #2

Closed
seertenedos opened this issue Nov 17, 2019 · 2 comments
Closed

where can i get logs? #2

seertenedos opened this issue Nov 17, 2019 · 2 comments

Comments

@seertenedos
Copy link

I created a volume using docker compose but the container played up like it had an issue with it ans when i tried to go to the mount point it does not exist. Is there a log or something i can use the find the issue?

docker volume inspect temp_muximux_config 
[
    {
        "CreatedAt": "0001-01-01T00:00:00Z",
        "Driver": "srgl/backer:latest",
        "Labels": {
            "com.docker.compose.project": "temp",
            "com.docker.compose.volume": "muximux_config"
        },
        "Mountpoint": "/mnt/volumes/temp_muximux_config/_data",
        "Name": "temp_muximux_config",
        "Options": {
            "backup_schedule": "0 1 * * *",
            "env_B2_ACCOUNT_ID": "xxxxxx",
            "env_B2_ACCOUNT_KEY": "xxxxxxx",
            "env_restic_password": "xxxxxxx",
            "env_restic_repository": "b2:xxxxxxx:/muximux_config",
            "forget_policy": "l7 w30",
            "forget_schedule": "0 1 * * 0",
            "restore": "y",
            "size": "25M"
        },
        "Scope": "local",
        "Status": {
            "mounted": true
        }
    }

@seertenedos
Copy link
Author

found it in syslogs but i am not sure what is wrong. I thought it may have been that i had restore turned on for a new volume but even with it off it still errored. logs below.

sensitive info replaced with xxx

Nov 17 20:59:56 portable dockerd[1836]: time="2019-11-17T20:59:56+11:00" level=info msg="Action VolumeDriver.Create, {\"Name\":\"temp_muximux_config\",\"Opts\":{\"backup_schedule\":\"0 1 * * *\",\"env_B2_ACCOUNT_ID\":\"xxx\",\"env_B2_ACCOUNT_KEY\":\"xxx\",\"env_restic_password\":\"xxx\",\"env_restic_repository\":\"b2:xxx:/muximux_config\",\"forget_policy\":\"l7 w30\",\"forget_schedule\":\"0 1 * * 0\",\"restore\":\"n\",\"size\":\"25M\"}}" plugin=acbc33eba7ead383228238fcdfdf88456a07b3de07f2fce92bc8592128d70823
Nov 17 20:59:57 portable dockerd[1836]: time="2019-11-17T20:59:57+11:00" level=info msg="Action VolumeDriver.Capabilities, {}" plugin=acbc33eba7ead383228238fcdfdf88456a07b3de07f2fce92bc8592128d70823
Nov 17 20:59:57 portable dockerd[1836]: time="2019-11-17T20:59:57+11:00" level=info msg="Action VolumeDriver.Get, {\"Name\":\"temp_muximux_config\"}" plugin=acbc33eba7ead383228238fcdfdf88456a07b3de07f2fce92bc8592128d70823
Nov 17 20:59:57 portable dockerd[1836]: time="2019-11-17T20:59:57+11:00" level=info msg="Action VolumeDriver.Capabilities, {}" plugin=acbc33eba7ead383228238fcdfdf88456a07b3de07f2fce92bc8592128d70823
Nov 17 20:59:57 portable dockerd[1836]: time="2019-11-17T20:59:57+11:00" level=info msg="Action VolumeDriver.Get, {\"Name\":\"temp_muximux_config\"}" plugin=acbc33eba7ead383228238fcdfdf88456a07b3de07f2fce92bc8592128d70823
Nov 17 20:59:57 portable dockerd[1836]: time="2019-11-17T20:59:57+11:00" level=info msg="Action VolumeDriver.Capabilities, {}" plugin=acbc33eba7ead383228238fcdfdf88456a07b3de07f2fce92bc8592128d70823
Nov 17 20:59:57 portable dockerd[1836]: time="2019-11-17T20:59:57+11:00" level=info msg="Action VolumeDriver.Mount, {\"Name\":\"temp_muximux_config\",\"ID\":\"1b74eb58c56bcb7329edd06a3f937499a9238d5146e3a7833e284a35fd70bf18\"}" plugin=acbc33eba7ead383228238fcdfdf88456a07b3de07f2fce92bc8592128d70823
Nov 17 20:59:57 portable dockerd[1836]: time="2019-11-17T20:59:57+11:00" level=info msg="Action VolumeDriver.Capabilities, {}" plugin=acbc33eba7ead383228238fcdfdf88456a07b3de07f2fce92bc8592128d70823
Nov 17 20:59:57 portable dockerd[1836]: time="2019-11-17T20:59:57+11:00" level=info msg="Action VolumeDriver.Get, {\"Name\":\"temp_muximux_config\"}" plugin=acbc33eba7ead383228238fcdfdf88456a07b3de07f2fce92bc8592128d70823
Nov 17 20:59:57 portable dockerd[1836]: time="2019-11-17T20:59:57+11:00" level=info msg="Action VolumeDriver.Capabilities, {}" plugin=acbc33eba7ead383228238fcdfdf88456a07b3de07f2fce92bc8592128d70823
Nov 17 20:59:57 portable dockerd[1836]: time="2019-11-17T20:59:57+11:00" level=info msg="Action VolumeDriver.Unmount, {\"Name\":\"temp_muximux_config\",\"ID\":\"1b74eb58c56bcb7329edd06a3f937499a9238d5146e3a7833e284a35fd70bf18\"}" plugin=acbc33eba7ead383228238fcdfdf88456a07b3de07f2fce92bc8592128d70823
Nov 17 20:59:57 portable dockerd[1836]: time="2019-11-17T20:59:57+11:00" level=info msg="Action VolumeDriver.Capabilities, {}" plugin=acbc33eba7ead383228238fcdfdf88456a07b3de07f2fce92bc8592128d70823
Nov 17 20:59:57 portable dockerd[1836]: time="2019-11-17T20:59:57+11:00" level=info msg="Action VolumeDriver.Get, {\"Name\":\"temp_muximux_config\"}" plugin=acbc33eba7ead383228238fcdfdf88456a07b3de07f2fce92bc8592128d70823
Nov 17 20:59:58 portable dockerd[1836]: time="2019-11-17T20:59:58+11:00" level=info msg="Action VolumeDriver.Capabilities, {}" plugin=acbc33eba7ead383228238fcdfdf88456a07b3de07f2fce92bc8592128d70823
Nov 17 20:59:58 portable dockerd[1836]: time="2019-11-17T20:59:58+11:00" level=info msg="Action VolumeDriver.Mount, {\"Name\":\"temp_muximux_config\",\"ID\":\"07f19d595d148b92722ed42c39c6f26dc0f7dd87fde743bfa0ca16eb28727ef4\"}" plugin=acbc33eba7ead383228238fcdfdf88456a07b3de07f2fce92bc8592128d70823
Nov 17 21:00:03 portable dockerd[1836]: time="2019-11-17T21:00:03+11:00" level=info msg="Action VolumeDriver.Get, {\"Name\":\"6abd93d29c4ae90db272d7e61b4c035672e6ae97d2b619e85b63a963257ec5f9\"}" plugin=acbc33eba7ead383228238fcdfdf88456a07b3de07f2fce92bc8592128d70823
Nov 17 21:00:03 portable dockerd[1836]: time="2019-11-17T21:00:03+11:00" level=error msg="Error processing action VolumeDriver.Get: Error: Volume 6abd93d29c4ae90db272d7e61b4c035672e6ae97d2b619e85b63a963257ec5f9 doesn't exist" plugin=acbc33eba7ead383228238fcdfdf88456a07b3de07f2fce92bc8592128d70823
Nov 17 21:00:03 portable dockerd[1836]: time="2019-11-17T21:00:03+11:00" level=error msg="    at /app/src/plugin.js:166:26" plugin=acbc33eba7ead383228238fcdfdf88456a07b3de07f2fce92bc8592128d70823
Nov 17 21:00:03 portable dockerd[1836]: time="2019-11-17T21:00:03+11:00" level=error msg="    at /app/node_modules/async-lock/lib/index.js:125:12" plugin=acbc33eba7ead383228238fcdfdf88456a07b3de07f2fce92bc8592128d70823
Nov 17 21:00:03 portable dockerd[1836]: time="2019-11-17T21:00:03+11:00" level=error msg="    at AsyncLock._promiseTry (/app/node_modules/async-lock/lib/index.js:249:31)" plugin=acbc33eba7ead383228238fcdfdf88456a07b3de07f2fce92bc8592128d70823
Nov 17 21:00:03 portable dockerd[1836]: time="2019-11-17T21:00:03+11:00" level=error msg="    at exec (/app/node_modules/async-lock/lib/index.js:124:9)" plugin=acbc33eba7ead383228238fcdfdf88456a07b3de07f2fce92bc8592128d70823
Nov 17 21:00:03 portable dockerd[1836]: time="2019-11-17T21:00:03+11:00" level=error msg="    at AsyncLock.acquire (/app/node_modules/async-lock/lib/index.js:140:3)" plugin=acbc33eba7ead383228238fcdfdf88456a07b3de07f2fce92bc8592128d70823
Nov 17 21:00:03 portable dockerd[1836]: time="2019-11-17T21:00:03+11:00" level=error msg="    at Plugin.get (/app/src/plugin.js:164:22)" plugin=acbc33eba7ead383228238fcdfdf88456a07b3de07f2fce92bc8592128d70823
Nov 17 21:00:03 portable dockerd[1836]: time="2019-11-17T21:00:03+11:00" level=error msg="    at Plugin.handler (/app/src/plugin.js:44:38)" plugin=acbc33eba7ead383228238fcdfdf88456a07b3de07f2fce92bc8592128d70823
Nov 17 21:00:03 portable dockerd[1836]: time="2019-11-17T21:00:03+11:00" level=error msg="    at processTicksAndRejections (internal/process/task_queues.js:89:5)" plugin=acbc33eba7ead383228238fcdfdf88456a07b3de07f2fce92bc8592128d70823

@seertenedos
Copy link
Author

i will create a new issue instead with a better topic and better logs

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