Saturday, January 25, 2025
support@conference.yunohost.org
January
Mon Tue Wed Thu Fri Sat Sun
    1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
   
             

[16:05:38] <selfhoster1312> hello for some reason in latest updates something broke and now i can't ping my router or DNS with it... did anything change with firewall or did someone have a similar issue? i've worked around it by using upstream DNS instead of my router's but it's just strange i've never seen an issue like this...
[16:07:03] <selfhoster1312> (i'm not asking for help debugging this i've spent too much time on this heisenbug, just asking if it reminds anyone of something)
[16:18:43] <Lasse Gismo> Hi. I'm back again with my YNH11/Raspi3-to-YNH12/Raspi5 migration project - a very long lasting story without any success before I got the last tips to follow and now I was partially successful. Last project steps and error/full logs following - and there are error logs for each unsuccessful restored app to investigate. So - let's go.
[16:19:09] <Lasse Gismo> New image prepared
Domain and user configured
System upgraded via "sudo apt update" "sudo apt full-upgrade"
All further apps installed
System Restored
All apps (7) removed
All apps (7) restored, one by one
4 apps restored with success
3 apps not restored

Errorlogs are here:
https://paste.yunohost.org/raw/icucubapih
https://paste.yunohost.org/raw/unulerinul
https://paste.yunohost.org/raw/pogowikazo

Complete Logs are here:
https://lassegismo.dnsuser.info/nextcloud/s/EYA48Q5joAs2G2c

[16:20:54] <selfhoster1312> looks like unescaped password in mysql command
[16:21:04] <selfhoster1312> (or too much escaped)
[16:26:32] <Lasse Gismo> 🤔 - so a bug in the restore script? I didn't change anything, its only click work...
[16:33:08] <Lasse Gismo> I never hat such probs. restoring DB related apps in my existing system (YNH11/Raspi3), with YNH12/Raspi5 the probs. came up first - so, what to do?
[16:41:47] <Aleks (he/him/il/lui)> hmmm there are various result when searching that error on the internet, supposedly that may be due to a different version of mariadb between the original system and the new system ? https://discourse.roots.io/t/sync-script-fix-for-error-at-line-1-unknown-command/27734
[16:44:36] <Lasse Gismo> Not aware of any version change of mariadb, it's a an original image from YNH site I'm using
[16:44:43] <Aleks (he/him/il/lui)> but you're moving from ynh 11 to 12, right ?
[16:45:26] <Lasse Gismo> any command to check the versions on both sides?
[16:45:43] <Lasse Gismo> Exact :-)
[16:46:58] <Lasse Gismo> want to run my new YNH on a 64 Bit system - so Raspi5
[16:48:55] <Lasse Gismo> is there probably a YNH11 image for 64 Bit systems available where I can migrate to YNH12 later on?
[16:54:25] <Lasse Gismo> My Maria DB versions:
[16:54:43] <Lasse Gismo> YNH11: mysqld Ver 10.5.26-MariaDB-0+deb11u2 for debian-linux-gnueabihf on armv8l (Raspbian 11)
[16:54:59] <Lasse Gismo> YNH12: mysqld Ver 10.11.6-MariaDB-0+deb12u1 for debian-linux-gnu on aarch64 (Debian 12)
[17:42:28] <Lasse Gismo> any idea what to do further?
[17:48:00] <rodinux> Some poeple have similar problems with mariadb, a line in the begining of the file db.sql to remove, see here for example https://forum.yunohost.org/t/wordpress-recovery-from-backup-not-possible-error-at-line-1-unknown-command/32348/2
[18:00:46] <Lasse Gismo> hm...let's see
[18:04:31] <Lasse Gismo> sounds promising, will try TM - TX
[19:12:14] <satadaes> any recomendations to say restart a service if it has crashed?
[19:12:18] <satadaes> automatically
[19:12:30] <satadaes> or at least alert me
[19:59:37] <selfhoster1312> satadaes, systemctl enable ?
[20:03:08] <Aleks (he/him/il/lui)> uuuh Type=notify is definitely not what you think it is
[20:06:11] <tufek> hmm yea mybad I was about to edit, with a bold *maybe* 😅
[20:06:55] <tufek> tweak on /etc/systemd/system/\<your-service>? Maybe with `Restart=on-failure` and ~Type=notify~ below \[Service\] line?
[20:07:35] <tufek> tweak on /etc/systemd/system/\<your-service>? Maybe with `Restart=on-failure` and ~~Type=notify~~ below \[Service\] line?
[20:08:54] <tufek> time to find how to strikethrough text on Matrix
[20:10:39] <tufek> tweak on /etc/systemd/system/\<your-service>? Maybe with `Restart=on-failure` and <del><del>Type=n</del>otify</del> below \[Service\] line?
[20:11:11] <tufek> tweak on /etc/systemd/system/\<your-service>? Maybe with `Restart=on-failure` and <del><del>Type=n</del>otify</del>(not this one) below \[Service\] line?
[20:11:55] <orhtej2> `<del>like that</del>` if you're wondering ;)
[20:11:55] <orhtej2> <del>like that</del>
[20:16:58] <tufek> [ OnFailure=notify-failed@%n](https://serverfault.com/questions/694818/get-notification-when-systemd-monitored-service-enters-failed-state#701100) should be the good one though
[21:58:17] <satadaes> tyvm :)
[21:58:34] <satadaes> yall are saints btw
[22:36:17] <rodinux> Hello, I found some error deleting accounts with the hook `/etc/yunohost/hooks.d/post_user_delete/50-nextcloud`
```
Warning: ./50-nextcloud: line 13: ynh_exec_as_app: command not found Error: Could not run script: /etc/yunohost/hooks.d/post_user_delete/50-nextcloud
```
[22:46:14] <Aleks (he/him/il/lui)> zmlerf i guess `hook_callback` doesn't inject the proper HELPERS_VERSION variable
[22:46:55] <Aleks (he/him/il/lui)> it helps if you can open an issue on yunohost/issues such that this doesnt fall into oblivion until it happens for the next person
[22:53:42] <rodinux> In fact the hook is on the nextcloud app, the issue should be open on the nextcloud or on yunohost ?
[22:54:01] <Aleks (he/him/il/lui)> on yunohost, it's a core issue
[22:58:08] <olivier> evening to you all ; I've finally found the guts to migrate to bookworm, and my first obstacle came much sooner than expected : `Error: Migration 0027_migrate_to_bookworm did not complete, aborting. Error: Your system is not fully up-to-date. Please perform a regular upgrade before running the migration to Bookworm.` ; thing is, I do upgraded minutes before ; here are a little more info : https://paste.yunohost.org/raw/majilipini
[22:58:36] <olivier> (weird thing is that "crystal" package that keeps poping as being upgrade-able way too often)
[23:00:33] <olivier> apparently, crystal==1.15.0-1+1.1 would like to be installed, but it's being kept back
[23:02:43] <olivier> forcing upgrade, not even sure what that package is for (yeah, it's a language from what internet told me, but no idea what is using it among my apps)
[23:03:34] <olivier> 🤞
[23:49:09] <@chrichri:ween.de> > <@olivier:no.dustinthe.net> forcing upgrade, not even sure what that package is for (yeah, it's a language from what internet told me, but no idea what is using it among my apps)

Good luck! I'm [preparing](https://z9.de/hedgedoc/-a6xUkvlTUCrSWDorSGliA/publish) my upgrade already for some time to not have too much unexpected downtime... 🤞
[23:59:44] <Sean> Are there docs on this yet? https://yunohost.org/registar_api_cloudflare