Wednesday, September 06, 2023
support@conference.yunohost.org
September
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
 
             

[14:00:59] <eric_G> nalla22: Do you really have 59 apps installed? (400 more and you get the complet catalog 😅)
[14:01:37] <Chatpitaine Caverne> I tried a forced upgrade, but it forces nothing :
```
$ sudo yunohost app upgrade mobilizon -F
Info: Now upgrading mobilizon...
Info: [+...................] > Loading installation settings...
Info: [#+..................] > Checking version...
Info: Up-to-date, nothing to do
Success! mobilizon upgraded
Success! Upgrade complete
```


[14:12:55] <Chatpitaine Caverne> I tried also that command :
`$ sudo yunohost app upgrade mobilizon -u https://github.com/YunoHost-Apps/mobilizon_ynh --debug --force`

En still nothing, here is the full log : https://paste.yunohost.org/raw/wowuquxene
[14:12:56] <barking bandicoot> > how are you tring to connect it ?

sftp
[14:12:58] <orhtej2> > <@chatpitaine:cirkau.art> I tried also that command :
> `$ sudo yunohost app upgrade mobilizon -u https://github.com/YunoHost-Apps/mobilizon_ynh --debug --force`
>
> En still nothing, here is the full log : https://paste.yunohost.org/raw/wowuquxene

it says you're already running `3.1.3~ynh2` hence no update
[14:13:03] <Chatpitaine Caverne> https://aria.im/_matrix/media/v1/download/cirkau.art/GrvmbUTvIYGLxMzTKQSheleX
[14:13:03] <Chatpitaine Caverne> > it says you're already running `3.1.3~ynh2` hence no update

Yes, but the --force is supposed to update whatever.
And to be clearer, the About section says I'm on 2.0.2 version :
[14:13:03] <orhtej2> > <@chatpitaine:cirkau.art> Yes, but the --force is supposed to update whatever.
> And to be clearer, the About section says I'm on 2.0.2 version :

upgrade script is ~busted https://github.com/YunoHost-Apps/mobilizon_ynh/blob/f8062a9e48a9f8353685e714454669d808290710/scripts/upgrade#L41
[14:13:04] <orhtej2> where did you get that screenshot from?
[14:13:04] <Chatpitaine Caverne> > where did you get that screenshot from?

In the Mobilizon GUI section "à propos"
[14:13:04] <orhtej2> > <@chatpitaine:cirkau.art> In the Mobilizon GUI section "à propos"

