Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bug: error.log is empty #2529

Open
SgtPooki opened this issue Jun 26, 2023 · 2 comments
Open

bug: error.log is empty #2529

SgtPooki opened this issue Jun 26, 2023 · 2 comments
Labels
effort/days Estimated to take multiple days, but less than a week exp/beginner Can be confidently tackled by newcomers good first issue Good issue for new contributors help wanted Seeking public contribution on this issue kind/bug A bug in existing code (including security flaws) need/analysis Needs further analysis before proceeding P1 High: Likely tackled by core team if no one steps up status/ready Ready to be worked

Comments

@SgtPooki
Copy link
Member

SgtPooki commented Jun 26, 2023

The error.log is not populated with log data. We have consistently seen reports where users providing their error.log is just an empty file. This is true on my machine as well

examples where error.log was empty:

@SgtPooki SgtPooki added kind/bug A bug in existing code (including security flaws) need/triage Needs initial labeling and prioritization help wanted Seeking public contribution on this issue P1 High: Likely tackled by core team if no one steps up good first issue Good issue for new contributors need/analysis Needs further analysis before proceeding exp/beginner Can be confidently tackled by newcomers effort/days Estimated to take multiple days, but less than a week status/ready Ready to be worked and removed need/triage Needs initial labeling and prioritization labels Jun 26, 2023
@Jeevan-Kiran-Lenka
Copy link

Hey @SgtPooki I recently used IPFS in one of my Blockchain project and I'm fairly new to Open Source, but I would like to work on this issue, can you please tell me how to replicate the issue ?

@SgtPooki
Copy link
Member Author

@Jeevan-Kiran-Lenka thanks so much for the offer!

The only thing I can think of is starting up a separate Kubo instance before starting up IPFS Desktop so you get a repo.lock error. That error should be populated in the error.log at https://github.com/ipfs/ipfs-desktop#where-are-my-ipfs-configuration-and-log-files, but error.log is almost always empty.

However, when you run ipfs-desktop in development mode via npm run start the log files are placed in the project root, and the error.log does get errors (if there are any). So... it's something.. but emitting more errors to error.log, and the stack traces, would impove how helpful we can be for users.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
effort/days Estimated to take multiple days, but less than a week exp/beginner Can be confidently tackled by newcomers good first issue Good issue for new contributors help wanted Seeking public contribution on this issue kind/bug A bug in existing code (including security flaws) need/analysis Needs further analysis before proceeding P1 High: Likely tackled by core team if no one steps up status/ready Ready to be worked
Projects
No open projects
Status: Prioritized / Ready for Dev
Development

No branches or pull requests

2 participants