Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

Permission issue rolling over log file

Open
#60 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
35/100
Issue type
Bug
Clarity
Needs clarification
Activity status
Stale
Tech stack
python
Domain
backend

Research direction

Use the traceback's Python logging.handlers.doRollover path and the /database/herald.log to /database/herald.log.1 rename as the starting point. Reproduce the rollover and confirm it completes without PermissionError; the issue does not identify a repository file or test.

Written by the indexing model from the issue text.

Description

herald_1               | --- Logging error ---
herald_1               | Traceback (most recent call last):
herald_1               |   File "/usr/lib/python3.9/logging/handlers.py", line 74, in emit
herald_1               |     self.doRollover()
herald_1               |   File "/usr/lib/python3.9/logging/handlers.py", line 177, in doRollover
herald_1               |     self.rotate(self.baseFilename, dfn)
herald_1               |   File "/usr/lib/python3.9/logging/handlers.py", line 115, in rotate
herald_1               |     os.rename(source, dest)
herald_1               | PermissionError: [Errno 13] Permission denied: '/database/herald.log' -> '/database/herald.log.1'
Dominant language
Python
Stars
15
Forks
16
PR merge metrics
No merged PRs in 30d

Getting set up

We have not checked this project's setup files yet. Start from its README, and see our first-contribution guide for the general steps.

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from lbryio/hub

All issues in lbryio/hub

Similar issues

More Python issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.