⏳️
[14:13:04] <orhtej2> you installed fresh or installed in the past and went through a number of updates?
[14:13:50] <Chatpitaine Caverne> It's a long time install, but I don't use and check very often this app (personally, cause some of my users do, that's one of them who alerted me)
[14:13:51] <Chatpitaine Caverne> Maybe, I can uninstall and re-install and do the configuration again, but that very strange.
[14:13:51] <orhtej2> > <@chatpitaine:cirkau.art> Maybe, I can uninstall and re-install and do the configuration again, but that's very strange.

if you uninstall you'll lose all user data
[14:13:52] <orhtej2> it installs fine
[14:13:52] <orhtej2> so that check is to be redone
[14:13:53] <orhtej2> https://aria.im/_matrix/media/v1/download/circledsquareroot.ovh/15b1e54f07cd76b41e035dd107d9826de1d8bef4a8e4ddf1bbe1c8d21c055209
[14:13:53] <Chatpitaine Caverne> Yes, that's why I didn't do it yet. Even, we didn't put a lot of stuff yet in this app.
[14:13:54] <orhtej2> ported changes from pleorma: https://github.com/YunoHost-Apps/mobilizon_ynh/pull/173
[14:13:54] <orhtej2> you can try `sudo yunohost app upgrade mobilizon -u https://github.com/orhtej2/mobilizon_ynh/tree/patch-1 --force`
[14:13:54] <Erik Kemp> > <@erik:utwente.io> Hi, I posted a message on the forum: https://forum.yunohost.org/t/spam-mail-every-10-minutes/26158 but I didn't get any reply, so let's try it here. Does anyone have an idea how I can get these mails to stop coming in? :P

Anyone? This e-mail thing is really giving me headaches :P
[14:13:55] <Chatpitaine Caverne> Indeed for v2.0.2 there is a arm64 package : https://packages.joinmobilizon.org/2.0.2/
for 3.1.3 there is only amd64 : https://packages.joinmobilizon.org/3.1.3/
[14:13:55] <Chatpitaine Caverne> I have another ARM64 device for test purposes, maybe I can use it to build a package. The matter is I'm still very newbie and I'm not sure I'm able to do that.
[14:13:56] <Chatpitaine Caverne> So, the upgrade went on with only the following warning :
``Warning: ynh_package_version: line 17: [: missing `]'``
But, I'm still on 2.0.2.
And maybe the cause could be somewhere here (it checks 2.0.2 version sources)

```
DEBUG - + ynh_version_gt 2.0.2~ynh1 3.1.3~ynh2
2023-09-06 13:42:39,156: DEBUG - + dpkg --compare-versions 2.0.2~ynh1 gt 3.1.3~ynh2
2023-09-06 13:42:39,349: INFO - [#####+..............] > Making sure dedicated system user exists...
2023-09-06 13:42:39,351: DEBUG - + ynh_system_user_create --username=mobilizon --home_dir=/var/www/mobilizon
2023-09-06 13:42:39,583: DEBUG - + use_shell=0
2023-09-06 13:42:39,584: DEBUG - + home_dir=/var/www/mobilizon
2023-09-06 13:42:39,585: DEBUG - + groups=
2023-09-06 13:42:39,586: DEBUG - + ynh_system_user_exists mobilizon
2023-09-06 13:42:39,622: DEBUG - + getent passwd mobilizon
2023-09-06 13:42:39,668: DEBUG - + '[' UPGRADE_APP == UPGRADE_APP ']'
2023-09-06 13:42:39,844: INFO - [######+.............] > Upgrading source files...
2023-09-06 13:42:39,846: DEBUG - + ynh_secure_remove --file=/var/www/mobilizon/live
2023-09-06 13:42:40,582: DEBUG - + ynh_setup_source --dest_dir=/var/www/mobilizon/live --source_id=arm64
2023-09-06 13:42:40,805: DEBUG - + keep=
2023-09-06 13:42:40,806: DEBUG - + full_replace=0
2023-09-06 13:42:40,807: DEBUG - + test -e /var/cache/yunohost/app_tmp_work_dirs/app_dch1ed3y/manifest.toml
2023-09-06 13:42:40,807: DEBUG - + source_id=arm64
2023-09-06 13:42:40,808: DEBUG - + local src_file_path=/var/cache/yunohost/app_tmp_work_dirs/app_dch1ed3y/conf/arm64.src
2023-09-06 13:42:40,811: DEBUG - ++ grep SOURCE_URL= /var/cache/yunohost/app_tmp_work_dirs/app_dch1ed3y/conf/arm64.src
2023-09-06 13:42:40,811: DEBUG - ++ cut --delimiter== --fields=2-
2023-09-06 13:42:40,947: DEBUG - + local src_url=https://packages.joinmobilizon.org/2.0.2/mobilizon_2.0.2_arm64.tar.gz
```

Here is the full log : https://paste.yunohost.org/raw/qiyayikucu

Note that architecture is ARM64, maybe specific mistake for this architecture.
[14:13:57] <orhtej2> > <@chatpitaine:cirkau.art> So, the upgrade went on with only the following warning :
> ``Warning: ynh_package_version: line 17: [: missing `]'``
> But, I'm still on 2.0.2.
> And maybe the cause could be somewhere here (it checks 2.0.2 version sources)
>
> ```
> DEBUG - + ynh_version_gt 2.0.2~ynh1 3.1.3~ynh2
> 2023-09-06 13:42:39,156: DEBUG - + dpkg --compare-versions 2.0.2~ynh1 gt 3.1.3~ynh2
> 2023-09-06 13:42:39,349: INFO - [#####+..............] > Making sure dedicated system user exists...
> 2023-09-06 13:42:39,351: DEBUG - + ynh_system_user_create --username=mobilizon --home_dir=/var/www/mobilizon
> 2023-09-06 13:42:39,583: DEBUG - + use_shell=0
> 2023-09-06 13:42:39,584: DEBUG - + home_dir=/var/www/mobilizon
> 2023-09-06 13:42:39,585: DEBUG - + groups=
> 2023-09-06 13:42:39,586: DEBUG - + ynh_system_user_exists mobilizon
> 2023-09-06 13:42:39,622: DEBUG - + getent passwd mobilizon
> 2023-09-06 13:42:39,668: DEBUG - + '[' UPGRADE_APP == UPGRADE_APP ']'
> 2023-09-06 13:42:39,844: INFO - [######+.............] > Upgrading source files...
> 2023-09-06 13:42:39,846: DEBUG - + ynh_secure_remove --file=/var/www/mobilizon/live
> 2023-09-06 13:42:40,582: DEBUG - + ynh_setup_source --dest_dir=/var/www/mobilizon/live --source_id=arm64
> 2023-09-06 13:42:40,805: DEBUG - + keep=
> 2023-09-06 13:42:40,806: DEBUG - + full_replace=0
> 2023-09-06 13:42:40,807: DEBUG - + test -e /var/cache/yunohost/app_tmp_work_dirs/app_dch1ed3y/manifest.toml
> 2023-09-06 13:42:40,807: DEBUG - + source_id=arm64
> 2023-09-06 13:42:40,808: DEBUG - + local src_file_path=/var/cache/yunohost/app_tmp_work_dirs/app_dch1ed3y/conf/arm64.src
> 2023-09-06 13:42:40,811: DEBUG - ++ grep SOURCE_URL= /var/cache/yunohost/app_tmp_work_dirs/app_dch1ed3y/conf/arm64.src
> 2023-09-06 13:42:40,811: DEBUG - ++ cut --delimiter== --fields=2-
> 2023-09-06 13:42:40,947: DEBUG - + local src_url=https://packages.joinmobilizon.org/2.0.2/mobilizon_2.0.2_arm64.tar.gz
> ```
>
> Here is the full log : https://paste.yunohost.org/raw/qiyayikucu
>
> Note that architecture is ARM64, maybe specific mistake for this architecture.

hmm, I used wrong syntax, can you please try again?
[14:13:57] <Chatpitaine Caverne> > hmm, I used wrong syntax, can you please try again?

The warning is not there anymore. So the --force option looks fixed.
However, the lack of arm64 version let me stuck in 2.0.2 (previous messages).
Full log : https://paste.yunohost.org/raw/rigeqitoya
[14:13:57] <orhtej2> > <@chatpitaine:cirkau.art> The warning is not there anymore. So the --force option looks fixed.
> However, the lack of arm64 version let me stuck in 2.0.2 (previous messages).
> Full log : https://paste.yunohost.org/raw/rigeqitoya

hmm indeed x_x
[14:13:57] <Chatpitaine Caverne> > <@erik:utwente.io> Anyone? This e-mail thing is really giving me headaches :P

Hello Erik,
I don't use DynDNS so I don't know much. But you can search in /etc/cron(something) (there is cron.d folder, crontab, cron.hourly, cron.daily, ... which cron job is running every 10 minutes.
What is strange is that it tells you that admin@YOURDOMAIN.tld doesn't exist. Normally, the first user you created (and all users in admins group should get the emails to admin@...) .
And for cron syntax, this site is useful to help understand it : https://cron.help/
[14:14:00] <orhtej2> > hmm indeed x_x

not another elixir project
[14:33:01] <Chatpitaine Caverne> orhtej2: I'll try to contact Framasoft in order to see if it would be possible to solve this situation. Maybe I can use my arm64 device to compile Mobilizon with their help. Anyway thank you for your help.