Skip to content

Ibiblio file repos may get corrupted, need to handle #17

@rtonsing

Description

@rtonsing

Need notification that an error occurred (issue #9).

Need to figure out how to correct the issue, and retry later.
Maybe change the fetch/pull to discard any pending changes, there should never be any, normally.

2026-05-10 07:50:03,028 - INFO - 55851
2026-05-10 07:50:03,028 - INFO - origin: https://r.pglaf.org/git/55851.git/, target_path: /public/vhost/g/gutenberg/html/files/55851
2026-05-10 07:50:03,032 - INFO - Initializing a new Git repository in /public/ftp/pub/docs/books/gutenberg/5/5/8/5/55851
2026-05-10 07:50:03,100 - INFO - Adding remote origin: https://r.pglaf.org/git/55851.git/
2026-05-10 07:50:03,112 - INFO - Fetching repository history from https://r.pglaf.org/git/55851.git/
2026-05-10 07:52:19,057 - ERROR - Error running command: git fetch --all
2026-05-10 07:52:19,057 - ERROR - Error message: [fatal: unable to access 'https://r.pglaf.org/git/55851.git/': Failed to connect to r.pglaf.org port 443 after 135922 ms: Could not connect to server
]
2026-05-10 07:52:19,057 - ERROR - failed to update 55851
gbnewby@gutenberg:[2002] /public/ftp/pub/docs/books/gutenberg/5/8/6/5860 $ git status
On branch main
Your branch is up to date with 'origin/main'.

Changes not staged for commit:
  (use "git add <file>..." to update what will be committed)
  (use "git restore <file>..." to discard changes in working directory)
        modified:   5860-0.txt
        modified:   5860-h/5860-h.htm

The 2 files were dated Mar. 6.

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions