Post 9qODkI5SCNUpiBgL0C by feld@bikeshed.party
 (DIR) More posts by feld@bikeshed.party
 (DIR) Post #9qO7vYwzF2pdTOiHGS by lain@pleroma.soykaf.com
       2019-12-27T11:03:35.202148Z
       
       3 likes, 0 repeats
       
       > have renewal command in crontab> doesn't renew> run the same command manually> it renewsi love this.
       
 (DIR) Post #9qO7zKCe0wnitQpZWC by absturztaube@fedi.absturztau.be
       2019-12-27T11:04:19.780616Z
       
       0 likes, 0 repeats
       
       @lain that sounds familiar. i have the same issue with the cert on my xmpp server
       
 (DIR) Post #9qO8AJZYhMli7hmzHU by quad@weeaboo.space
       2019-12-27T11:06:15.339362Z
       
       1 likes, 0 repeats
       
       @lain I have a script on the openings.moe backend server, certs renew fine, but the scp commands in the script won't copy the script to the CDN servers, even if I specify the scp binary with full path and key file with -i. rsync doesn't work either.It's been like that for years now and I've just given up troubleshooting it.
       
 (DIR) Post #9qO8O6yyIy7f87Fr60 by flussence@nulled.red
       2019-12-27T11:05:38Z
       
       1 likes, 0 repeats
       
       @lain IME cron's env is usually fucked because everything else goes through a chain that sources /etc/profile or equivalent
       
 (DIR) Post #9qO8WxNjMxXVxb3Mlk by quad@weeaboo.space
       2019-12-27T11:10:23.000881Z
       
       1 likes, 0 repeats
       
       @lain Which reminds me that the cert there expires on January 3rd. So I should go ahead and run it manually
       
 (DIR) Post #9qO9fQCoBdmncuXpoW by moonman@shitposter.club
       2019-12-27T11:23:08.054640Z
       
       0 likes, 0 repeats
       
       @lain letsencrypt does this on just one machine
       
 (DIR) Post #9qO9ic0alBf76MLsGG by lain@pleroma.soykaf.com
       2019-12-27T11:23:35.443196Z
       
       0 likes, 0 repeats
       
       @moonman yeah, i also have this problem only on one machine, all the other ones work fine
       
 (DIR) Post #9qO9zWjVcyILf9QXlw by kura@fedi.z0ne.moe
       2019-12-27T11:26:47.552279Z
       
       0 likes, 0 repeats
       
       @quad @lain replace it with a local bit torrent like distribution system lol
       
 (DIR) Post #9qODdRWMizUmwa0KRc by meowski@freespeechextremist.com
       2019-12-27T12:07:37.601618Z
       
       1 likes, 0 repeats
       
       @lain check environment maybe
       
 (DIR) Post #9qODkI5SCNUpiBgL0C by feld@bikeshed.party
       2019-12-27T12:08:51.413870Z
       
       0 likes, 0 repeats
       
       @lain $PATH
       
 (DIR) Post #9qODrMXc2KGxYME0hc by lain@pleroma.soykaf.com
       2019-12-27T12:09:59.259771Z
       
       0 likes, 0 repeats
       
       @feld it's already using absolute paths
       
 (DIR) Post #9qODtkepLLyyvajrUm by feld@bikeshed.party
       2019-12-27T12:10:33.836064Z
       
       1 likes, 0 repeats
       
       ok so Cron is drunk
       
 (DIR) Post #9qOE3d7MEORaRInHvs by lain@pleroma.soykaf.com
       2019-12-27T12:12:16.400447Z
       
       0 likes, 0 repeats
       
       @feld it probably wasn't finding bash or something.
       
 (DIR) Post #9qOQ2WG5RlsWKI77dA by Billie@social.tchncs.de
       2019-12-27T14:13:40Z
       
       1 likes, 0 repeats
       
       @lainTry to also give the absolute path to bash, too@feld
       
 (DIR) Post #9qObTiprtOhkeF1Yy8 by estebanm@mastodon.social
       2019-12-27T15:15:04Z
       
       1 likes, 0 repeats
       
       @lain @ekaitz_zarraga running as a different user, maybe?
       
 (DIR) Post #9qPF4LTva50T90DS7c by jordila@social.ingobernable.net
       2019-12-27T23:56:16Z
       
       1 likes, 0 repeats
       
       @lain What? ... i've got the same issue over and over in the context of SSL certs renewal (LetsEncrypt certbot)...After some reading about it...looks like cron runs on particular/specific environment variables.Who knows, what's going on here... PS:  umh..may i just stop using cron for this purpose?