-
Notifications
You must be signed in to change notification settings - Fork 1
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
No updates since July, website stuck? #8
Comments
The server is fine but the blog aggregator, Planet Venus, is held together with duct tape and bubble gum. It keeps breaking in various ways. In case you have spare cycles to try to fix it, I can give SSH access to the box. Beware that the work is not fun. |
Uh, I'll give it a try, my key is at https://github.com/leahneukirchen.keys |
Thanks. Please try My bash history says that I last tried the following command line:
and the container stopped with the following error:
There have been at least two different ways to have this contraption run as a cron job, and there were problems with each. There have also been many other, non-cron-related problems with the aggregator that I've mercifully forgotten. |
The above error comes from |
I'll have a look, thanks! |
Thank you for your service. I wasn't kidding about the duct tape. The simplest "patch on top of a patch" fix is probably to comment out the shell command that runs |
So when I ran it, it worked fine... One post has mochibake but that seems unrelated. |
lol. It works in mysterious ways. It's good to know that it's not systematically broken. We've been reluctant to spend time on it since the architecture is pretty much broken beyond repair. It would be best to write a new blog aggregator in Scheme or Racket, but no one has had the time to do it yet. |
The mojibake is a result of this imo weird behavior of feedparser:
|
Where is the image-cache supposed to be stored anyway? |
Good to know. Potentially relevant to #5.
As regular files under |
https://planet.scheme.org/ is simply the contents of |
Those are the images, but I mean the cache file that script writes. We could try updating Gauche, perhaps there was a bug in it. |
Also, how was this meant to be executed periodically? The cronjob in /etc/cron.d doesn't exist. |
My mistake. The culprit is probably this line In
should be
No idea.
|
|
Yeah, I'm not surprised that it's broken. It has been variously working and not working in the past. The wider context here is that we should standardize how static sites under scheme.org are generated. The Planet counts as a static site for this purpose. The only twist is that unlike most static sites, it is rebuilt on a schedule. I think the best approach for such a standard is a container that outputs a tar file. The Planet has taken a step in this direction, but since we're all busy and passionate sysadmins are hard to find around Lisp, the job is not done. |
I'm not sure why you prefer these tar tricks over docker volumes, but ymmv. I can rewrite that script to use docker, then we can run it on a schedule again? |
Sure. That's a good fix. |
But user |
My memory is refreshing. The cache is another oddity. Most static site builds don't use a dynamic cache as input.
Yeah. This is death by a thousand cuts. I'll add |
OK.
|
This hopefully temporary hack is done to fix the cron job that updates Planet Scheme. Prompted by schemeorg-community/planet.scheme.org#8
Ok, I adjusted the cron job now, it should only report when if fails, not sure who gets a mail then but I can also put myself into MAILTO. I'll watch it for a few days. |
This is great! Thank you very much for looking into this. Keeping Planet Scheme up to date will make it much more useful. |
What's up with Re: MAILTO, how does cron send mail? I don't think we have a working SMTP server on that box. IIRC Debian ships with Exim, but I can't find a running process that belongs to it. |
The fact that we have a file called |
Fixed the path (did i forget to save oO), seems like mail doesn't work indeed. |
We can set up Exim. But in today's adversarial climate, does the mail have a fighting chance of landing in people's inboxes? |
I wouldn't bother for now (and use postfix if we actually need an MTA). |
Fair enough. Thanks a lot for taking on this chore. I've been begging people to help for months. If this keeps working, let's commit |
The bug happened once more, but when I tried to reproduce it, it worked again... |
Do you mean the |
yes, that one. for mysterious reasons I still can't reproduce it manually. |
planet.scheme.org hasn't been updated since July 24, but a few blogs had posts in the meantime, does the server need a restart?
The text was updated successfully, but these errors were encountered: