upleveled / notion-backup

Export Notion pages and subpages to a GitHub repo on a schedule (eg. to be used as a scheduled backup)
51 stars 8 forks source link

Self-installer exits with code 1 #279

Closed alice-rosen closed 2 months ago

alice-rosen commented 2 months ago

Hi, have everyone's daily backups been working the past few days?

I got the 401 error that I've gotten a few times, which is usually fixed by updating the token. I did that, but now I'm getting a new error:

Screenshot 2024-07-04 at 16 44 26

Please let me know if you need any additional information. Any advice is appreciated :)

karlhorky commented 2 months ago

pnpm/action-setup is a separate project, currently at v4 (in the screenshot above it is v2). The relevant file in notion-backup is .github/workflows/export-notion-blocks-and-commit.yml.

Maybe check the issues in the repo at the link above?

I'll close this issue here (since it's related to the other project), and we can keep discussing, if you're still having issues.

alice-rosen commented 2 months ago

Thanks for this @karlhorky, that fixed it!

karlhorky commented 2 months ago

Nice, what was the fix?

alice-rosen commented 2 months ago

I just changed anywhere the .github/workflows/export-notion-blocks-and-commit.yml file or the .github/workflows/lint-and-check-types.yml file said 'v2' or 'v3' to 'v4'.

karlhorky commented 2 months ago

Nice! Glad it worked :)