darobin / notion-backup

Simple command to backup a Notion workspace
MIT License
425 stars 63 forks source link

ERROR: Job failed: execution took longer than 1h0m0s seconds #20

Closed hisdumbpuppy closed 1 year ago

hisdumbpuppy commented 1 year ago

I got this error. Has anyone else had this issue too?

Executing "step_script" stage of the job script Using docker image sha256:e96a212a8ca82ea842c95bd6f96e3fb3b03d1574275bf13de92170b4c8deb69c for python:3.8 with digest python@sha256:0bdd43369c583eb82a809fbe6908d6ec721b7a29f7d9dce427d70924baf0ab7b ... $ cat >notion_export_gen.py <<EOL # collapsed multi-line command $ git remote set-url origin https://${GITLAB_USER_ID}:${CI_PUSH_TOKEN}@gitlab.com/${CI_PROJECT_PATH}.git $ git config --global user.email ${GITLAB_USER_EMAIL} $ git config --global user.name ${GITLAB_USER_ID} $ ./notion_export_gen.py && ./merge_gen.sh Enqueued task 48b578ed-aec2-4c8b-a443-4b56d6f77737

Status: ?, pages exported: ? Status: ?, pages exported: ? Status: ?, pages exported: ? Status: ?, pages exported: ? ERROR: Job failed: execution took longer than 1h0m0s seconds

darobin commented 1 year ago

Sometimes the export is slow, sometimes it gets stuck on the Notion side. If it happens every time, you have a problem. If it's just once in a while, then you're fine. I increased the timeout I give GitHub so that it works more often, but that's a personal choice.