# Alpha-stage testing for YunoHost 4.0 on Debian Buster (and migration shipped in Yunohost 3.8.5)

**URL:** https://forum.yunohost.org/t/alpha-stage-testing-for-yunohost-4-0-on-debian-buster-and-migration-shipped-in-yunohost-3-8-5/11766
**Category:** Announcements
**Tags:** ynh\_testing\_release, french, english
**Created:** [June 6, 2020, 1:28am UTC](https://forum.yunohost.org/t/alpha-stage-testing-for-yunohost-4-0-on-debian-buster-and-migration-shipped-in-yunohost-3-8-5/11766 "2020-06-06T01:28:55Z")
**Posts on this page:** 20
**Page:** 1

<div class="post-metadata">

### Author: ![Aleks](https://forum.yunohost.org/user_avatar/forum.yunohost.org/aleks/32/1704_2.png) [@Aleks](https://forum.yunohost.org/u/Aleks)
#### Post date: [June 6, 2020, 1:28am UTC](https://forum.yunohost.org/t/alpha-stage-testing-for-yunohost-4-0-on-debian-buster-and-migration-shipped-in-yunohost-3-8-5/11766/1 "2020-06-06T01:28:55Z")

</div>

Hey there!

We are happy to announce that we are officially starting the transition to Buster 🎉 !

If you are familiar with server administration, you may understand that this is a delicate operation even though the Yunohost team will do its best to provide the smoothest possible transition with a one-click upgrade through the webadmin.

In order to test this mechanism and identify issues that cannot be spotted just on development environment, we are first opening this as **an alpha-stage testing** : the purpose is to gather feedback from **tech-savvy users** who are not afraid to tinker. Especially, we encourage you to **only run these tests if you have a way to entirely rollback your system** (using snapshots or other mechanism). Depending on feedback and issues found, we will then open a beta-testing that should be deemed more stable

# 🚧 **AT THIS STAGE, WE ABSOLUTELY DISCOURAGE ANY USE OF YUNOHOST 4.x (or running the migration shipped in 3.8.5) ON A PRODUCTION SERVER - [IT _WILL_ BREAK](https://www.youtube.com/watch?v=7Q8hAb230OE)**. 🚧

## 👾 What to test ?

There are two independent pieces to test.

### Installing a fresh YunoHost on top of a fresh Debian 10/Buster

This is done with :

```bash
$ wget https://install.yunohost.org/buster -O install_script
$ chmod +x install_script
$ ./install_script
# You will get a disclaimer intended to make sure what you're doing. 
# Read it and follow the instructions.

```

Apart from validating that the install does work, **we encourage you to test every apps and features that you would typically use in a real-life server** (so including the webadmin, the user portal, diagnosis, emails, …). Note that [some apps are still known to not support Buster yet](https://dash.yunohost.org/appci/compare/stable...buster) though fixes are on the way for most of them.

### Migrating an existing Debian 9/Stretch + YunoHost 3.8.x server

YunoHost 3.8.5 (currently testing) ships a migration that allows to upgrade to Debian 10/Buster + Yunohost 4.x.

Before going through this process, we reiterate that ideally, you should have **a way to entirely rollback your server before proceeding with the upgrade**. That way, if you spot issues, we’ll be able to provide a fix then validate that the fix works by re-running the upgrade from the same starting point.

1. Switch to testing by running:

`curl https://install.yunohost.org/switchToTesting | bash`

1. After upgrading, in the webadmin, under Tools \> Migrations, you should now see an available migration to upgrade to Buster. Read the disclaimer and start the migration.

2. … be patient, this will take a while. But try to stay attentive to what’s going on. Share the detailed log if anything that goes wrong.

3. Ideally after the upgrade, test that everything (e.g. apps installed) still works as expected.

---

<div class="post-metadata">

### Author: ![Aleks](https://forum.yunohost.org/user_avatar/forum.yunohost.org/aleks/32/1704_2.png) [@Aleks](https://forum.yunohost.org/u/Aleks)
#### Post date: [June 6, 2020, 1:40am UTC](https://forum.yunohost.org/t/alpha-stage-testing-for-yunohost-4-0-on-debian-buster-and-migration-shipped-in-yunohost-3-8-5/11766/2 "2020-06-06T01:40:32Z")

</div>



---

<div class="post-metadata">

### Author: ![ericg](https://forum.yunohost.org/user_avatar/forum.yunohost.org/ericg/32/1543_2.png) [@ericg](https://forum.yunohost.org/u/ericg)
#### Post date: [June 6, 2020, 7:35am UTC](https://forum.yunohost.org/t/alpha-stage-testing-for-yunohost-4-0-on-debian-buster-and-migration-shipped-in-yunohost-3-8-5/11766/3 "2020-06-06T07:35:07Z")

</div>

I made the migration from Stretch to Buster on a testing VPS (VPS S SSD from Contabo), it took about 15 minutes. After the installation I had to:

- restart `yunohost-api`
- migrate from PostgreSQL 9.6 to 11 (in the migration panel)
- restart `mattermost` service
- ~~JupyterLab gives `500 : Internal Server Error` after log in.~~  
**update** : jupyterLab was a custom version… after reinstalling the official version it worked).

Also, there are 2 warnings in the _Configurations système_ part of the diagnosis panel : `/etc/nslcd.conf` and `/etc/nsswitch.conf` “seem to have been modified manually”.

Apart from the two warnings the migration went surprisingly well for an alpha, congrats to everybody !

---

<div class="post-metadata">

### Author: ![Oni-Shadow](https://forum.yunohost.org/user_avatar/forum.yunohost.org/oni-shadow/32/1254_2.png) [@Oni-Shadow](https://forum.yunohost.org/u/Oni-Shadow)
#### Post date: [June 6, 2020, 8:24am UTC](https://forum.yunohost.org/t/alpha-stage-testing-for-yunohost-4-0-on-debian-buster-and-migration-shipped-in-yunohost-3-8-5/11766/4 "2020-06-06T08:24:34Z")

</div>

Hi there 👋  
Since my server is still down (could not find a way to reinstall yunohost image 3.6 w/ EFI), I think I am installing debian 10.4 netinst and will try to migrate to YNH 4 to see how it goes. If everything goes well, I intend to switch back to stable release once the official 4.0 is out.

Meanwhile I’ll provide feedback on what I see/experience.

Just a dumb question though, (it is not critical but) what is the default partitioning for YNH ? could not find it in the documentation and I would like to keep it “standard”.

---

<div class="post-metadata">

### Author: ![unsui](https://forum.yunohost.org/user_avatar/forum.yunohost.org/unsui/32/2898_2.png) [@unsui](https://forum.yunohost.org/u/unsui)
#### Post date: [June 6, 2020, 9:42am UTC](https://forum.yunohost.org/t/alpha-stage-testing-for-yunohost-4-0-on-debian-buster-and-migration-shipped-in-yunohost-3-8-5/11766/5 "2020-06-06T09:42:19Z")

</div>

Bonjour,

La migration s’est très bien déroulée en ce qui me concerne.

J’ai dû relancer manuellement 2 services (coturn-synapse et mattermost). A première vue, les apps Synapse, Riot, Roundcube, Nextcloud et Wordpress semblent fonctionnelles (voir à l’usage). La seule qui ne fonctionne plus est une custom web-app (2 sont configurées sur mon instance) dont le lien me renvoie au portail mais l’accès sftp fonctionne.

Pour ce qui est du diagnostic, hormis :

- Le fichier de configuration `/etc/nslcd.conf` semble avoir été modifié manuellement.
- Le fichier de configuration `/etc/nsswitch.conf` semble avoir été modifié manuellement.

tout est comme avant. J’avais déjà des “soucis” d’IP sur liste noire et de rDNS non configuré sur IPV6, un avertissement car j’ai modifié le port ssh et les “classiques” avertissements de dns pour les domaines n’ayant pas été configurés avec la conf conseillée. Si ce n’est les 2 points ci-dessus, rien d’anormal donc.

Pour une alpha, très honnêtement je m’attendais rencontrer plus de problèmes. Je reste évidemment attentif au fonctionnement à l’usage et vous ferai mes retours mais je tiens quand même à vous féliciter. Well done !

**Update :**

- j’ai dû reconfigurer la timezone
- concernant la custom webapp, je reçois ce message via le portail :

> Erreur de redirection : domaine non géré

Je précise que mes 2 webapps sont configurée en sous-répertoire d’un domaine sousdomaine.domaine.tld/site (celle qui ne fonctionne plus et la première à avoir été configurée) et sousdomaine.domaine.tld/test (qui elle fonctionne)

- Après reboot, le service Synapse ne se lance plus, voilà une partie du log :

> – A start job for unit matrix-synapse.service has begun execution.  
> –  
> – The job identifier is 115.  
> Jun 06 12:21:57 python[719]: /opt/yunohost/matrix-synapse/bin/python: Error while finding module specification for ‘synapse.app.homeserver’ (ModuleNotFoundError: No module named ‘synapse’)  
> Jun 06 12:21:57 systemd[1]: matrix-synapse.service: Control process exited, code=exited, status=1/FAILURE  
> – Subject: Unit process exited  
> – Defined-By: systemd

---

<div class="post-metadata">

### Author: ![grena](https://forum.yunohost.org/letter_avatar_proxy/v4/letter/g/71e660/32.png) [@grena](https://forum.yunohost.org/u/grena)
#### Post date: [June 6, 2020, 11:24am UTC](https://forum.yunohost.org/t/alpha-stage-testing-for-yunohost-4-0-on-debian-buster-and-migration-shipped-in-yunohost-3-8-5/11766/6 "2020-06-06T11:24:27Z")

</div>

Firstly, a **big thanks** to the **contributors** for the **work already done** on Yunohost 4.0 😉

Unfortunately, for me it’s a failure ([full logs](https://paste.yunohost.org/raw/noyazapuco)) under _Raspberry Pi 3B+_! I used a fresh install, switch to testing after post install.

Migration stopped after several warnings: `pkgProblemResolver::Resolve generated breaks, this may be caused by held packages.`

I remain available if it will help you!

---

<div class="post-metadata">

### Author: ![Oni-Shadow](https://forum.yunohost.org/user_avatar/forum.yunohost.org/oni-shadow/32/1254_2.png) [@Oni-Shadow](https://forum.yunohost.org/u/Oni-Shadow)
#### Post date: [June 6, 2020, 11:53am UTC](https://forum.yunohost.org/t/alpha-stage-testing-for-yunohost-4-0-on-debian-buster-and-migration-shipped-in-yunohost-3-8-5/11766/7 "2020-06-06T11:53:04Z")

</div>

So, I installed Debian 10.4 and did the migration script to yunohost  
the script ended with sucess.  
Before postinstall I tried a few things that did not work :

- cannot login using admin user (either on local or through SSH)
- /home directory lacks the yunohost folders (i.e only 1user forled in /home, no yunohost.backup for instance)

I created the /home/yunohost.backup/archives folder and tried restoring :

```auto
 
root# yunohost backup restore 20200503-161741.tar.gz
Error: Unknown local backup archive named '20200503-161741.tar.gz'
root# yunohost backup restore /home/yunohost.backup/archives/20200503-161741.tar.gz
Error: Unknown local backup archive named '/home/yunohost.backup/archives/20200503-161741.tar.gz'

```

edit : after doing a classic post install, I could see my backups in the folder through the web interface. However, selecting a achieve (~30 Gib) does not seem to work. After 1h30 min I am still at the step `"Preparing archive for restoration…"` nothing has moved ever since

Edit2 : even w/o Nextcloud (28 Gib) the backup does not work  
Edit3 : actually it did after taking ~6 hours on 1 proc thread, long but ok (W/o Nextcloud)  
Trying to add nextcloud afterward [does not work though](https://paste.yunohost.org/raw/ufezagazex)

---

<div class="post-metadata">

### Author: ![ericg](https://forum.yunohost.org/user_avatar/forum.yunohost.org/ericg/32/1543_2.png) [@ericg](https://forum.yunohost.org/u/ericg)
#### Post date: [June 7, 2020, 10:45am UTC](https://forum.yunohost.org/t/alpha-stage-testing-for-yunohost-4-0-on-debian-buster-and-migration-shipped-in-yunohost-3-8-5/11766/8 "2020-06-07T10:45:53Z")

</div>

The font style is not applied to these two buttons : admin \> utilisateurs \> user panel

 ![user](https://forum.yunohost.org/uploads/default/original/2X/a/a46ccef565530aa4409f1bfbd53e9963c196034f.jpeg)

---

<div class="post-metadata">

### Author: ![guilg](https://forum.yunohost.org/letter_avatar_proxy/v4/letter/g/ebca7d/32.png) [@guilg](https://forum.yunohost.org/u/guilg)
#### Post date: [June 8, 2020, 8:06am UTC](https://forum.yunohost.org/t/alpha-stage-testing-for-yunohost-4-0-on-debian-buster-and-migration-shipped-in-yunohost-3-8-5/11766/9 "2020-06-08T08:06:31Z")

</div>

Migrations done on a Scaleway ARM instance.  
Everything works so far.  
Diagnosis tool told me to regenerate config files for nsswitch and nslcd, which I did, and it does not complain anymore so it sounds good.  
Also, metronome exited, I restarted it and XMPP works so this is great.  
Nextcloud works so far, lufi as well, the custom webapp and the redirect apps are working.  
Really good job ! I wouldn’t call this an alpha though…

---

<div class="post-metadata">

### Author: ![rodinux](https://forum.yunohost.org/user_avatar/forum.yunohost.org/rodinux/32/7029_2.png) [@rodinux](https://forum.yunohost.org/u/rodinux)
#### Post date: [June 8, 2020, 3:30pm UTC](https://forum.yunohost.org/t/alpha-stage-testing-for-yunohost-4-0-on-debian-buster-and-migration-shipped-in-yunohost-3-8-5/11766/10 "2020-06-08T15:30:41Z")

</div>

J’ai juste fait une mise à jour d’un serveur de test qui avait la version antérieure sur un raspberry pi4 pour l’instant avec un autre nom de domaine que celui de mon serveur auto-hébérgé. Ça ce passe bien…

Je n’ouvre pas encore les ports tant que je ne peux pas encore migrer correctement mon autre serveur. Pour l’instant pas mal d’applications ne sont pas encore compatibles…

Du coup je vois ces messages dans Diagnosis:  
` Votre IP ou domaine XX.XX.XX.XXX est sur liste noire sur SpamRATS! all Votre IP ou domaine XX.XX.XX.XXX est sur liste noire sur SPFBL.net RB`  
Mais je pense que c’est parce que rien n’est configuré, j’espère que cela ne va pas blacklisté l’autre mail de la machine en prod…  
Finalement, j’ai ajouté vpnclient et configurer le Pi4 avec une adresse vpn… Du coup je n’ai pas de reverse dns configuré avec cette méthode…

---

<div class="post-metadata">

### Author: ![mataleao](https://forum.yunohost.org/letter_avatar_proxy/v4/letter/m/35a633/32.png) [@mataleao](https://forum.yunohost.org/u/mataleao)
#### Post date: [June 8, 2020, 4:04pm UTC](https://forum.yunohost.org/t/alpha-stage-testing-for-yunohost-4-0-on-debian-buster-and-migration-shipped-in-yunohost-3-8-5/11766/11 "2020-06-08T16:04:02Z")

</div>

It works on my Raspberry Pi 4, wow. Thanx a lot. Already tested Wordpress, Rainloop, Netdata and Plex. Everything works fine.

---

<div class="post-metadata">

### Author: ![mataleao](https://forum.yunohost.org/letter_avatar_proxy/v4/letter/m/35a633/32.png) [@mataleao](https://forum.yunohost.org/u/mataleao)
#### Post date: [June 8, 2020, 4:36pm UTC](https://forum.yunohost.org/t/alpha-stage-testing-for-yunohost-4-0-on-debian-buster-and-migration-shipped-in-yunohost-3-8-5/11766/12 "2020-06-08T16:36:14Z")

</div>

But not ☹ I was excited early. When I try to open a website on Wordpress, for some reason it’s redirected to [https://mydomain.com/yunohost/sso/](https://mydomain.com/yunohost/sso/) How to fix it?

---

<div class="post-metadata">

### Author: ![Aleks](https://forum.yunohost.org/user_avatar/forum.yunohost.org/aleks/32/1704_2.png) [@Aleks](https://forum.yunohost.org/u/Aleks)
#### Post date: [June 8, 2020, 5:11pm UTC](https://forum.yunohost.org/t/alpha-stage-testing-for-yunohost-4-0-on-debian-buster-and-migration-shipped-in-yunohost-3-8-5/11766/13 "2020-06-08T17:11:08Z")

</div>

Well what are you trying exactly …

---

<div class="post-metadata">

### Author: ![mataleao](https://forum.yunohost.org/letter_avatar_proxy/v4/letter/m/35a633/32.png) [@mataleao](https://forum.yunohost.org/u/mataleao)
#### Post date: [June 8, 2020, 5:19pm UTC](https://forum.yunohost.org/t/alpha-stage-testing-for-yunohost-4-0-on-debian-buster-and-migration-shipped-in-yunohost-3-8-5/11766/14 "2020-06-08T17:19:21Z")

</div>

I figure out how to fix this issue. I just forgot to specify in Wordpress settings to use this domain by default. Sorry.

---

<div class="post-metadata">

### Author: ![Jaxom99](https://forum.yunohost.org/user_avatar/forum.yunohost.org/jaxom99/32/776_2.png) [@Jaxom99](https://forum.yunohost.org/u/Jaxom99)
#### Post date: [June 9, 2020, 12:12pm UTC](https://forum.yunohost.org/t/alpha-stage-testing-for-yunohost-4-0-on-debian-buster-and-migration-shipped-in-yunohost-3-8-5/11766/15 "2020-06-09T12:12:46Z")

</div>

Upgrade went well on my testing VM, from 3.8 to Alpha, and stretch to buster 10.4.

The apps installed are Moodle, Monitorix, LimeSurvey, Framaforms and Friendica. They were not fully functionnal before upgrade, but they did not break further.

I also have the 2 warnings about changed files in system conf :` /etc/nslcd.conf` and `/etc/nsswitch.conf`. No public IP so I could not test the rest of it.

But so and so : it went well 😃 Thanks for all the hard work, hopefully we can help you do more testing later on.

---

<div class="post-metadata">

### Author: ![frank](https://forum.yunohost.org/letter_avatar_proxy/v4/letter/f/3d9bf3/32.png) [@frank](https://forum.yunohost.org/u/frank)
#### Post date: [June 9, 2020, 1:57pm UTC](https://forum.yunohost.org/t/alpha-stage-testing-for-yunohost-4-0-on-debian-buster-and-migration-shipped-in-yunohost-3-8-5/11766/16 "2020-06-09T13:57:23Z")

</div>

Hello and thank you devs, for the good work. I installed the yunohost 4.0.1~alpha (testing) on a virtual machine and I’m impressed!  
After installing roundcube, Keeweb and FirefoxSync server, I struggled on installing Nextcloud (but this is a known problem, I suppose).  
Such a nice project - looking forward to run yunohost on my raspPi4 soon.

P.S. Installing synapse and calibreweb failed too. In the later case, python 3.5 is missing on the system. Also pip is warning: "DEPRECATION: Python 2.7 reached the end of its life on January 1st, 2020. pip 21.0 will drop support for Python 2.7 in January 2021. " Would it make sense, to share logfiles somewhere?

---

<div class="post-metadata">

### Author: ![Neru](https://forum.yunohost.org/user_avatar/forum.yunohost.org/neru/32/2801_2.png) [@Neru](https://forum.yunohost.org/u/Neru)
#### Post date: [June 10, 2020, 7:20am UTC](https://forum.yunohost.org/t/alpha-stage-testing-for-yunohost-4-0-on-debian-buster-and-migration-shipped-in-yunohost-3-8-5/11766/17 "2020-06-10T07:20:49Z")

</div>

Installation réussi sur un Raspberry PI 4 Model B 8 Go avec la version beta 64 bits de Raspberry Pi OS 😃

---

<div class="post-metadata">

### Author: ![Neru](https://forum.yunohost.org/user_avatar/forum.yunohost.org/neru/32/2801_2.png) [@Neru](https://forum.yunohost.org/u/Neru)
#### Post date: [June 10, 2020, 10:26am UTC](https://forum.yunohost.org/t/alpha-stage-testing-for-yunohost-4-0-on-debian-buster-and-migration-shipped-in-yunohost-3-8-5/11766/18 "2020-06-10T10:26:11Z")

</div>

Soucis pour l’installation Nextcloud

Le Yunopaste au cas ou : [https://paste.yunohost.org/raw/eyikitexob](https://paste.yunohost.org/raw/eyikitexob)

---

<div class="post-metadata">

### Author: ![tmb](https://forum.yunohost.org/letter_avatar_proxy/v4/letter/t/7c8e57/32.png) [@tmb](https://forum.yunohost.org/u/tmb)
#### Post date: [June 10, 2020, 11:25am UTC](https://forum.yunohost.org/t/alpha-stage-testing-for-yunohost-4-0-on-debian-buster-and-migration-shipped-in-yunohost-3-8-5/11766/19 "2020-06-10T11:25:49Z")

</div>

It’s great to see that buster starts to be working. Thank you so much.

Maybe this is a possibility to further verify the migration success: After testing the migration manually, the filesystem of a migrated default install could then be compared to a newly installed buster system.

For example, with the `meld` GUI program and selecting the remote filesystem(s).

---

<div class="post-metadata">

### Author: ![HorizonInnovate](https://forum.yunohost.org/letter_avatar_proxy/v4/letter/h/76d3ee/32.png) [@HorizonInnovate](https://forum.yunohost.org/u/HorizonInnovate)
#### Post date: [June 11, 2020, 5:32am UTC](https://forum.yunohost.org/t/alpha-stage-testing-for-yunohost-4-0-on-debian-buster-and-migration-shipped-in-yunohost-3-8-5/11766/20 "2020-06-11T05:32:50Z")

</div>

Raspberry Pi3B+  
Fresh install, upto testing, them migration: failed with held dependancies. Logs gone somewhere, I’ll post if and when I find them!

Will try another route and report back

[Next page](https://forum.yunohost.org/t/alpha-stage-testing-for-yunohost-4-0-on-debian-buster-and-migration-shipped-in-yunohost-3-8-5/11766.md?page=2)
