Some or all of the below information will be requested if it isnât supplied; for fastest response please provide as much as you can.
My System:
Raspberry Pi 5, 8G
1T Nvme drive
The Basics
Nextcloud Server version:
-29.0.3
Operating system and version (e.g., Ubuntu 24.04):
Nextcloudpi 1.55.2
Debian bookworm
PHP version (e.g, 8.3):
8.3
When did this problem seem to first start?
on installation
Installation method (e.g. AIO, NCP, Bare Metal/Archive, etc.)
Raspberry Pi Imager
Summary of the issue you are facing:
After successfully installing NextcloudPi to my Nvme card and setting up the system, it comes up with ânextcloudpiâ as the hostname.
I want to know how I can successfully change the host name.
What I have tried:
Searched the forums and internet for any clues. No luck.
Tried using the âhostnameâ command to alter the name, but it leads to nextcloud mis-configuration.
I tried editing the etc/hosts file and changing the hostname there, but that fails because there are other nextcloud config files that contain the hostname. Ex: /var/www/nextcloud/config/config.php. I donât know what other config files would need to be changed.
Steps to replicate it (hint: details matter!):
Install Nextcloudpi on a RaspberryPi.
Examine hostname
Is there a utility or setup script that will correctly change the hostname?
Changing the hostname to something else seems like it would be a common use-case. Has anyone successfully done this?
But keep in mind it is a server not a baby. NCP approach to ux should stay on push button - be happy.
Maybe you file a feature request on ncâs github.