{"id":3073,"date":"2020-03-04T10:40:43","date_gmt":"2020-03-04T16:40:43","guid":{"rendered":"http:\/\/www.incredigeek.com\/home\/?p=3073"},"modified":"2020-03-04T10:40:43","modified_gmt":"2020-03-04T16:40:43","slug":"librenms-daily-sh-failed","status":"publish","type":"post","link":"https:\/\/www.incredigeek.com\/home\/librenms-daily-sh-failed\/","title":{"rendered":"LibreNMS &#8211; Daily.sh failed"},"content":{"rendered":"\n<p>All the following commands are run from the &#8220;\/opt\/librenms&#8221; directory<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">$ sudo .\/daily.sh \nRe-running \/opt\/librenms\/daily.sh as librenms user\nUpdating to latest codebase                        FAIL\nerror: Your local changes to the following files would be overwritten by merge:\n        html\/js\/lang\/de.js\n        html\/js\/lang\/en.js\nPlease, commit your changes or stash them before you can merge.\n...\n$<\/pre>\n\n\n\n<p>Checking with validate.php shows that you can run githup-remove to fix it<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">$ sudo .\/validate.php\n[WARN]  Your install is over 24 hours out of date, last update: Mon, 23 Feb 2020 05:43:12 +0000\n         [FIX]: \n         Make sure your daily.sh cron is running and run .\/daily.sh by hand to see if there are any errors.\n [WARN]  Your local git contains modified files, this could prevent automatic updates.\n         [FIX]: \n         You can fix this with .\/scripts\/github-remove\n         Modified Files:\n          html\/js\/lang\/de.js\n...\n$<\/pre>\n\n\n\n<p>Run &#8220;sudo .\/scripts\/github-remove -d&#8221;<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">$ sudo .\/scripts\/github-remove -d<br>Are you sure you want to delete all modified and untracked files? [y\/N] y<br>$<\/pre>\n\n\n\n<p>You should also be able to remove the files individually if the above command does not work.<\/p>\n\n\n\n<p>Run validate again to make sure it checks out good.<\/p>\n\n\n\n<p>Now run .\/daily.sh<\/p>\n","protected":false},"excerpt":{"rendered":"<p>All the following commands are run from the &#8220;\/opt\/librenms&#8221; directory $ sudo .\/daily.sh Re-running \/opt\/librenms\/daily.sh as librenms user Updating to latest codebase FAIL error: Your local changes to the following files would be overwritten by merge: html\/js\/lang\/de.js html\/js\/lang\/en.js Please, commit &hellip; <a href=\"https:\/\/www.incredigeek.com\/home\/librenms-daily-sh-failed\/\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[352],"tags":[754,928,927,353,134,389,929],"class_list":["post-3073","post","type-post","status-publish","format-standard","hentry","category-librenms","tag-daily-sh","tag-failed","tag-git","tag-librenms","tag-monitoring","tag-nms","tag-validate-php"],"_links":{"self":[{"href":"https:\/\/www.incredigeek.com\/home\/wp-json\/wp\/v2\/posts\/3073","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.incredigeek.com\/home\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.incredigeek.com\/home\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.incredigeek.com\/home\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.incredigeek.com\/home\/wp-json\/wp\/v2\/comments?post=3073"}],"version-history":[{"count":1,"href":"https:\/\/www.incredigeek.com\/home\/wp-json\/wp\/v2\/posts\/3073\/revisions"}],"predecessor-version":[{"id":3074,"href":"https:\/\/www.incredigeek.com\/home\/wp-json\/wp\/v2\/posts\/3073\/revisions\/3074"}],"wp:attachment":[{"href":"https:\/\/www.incredigeek.com\/home\/wp-json\/wp\/v2\/media?parent=3073"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.incredigeek.com\/home\/wp-json\/wp\/v2\/categories?post=3073"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.incredigeek.com\/home\/wp-json\/wp\/v2\/tags?post=3073"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}