Skip to content

Instantly share code, notes, and snippets.

@xyhhx
xyhhx / 1-about.md
Last active March 27, 2024 19:47
How to update the domain properly in Nextcloud AIO

The documentation says that changing the domain on your AIO instance isn't supported, but it's actually quite easy.

You just have to edit a json file and replace a few strings in the database.

I wrote a PR to update the docs, but Nextcloud team thinks it's a better idea to just manually go through every app in your admin settings and just manually change every occurrance of your old domain by hand; but this is tedious, more error-prone, and liable to miss references.

Instead, I suggest just doing a few replace() calls in your database. It's worked for me without any problems. Steps below:

[Verifying my cryptographic key: openpgp4fpr:bc133d18918e89aec68d647638236da94e2d50d2]

.mx_BaseAvatar .mx_BaseAvatar_image,
.mx_EventTile_avatar img {
border-radius: 0;
box-shadow: 0 1px 3px #00000011;
}