10. April 2021

Lighttpd and Nextcloud 21+

An irritating but apparently harmless notice when updating to Nextcloud 21 needs a slight change to the web server configuration under Lighttpd

Although lighttpd is not a first class citizen with regard to Nextcloud support, it works very well, as a rule.  However,the update to Nextcloud 21 has caused a warning under Settings,Overview that seems to have caused a lot f confusion, whether people are running the fully-supported Apache or Nginx or not.  One such discussion, Nextcloud 21 nodeinfo and webfinger, describes the issue, "Your web server is not set up correctly to resolve '/.well-known/webfinger'" and "Your web server is not set up correctly to resolve '/.well-known/nodeinfo'".

While I do not believe these settings are necessary as long as one does not run certain apps, such as the social app, (I may be wrong about that) it is possible to resolve the problem, with the virtual host configuration for Lighttpd as set out below.  Where I have FQDN_OF_SERVER and File_Location_of_Server, edit with your own details.

I'm having bizarre trouble ("501 Not Implemented", whatever that means) adding the vhost text file to this blog post so, while I appreciate it's not great to add an attachment, for the sake of publishing this. I've attached a text file of a working lighttpd config. Here's a screenshot too if understandably you're nervy about pulling down the text file:

22. February 2021

OpenSUSE as a Raspberry Pi 4 Server

A work-in-progress series of notes on a migration to OpenSUSE as a server on a Raspberry Pi 4.  These notes are somewhat rambling, as they were written during the development process of the new server, but are left here, warts and all.


Migration project status: The project has been completed successfully. All services are now running under OpenSUSE as of 6th March 2021. I moaned and grumbled my way through this post, adding to it as issues arose or little triumphs were achieved. The reality is that what felt like little hacks, workarounds and customising I had to do, tiny things, really, were probably no more than were helping the stability of the previous system, but time and familiarity had made me forget that's how sysadmins make things work.
This has been an interesting exercise, and I plan to leave these notes here, both for my own reference and possibly as some might be useful to others.

One month later:  I remain pleased with the decision to migrate from Raspberry Pi OS to OpenSUSE for this server.  In fact, I wish I could easily migrate a hosted Raspberry Pi I have.  The most pressing issues I have faced were with regard to various weekly security and performance reports I have written over the years. I am still getting to grips with systemd's timers and logrotate, as some of the reports should run after the logs are rotated, but I am still not clear when these happen. One unexpected bonus is the degree to which btrfs compression works.  At the moment, there is a 25% space saving on the disk.  The next big test will be with the release of OpenSUSE 15.3. Previous experience on x86 suggests this update will be straight forward,  so I am expecting more of the solidity I am currently enjoying.

Continue reading

Omeka under Lighttpd

Documented for those wanting to try this out

Continue reading

16. January 2021

Our own xmpp server, with all the trimmings

We can bypass all the data slurping and other issues, by running our own messaging service, including voice and video, and group chats.

Continue reading

15. September 2020

The Cycles of History

We are living part of history. How we relate to that may be a key coping strategy in the years to come.

Continue reading

6. June 2020

Automatic initrd/initramfs creation for Raspian/Raspberry Pi OS

A very techie post on my blog, so I don't expect this to be of general interest. Try browsing the categories for something more interesting...

The perennial problem of ensuring your initrd or initramfs file has been correctly generated for the appropriate Pi architecture

USE THESE IDEAS AT YOUR OWN RISK!

Edit:The original script was not smart enough to manage the requirements of the Pi Zero (armv6l), but a helpful perl incantation found on a forum resolves this omission. The script has been in use for some time.

IMPORTANT - Please note that as of April 2021, Raspberry Pi OS has changed the way it generates initrds, so this script no longer works correctly.  I will document alterations here if I manage to understand the changes.

Continue reading

10. May 2020

A New Inverter for our Off-grid Power System

StevanPics-122920-10052020.jpg, May 2020

Thunderstorms at the beginning of the year prompted a desire to have a back-up inverter

Continue reading

4. April 2020

Nextcloud Talk and the missing piece of the puzzle

It worked, but wouldn't tell us, because of an obscure issue

Continue reading

31. January 2020

An Unexpected Day

A personal view of the decision to leave the Union of European Nations

Continue reading

12. January 2020

Power Problems - When Thunderstorms Strike

An off-grid life means taking responsibility when things go wrong

Continue reading

26. December 2019

Almost Synonyms - The linguistic families 6000 miles apart

Scots words and their Afrikaans equivalents have long fascinated me. Here are some.

Continue reading

3. December 2019

Tweeting the weather

Some digital glue automates tweeting the current weather conditions

Continue reading

21. September 2019

Peggy - 2003-2018

The life and times of a full-of-life Yorkie

Continue reading

18. July 2019

USB Scanner - scans a black page - Resolved

Under Linux, this scanner should Just Work, but doesn't. The fix is very simple

Continue reading

16. May 2019

Daily walks

Some recent pictures from our morning walks around Clachtoll and Stoer

Continue reading

25. February 2019

The Perennial Problem of the new Linux Laptop

Choices, choices, choices, some dead-ends, such as being far too expensive, some nice-to-haves, and finally some solutions.

Continue reading

1. December 2018

Nextcloud on a Raspberry Pi

There is a lot on the 'net about running your own sync and other cloud services with Nextcloud and the Raspberry Pi, many concluding it's not viable for continuous use, or many losing interest after a while. In fact, with some thought-through choices, a production environment for, say 5 or fewer users is perfectly feasible.


Continue reading

16. October 2018

Revisiting server-based antispam with Bogofilter

Some simple maintenance makes life interesting, but simplicity saves the day

Continue reading

2. October 2018

Latest update - off-grid Linux IT services

The latest (October 2018) update on hardware and software choices when your power supply is limited

This is a technical blog post which may not be of general interest, and assumes a certain level of technical understanding

Continue reading

18. August 2018

Off-grid - making do and mending

A bit of resourcefulness and "it'll-come-in-handy-some-day" hoarding saves the day

Continue reading

- page 1 of 4