Monday, January 29, 2024
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
       
             

[13:24:23] <Mateusz Szymański> ok, have the domain registered on RBPI (I believe it needs to be at least registered in YNH), run restore with whatever option leaves the app on even on failure, then force-update
[13:24:23] <kemi> > <@orhtej2:matrix.org> note that you have to have the same domain registered on your rbpi for the synapse to work actually

the restore also not ending sucessfully if the domain diddnt pont to the ip of the RBP?
[13:24:24] <kemi> already if i restore only synapse i get alot of errors
restoring everything have about 7 critical error
[13:24:24] <kemi> i tryed restoren only the synaptic but after it installs the script ends with deinstalling again
[13:25:23] <kemi> usage: yunohost app upgrade [app ...] [-h] [-u URL] [-f FILE] [-F] [-b] [-c]
yunohost app upgrade: error: argument -f/--file: expected one argument

[13:25:26] <kemi> -f means file
[13:25:29] <kemi> but -force give me
Error: Could not find synapse in the list of installed apps:
*

[13:25:30] <Mateusz Szymański> `-F` then :P
[13:25:41] <kemi> oh ok
[13:25:41] <kemi> sudo yunohost app upgrade synapse -F
Error: Could not find synapse in the list of installed apps:

[13:25:41] <Mateusz Szymański> sorry, there's capitalization difference between different commands
[13:25:42] <Mateusz Szymański> great, then restoration did indeed uninstall on failed restore :/
[13:25:42] <Mateusz Szymański> maybe post/search on forums? I'm out of ideas
[13:25:42] <kemi> ok thx for your help
[13:25:42] <kemi> :)
[13:25:46] <Mateusz Szymański> it's definitely doable as I vaguely remember someone doing that in the past
[13:25:46] <kemi> ok
[13:25:47] <kemi> oh thx
[13:25:47] <Mateusz Szymański> there was a dude doing exactly that here: https://github.com/YunoHost-Apps/synapse_ynh/issues/423#issuecomment-1774187345
perhaps that will give you some pointers
[13:25:47] <kemi> i give up for now and read this tommorrow my brain is out of capacy right now :)
[14:11:44] <kemi> which database did yunohost use for synapse? postgresSQL or different and whats the password?
[15:45:51] <Mateusz Szymański> [PostgreSQL](https://github.com/YunoHost-Apps/synapse_ynh/blob/b0850e5e517fbc1f300f974a62709977da7684f5/scripts/install#L252), the password is obtainable by running `sudo yunohost app setting get synapse_db_pwd` or whatever the syntax is on the command
[15:48:13] <kemi> thx alot!
[15:48:21] <kemi> cant backup the postgresSQL database the password in /etc/yunohost/postgres is not working no user is able to login
i tryed pgadmin
and
pg_dump
cant login
[15:49:51] <Mateusz Szymański> `sudo -u postgres pg_dump some_database_name > file.sql`
[15:50:48] <kemi> thx! that worked
[15:54:14] <tolot> Hi everyone! I have an issue that I dunno if someone else had foud too. It's been a few days since I tried to run the `yunohost backup create` command and I realized that it stays stucked at creating the archive and never stops. this issue happened both by running che command line backup command and also when creating the backup with the admin interface. Some one else found this issue? Where can I look for some debugging?

[15:57:31] <tolot> Ps. It eventually returns the 504 Gateway error

[15:59:51] <Aleks (he/him/il/lui)> how "stuck" is it, couldn't it be that the backup is huge and therefore takes a lot of time to create ?
[16:02:38] <Chatpitaine Caverne> > <@kemi:govinda.krshna.at> cant backup the postgresSQL database the password in /etc/yunohost/postgres is not working no user is able to login
> i tryed pgadmin
> and
> pg_dump
> cant login

And, too late, but maybe the user is synapse.
[16:04:10] <tolot> > how "stuck" is it, couldn't it be that the backup is huge and therefore takes a lot of time to create ?
usually it takes from 10 to 15 minutes, archive is 30GB

[16:26:22] <Mateusz Szymański> > <tolot> Ps. It eventually returns the 504 Gateway error

from webadmin that's ~expected, it just means ynh is busy and not serving http rn
[16:27:58] <Chatpitaine Caverne> tolot: Or you can check the yunohost-api log by :
`tail -f -n 50 /var/log/yunohost/yunohost-api.log`
[16:27:58] <Chatpitaine Caverne> tolot: If you have command line access, you can check if the backup if finished or not by :
`ls -alht /home/yunohost.backup/archives/ `
If there is not yet the json file for your generating backup, it is not finished.
504 happens very often to me during big backups from webadmin.
[16:30:59] <kemi> > <@chatpitaine:cirkau.art> And, too late, but maybe the user is synapse.

synaptic also diddnt work
[16:31:03] <kemi> but sudo -u postgres does it
[16:32:31] <tolot> > tolot: Or you can check the yunohost-api log by :
> `tail -f -n 50 /var/log/yunohost/yunohost-api.log`
Thanks a lot, appreciate the answer. I'll search into it

[16:46:00] <Chatpitaine Caverne> > <@chatpitaine:cirkau.art> Something maybe special. I use only .local domains on this server. And I discovered that we cannot put subdomain in thyere (cause it refuse . in the dommain name). Maybe normal. Just in case it could be important to know.

Just to let you know.
I managed to create a .local subdomain (subdomain.mydomain.local) with the CLI command.
I don't know yet if there will be bad consequences, but I'm testing, so, no worries.
If there is no consequence, maybe adapt the GUI to accept . in the names could be ok.
[17:14:39] <peuplier> Hey there, I have installed yunohost on a raspi4 with an SD card and set up the first connection, before going any further into configuration I would like to install yunohost on the nvme sata disk I have connected to the raspI. How would you go around that, is there anyway to have a GUI involved to make it easy? Thanks in advance !
[17:15:30] <peuplier> Hey there, I have installed yunohost on a raspi4 with an SD card and set up the first connection everything fine. before going any further into configuration I would like to transfer the yunohost install on the nvme sata disk I have connected to the raspI. How would you go around that, is there anyway to have a GUI involved to make it easy? Thanks in advance !