Following the official guide to restore postgres form volume snapshot results in error:
Error: failed to update app secrets: failed to fetch discharge tokens: failed to fetch discharge tokens: tp error (401): unauthorized (Request ID: 01K5R4WRW86GABE7MADYSGXYR2-arn)
Result is only app without machines or volumes is created.
Hey @Priit , that looks like a stale auth token issue.
Try logging in and out of flyctl with fly auth logout and fly auth login , then re-running the PG commands. That’ll give flyctl a fresh token and should avoid the issue
fly auth logout
fly auth login
Yes thank You that did the trick!
This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.