updatenotification module cause excessive spam in pm2 error logs
See original GitHub issuePlatform: RPi3
Node Version: 9.8.0
MagicMirror Version: 2.2.2
Description:
updatenotification module is throwing a bunch of SSH related spam into the pm2 error logs.
ssh_askpass: exec(/usr/bin/ssh-askpass): No such file or directory
Permission denied (publickey).
fatal: Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists.
I would guess this happens when a modules has a .git
file, but is not connected to an accessible repo.
Issue Analytics
- State:
- Created 5 years ago
- Comments:14 (14 by maintainers)
Top Results From Across the Web
Logs - PM2
I am using pm2-logrotate module for rotation of log files. So i have a custom folder inside my project to save the output...
Read more >PM2 global error caught · Issue #4627 · Unitech/pm2 - GitHub
we use postDeploy.sh script and the same pm2-logrotate module... As you see in our log, pm2 terminate and try resurrect,( but without success) ......
Read more >PM2 — Large log files and how to remove them | by Dan B
A quick one on a PM2 logging management issue I fell into with large files. By default, PM2 can create logs. Now if...
Read more >PM2 — Log Handling - Future Studio
Output and Error Logs in Same File. PM2 allows you to store the output and error log entries in the same file. You...
Read more >Pm2 changing log file location - node.js - Stack Overflow
To change pm2's log file location, there are 2 solutions: define log path as parameter when pm2 command is executed ( -l ,...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
That is not entirely correct. I’m also using SSH all the time as well, and can do any non-pushing operation without needing credentials. MM should not need any credentials to check for updates. Anything else is a security weakness…even if it doesn’t matter that much for us. At the end of the day, I guess one step less for users to have to deal with is better for everyone. (And correct
./.ssh/config
is not that easy for beginners.Regardless of what ideology we use, for authentication, the notification module spams the log with useless and cryptic info that nobody can resolve without reading this issue thread.
When you use SSH access, MM does not need any credentials. Git does this for you, using your SSH key.
I agree that the error message is somewhat cryptic, but that’s something to solved in the simple-git nom module. Not in MagicMirror.
The issue is caused by a Raspberry configuration, not by a bug in MagicMirror², therefor I’m closing this issue for now.