# Various errors on domain change

**URL:** https://forum.yunohost.org/t/various-errors-on-domain-change/15163
**Category:** Support
**Tags:** english
**Created:** [March 29, 2021, 8:41pm UTC](https://forum.yunohost.org/t/various-errors-on-domain-change/15163 "2021-03-29T20:41:02Z")
**Posts on this page:** 12
**Page:** 1

<div class="post-metadata">

### Author: ![steven](https://forum.yunohost.org/user_avatar/forum.yunohost.org/steven/32/4140_2.png) [@steven](https://forum.yunohost.org/u/steven)
#### Post date: [March 29, 2021, 8:41pm UTC](https://forum.yunohost.org/t/various-errors-on-domain-change/15163/1 "2021-03-29T20:41:02Z")

</div>

Hardware: Raspberry Pi4 at home  
YunoHost version: 4.2.0  
I have access to my server : Through SSH  
Are you in a special context or did you perform some particular tweaking on your YunoHost instance ? : no

**Description of my issue:**

Hi ! I installed YunoHost couple of weeks ago (I am globally super happy of it ☀ !) with a generic [domaine.ynh.com](http://domaine.ynh.com) and I wanted to change with my own domai.ne

I saw that this is not a new topic ([here](https://forum.yunohost.org/t/how-deep-goes-the-default-domain-change/2929), [here](https://forum.yunohost.org/t/resolu-changement-domaine-et-wordpress/14309) and [there](https://forum.yunohost.org/t/changer-le-domaine-principal/4401)) and follow this plan:

1. config the dns of my new domai.ne in OVH
2. check that it point to my server
3. register this new domai.ne on yunohost
4. config the dns of my new domai.ne in OVH with the dns config described in the domain section of yunohost
5. make let’s encrypt ssl for this domai.ne
6. **X** change each application to the new domai.ne
7. change the default domain of yunohost
8. change the mail and alias of my account
9. create sub.domai.ne
10. **X** configure the sub.domai.ne correctly for let’s encrypt to work
11. **ToDo** change the sub.domai.ne of my app using the sub.domai.ne

For changing the domain of applications, I have various results:

- Airsonic **ko** nginx 404
- Lstu ok
- Jellyfin ok
- Monitorix ok
- Netdata **ko** (in admin panel : **Erreur** : `"400" Bad Request` **Action** : `"PUT" /yunohost/api/apps/netdata /changeurl` **Message d’erreur :** I don’t understand you… ) Maybe a problem with the packadge??
- Nextcloud ok (I got a nginx 404, it took couple of hours but is now working)
- Galène **ko** (page not found!)
- Piwigo ok
- Shell in a box ok
- Syncthings ok
- Wallabag ok (I got a nginx 404, it took some time but is now working)

Is there a simple way to correct these errors ? If not, I’ll, I will simply uninstall /reinstall (not sure a restore would work) it on the new domai.ne Airsonic, Galène and NetData.  
**EDIT** : I reinstall these apps and will report the issue in Git.

For the config of the sub.domai.ne, I added a A record then all the dns config described in the domain section of yunohost (as for a domain) but it didn’t work. If someone could help me on this config ^^ ?  
**EDIT** : simply added a cname for the subdomain in the dns provider, create this subdomain in ynh, install the letsencrypt in CLI (more details in the link at the post 11)

Many thanks for your help,  
Steven

---

<div class="post-metadata">

### Author: ![Jules-Bertholet](https://forum.yunohost.org/letter_avatar_proxy/v4/letter/j/b19c9b/32.png) [@Jules-Bertholet](https://forum.yunohost.org/u/Jules-Bertholet)
#### Post date: [March 30, 2021, 5:19am UTC](https://forum.yunohost.org/t/various-errors-on-domain-change/15163/2 "2021-03-30T05:19:41Z")

</div>

If you want us to be able to help you, you will want to post logs, likely under `/var/log/nginx`. Also, for the apps that aren’t working, post the `nginx` config files (generally `/etc/nginx/conf.d/your.own.domai.ne.d/the_app_config.conf`). You can also try and find the config files for the specific applications and see if there is anything wrong with them.

---

<div class="post-metadata">

### Author: ![steven](https://forum.yunohost.org/user_avatar/forum.yunohost.org/steven/32/4140_2.png) [@steven](https://forum.yunohost.org/u/steven)
#### Post date: [March 30, 2021, 7:37am UTC](https://forum.yunohost.org/t/various-errors-on-domain-change/15163/3 "2021-03-30T07:37:37Z")

</div>

> [@Jules-Bertholet](#):
>
> `/var/log/nginx/error.log`

> 2021/03/30 03:49:22 [error] 18078#18078: [r3.o.lencr.org](http://r3.o.lencr.org) could not be resolved (110: Operation timed out) while requesting certificate status, responder: [r3.o.lencr.org](http://r3.o.lencr.org), certificate: “/etc/yunohost/certs/noclou.de/crt.pem”  
> 2021/03/30 05:15:08 [error] 18078#18078: [r3.o.lencr.org](http://r3.o.lencr.org) could not be resolved (110: Operation timed out) while requesting certificate status, responder: [r3.o.lencr.org](http://r3.o.lencr.org), certificate: “/etc/yunohost/certs/noclou.de/crt.pem”  
> 2021/03/30 05:15:14 [error] 18078#18078: [r3.o.lencr.org](http://r3.o.lencr.org) could not be resolved (110: Operation timed out) while requesting certificate status, responder: [r3.o.lencr.org](http://r3.o.lencr.org), certificate: “/etc/yunohost/certs/noclou.de/crt.pem”  
> 2021/03/30 06:24:48 [crit] 18078#18078: \*13333 SSL\_do\_handshake() failed (SSL: error:141CF06C:SSL routines:tls\_parse\_ctos\_key\_share:bad key share) while SSL handshaking, client: 64.62.197.32, server: 0.0.0.0:443  
> 2021/03/30 06:37:38 [error] 18078#18078: [r3.o.lencr.org](http://r3.o.lencr.org) could not be resolved (110: Operation timed out) while requesting certificate status, responder: [r3.o.lencr.org](http://r3.o.lencr.org), certificate: “/etc/yunohost/certs/noclou.de/crt.pem”  
> 2021/03/30 06:38:00 [error] 18079#18079: [r3.o.lencr.org](http://r3.o.lencr.org) could not be resolved (110: Operation timed out) while requesting certificate status, responder: [r3.o.lencr.org](http://r3.o.lencr.org), certificate: “/etc/yunohost/certs/noclou.de/crt.pem”  
> 2021/03/30 06:47:28 [error] 18081#18081: [r3.o.lencr.org](http://r3.o.lencr.org) could not be resolved (110: Operation timed out) while requesting certificate status, responder: [r3.o.lencr.org](http://r3.o.lencr.org), certificate: “/etc/yunohost/certs/noclou.de/crt.pem”  
> 2021/03/30 06:48:03 [error] 18078#18078: [r3.o.lencr.org](http://r3.o.lencr.org) could not be resolved (110: Operation timed out) while requesting certificate status, responder: [r3.o.lencr.org](http://r3.o.lencr.org), certificate: “/etc/yunohost/certs/nocloud.ynh.fr/crt.pem”  
> 2021/03/30 06:53:09 [notice] 23648#23648: signal process started  
> 2021/03/30 06:53:11 [info] 23737#23737: Using 32768KiB of shared memory for nchan in /etc/nginx/nginx.conf:63  
> 2021/03/30 06:53:12 [info] 23748#23748: Using 32768KiB of shared memory for nchan in /etc/nginx/nginx.conf:63  
> 2021/03/30 06:53:53 [info] 23848#23848: Using 32768KiB of shared memory for nchan in /etc/nginx/nginx.conf:63  
> 2021/03/30 06:53:54 [info] 23857#23857: Using 32768KiB of shared memory for nchan in /etc/nginx/nginx.conf:63  
> 2021/03/30 06:54:59 [notice] 26566#26566: signal process started  
> 2021/03/30 07:01:04 [notice] 8324#8324: signal process started  
> 2021/03/30 07:01:05 [info] 8416#8416: Using 32768KiB of shared memory for nchan in /etc/nginx/nginx.conf:63  
> 2021/03/30 07:01:07 [info] 8475#8475: Using 32768KiB of shared memory for nchan in /etc/nginx/nginx.conf:63  
> 2021/03/30 07:02:13 [info] 9429#9429: Using 32768KiB of shared memory for nchan in /etc/nginx/nginx.conf:63  
> 2021/03/30 08:17:09 [error] 8429#8429: [r3.o.lencr.org](http://r3.o.lencr.org) could not be resolved (110: Operation timed out) while requesting certificate status, responder: [r3.o.lencr.org](http://r3.o.lencr.org), certificate: “/etc/yunohost/certs/noclou.de/crt.pem”  
> 2021/03/30 08:39:21 [error] 8429#8429: [r3.o.lencr.org](http://r3.o.lencr.org) could not be resolved (110: Operation timed out) while requesting certificate status, responder: [r3.o.lencr.org](http://r3.o.lencr.org), certificate: “/etc/yunohost/certs/noclou.de/crt.pem”  
> 2021/03/30 09:28:30 [error] 8429#8429: [r3.o.lencr.org](http://r3.o.lencr.org) could not be resolved (110: Operation timed out) while requesting certificate status, responder: [r3.o.lencr.org](http://r3.o.lencr.org), certificate: “/etc/yunohost/certs/nocloud.ynh.fr/crt.pem”  
> 2021/03/30 09:32:04 [error] 8428#8428: [r3.o.lencr.org](http://r3.o.lencr.org) could not be resolved (110: Operation timed out) while requesting certificate status, responder: [r3.o.lencr.org](http://r3.o.lencr.org), certificate: “/etc/yunohost/certs/noclou.de/crt.pem”  
> 2021/03/30 09:32:04 [error] 8426#8426: [r3.o.lencr.org](http://r3.o.lencr.org) could not be resolved (110: Operation timed out) while requesting certificate status, responder: [r3.o.lencr.org](http://r3.o.lencr.org), certificate: “/etc/yunohost/certs/noclou.de/crt.pem”

---

<div class="post-metadata">

### Author: ![steven](https://forum.yunohost.org/user_avatar/forum.yunohost.org/steven/32/4140_2.png) [@steven](https://forum.yunohost.org/u/steven)
#### Post date: [March 30, 2021, 7:40am UTC](https://forum.yunohost.org/t/various-errors-on-domain-change/15163/4 "2021-03-30T07:40:21Z")

</div>

> [@Jules-Bertholet](#):
>
> /etc/nginx/conf.d/your.own.domai.ne.d/airsonic.conf

> #source of config file : [Setting up Nginx - Airsonic](https://airsonic.github.io/docs/proxy/nginx/)  
> #adapted for yunohost  
> rewrite ^/airsonic$ /airsonic/ permanent;  
> location /airsonic/ {  
> proxy\_set\_header X-Real-IP $remote\_addr;  
> proxy\_set\_header X-Forwarded-For $proxy\_add\_x\_forwarded\_for;  
> proxy\_set\_header X-Forwarded-Proto https;  
> proxy\_set\_header X-Forwarded-Host $http\_host;  
> proxy\_set\_header Host $http\_host;  
> proxy\_max\_temp\_file\_size 0;  
> proxy\_pass [http://127.0.0.1:8096](http://127.0.0.1:8096);  
> proxy\_redirect http:// https://;  
> # set client body size to 500 MB  
> # Allows to upload zip file up to 500 MB  
> # See [413 (Request Entity Too Large) on .zip upload via interface · Issue #4 · YunoHost-Apps/airsonic\_ynh · GitHub](https://github.com/YunoHost-Apps/airsonic_ynh/issues/4)  
> client\_max\_body\_size 500M;  
> #Include SSOWAT user panel.  
> include conf.d/yunohost\_panel.conf.inc;  
> #proxy\_set\_header Content-Security-Policy “default-src ‘self’; script-src ‘self’ ‘unsafe-inline’ ‘unsafe-eval’ [www.gstatic.com](http://www.gstatic.com); img-src ‘self’ \*.akamaized.net; style-src ‘self’ ‘unsafe-inline’ [fonts.googleapis.com](http://fonts.googleapis.com); font-src ‘self’ [fonts.gstatic.com](http://fonts.gstatic.com); frame-src ‘self’; object-src ‘none’”;  
> }

---

<div class="post-metadata">

### Author: ![steven](https://forum.yunohost.org/user_avatar/forum.yunohost.org/steven/32/4140_2.png) [@steven](https://forum.yunohost.org/u/steven)
#### Post date: [March 30, 2021, 7:42am UTC](https://forum.yunohost.org/t/various-errors-on-domain-change/15163/5 "2021-03-30T07:42:09Z")

</div>

> [@Jules-Bertholet](#):
>
> /etc/nginx/conf.d/your.own.domai.ne.d/galene.conf

> location / {  
> #Force usage of https  
> if ($scheme = http) {  
> rewrite ^ https://$server\_name$request\_uri? permanent;  
> }  
> proxy\_pass [https://127.0.0.1:8443](https://127.0.0.1:8443);  
> proxy\_redirect off;  
> proxy\_set\_header Host $host;  
> proxy\_set\_header X-Real-IP $remote\_addr;  
> proxy\_set\_header X-Forwarded-Proto $scheme;  
> proxy\_set\_header X-Forwarded-For $proxy\_add\_x\_forwarded\_for;  
> proxy\_set\_header X-Forwarded-Host $server\_name;  
> #WebSocket support  
> proxy\_http\_version 1.1;  
> proxy\_set\_header Upgrade $http\_upgrade;  
> proxy\_set\_header Connection “upgrade”;  
> }

---

<div class="post-metadata">

### Author: ![steven](https://forum.yunohost.org/user_avatar/forum.yunohost.org/steven/32/4140_2.png) [@steven](https://forum.yunohost.org/u/steven)
#### Post date: [March 30, 2021, 7:44am UTC](https://forum.yunohost.org/t/various-errors-on-domain-change/15163/6 "2021-03-30T07:44:08Z")

</div>

Merci @Jules-Bertholet ^^ !

I do not see anything unsual, but I am not an expert

---

<div class="post-metadata">

### Author: ![Jules-Bertholet](https://forum.yunohost.org/letter_avatar_proxy/v4/letter/j/b19c9b/32.png) [@Jules-Bertholet](https://forum.yunohost.org/u/Jules-Bertholet)
#### Post date: [March 30, 2021, 3:06pm UTC](https://forum.yunohost.org/t/various-errors-on-domain-change/15163/7 "2021-03-30T15:06:18Z")

</div>

They look fine to me also. It seems the issue is with the configurations of the apps themselves. You can try and look through those

---

<div class="post-metadata">

### Author: ![steven](https://forum.yunohost.org/user_avatar/forum.yunohost.org/steven/32/4140_2.png) [@steven](https://forum.yunohost.org/u/steven)
#### Post date: [March 30, 2021, 5:42pm UTC](https://forum.yunohost.org/t/various-errors-on-domain-change/15163/8 "2021-03-30T17:42:16Z")

</div>

No problème, I think I’ll reinstall and put my config back. Do you know where to report that the function “change domain” is ko for these apps packadge (airsonic, netdata and galène)?  
Maybe there is a topic by apps ?

Thanks  
Steven

---

<div class="post-metadata">

### Author: ![steven](https://forum.yunohost.org/user_avatar/forum.yunohost.org/steven/32/4140_2.png) [@steven](https://forum.yunohost.org/u/steven)
#### Post date: [March 30, 2021, 9:14pm UTC](https://forum.yunohost.org/t/various-errors-on-domain-change/15163/9 "2021-03-30T21:14:17Z")

</div>

I reinstalled airsonic and net data.  
I have some trouble with the reinstall of galene ([Error on restoring and reinstalling galene](https://forum.yunohost.org/t/error-on-restoring-and-reinstalling-galene/15172))

---

<div class="post-metadata">

### Author: ![steven](https://forum.yunohost.org/user_avatar/forum.yunohost.org/steven/32/4140_2.png) [@steven](https://forum.yunohost.org/u/steven)
#### Post date: [March 31, 2021, 7:54am UTC](https://forum.yunohost.org/t/various-errors-on-domain-change/15163/10 "2021-03-31T07:54:48Z")

</div>

Problem of reinstall solved by Aleks !

I have only 1 thing to sort out : how to configure personal subdomain. I configure a cname in ovh for each… ?

---

<div class="post-metadata">

### Author: ![steven](https://forum.yunohost.org/user_avatar/forum.yunohost.org/steven/32/4140_2.png) [@steven](https://forum.yunohost.org/u/steven)
#### Post date: [March 31, 2021, 4:18pm UTC](https://forum.yunohost.org/t/various-errors-on-domain-change/15163/11 "2021-03-31T16:18:48Z")

</div>

I found how to configure personnal subdomains [here](https://forum.yunohost.org/t/tuto-yunohost-et-sous-domaine/1727).

Everything worked perfectly at the end !

---

<div class="post-metadata">

### Author: ![system](https://forum.yunohost.org/uploads/default/original/2X/f/f59fe8e3ee6b100b4f574d30d6e30479c68b89f0.png) [@system](https://forum.yunohost.org/u/system)
#### Post date: [April 15, 2021, 4:19pm UTC](https://forum.yunohost.org/t/various-errors-on-domain-change/15163/12 "2021-04-15T16:19:40Z")

</div>

This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.
