[01:59:27]
<lohangX> Hello, does yunohost create a default admin user when deploying a CryptPad instance? I seem to have lost access to the admin user somehow. I was under the impression that the first user I created is the admin. But it looks like I am an ordinary user. I noticed this when I was looking to change the default storage limit. I don't have access to the admin area. Can someone shed some light on how this is managed in CryptPad instances deployed on yunohost? I asked this question in CyptPad matrix room too. Hoping to hear some explanation from there as well.
[02:01:35]
<lohangX> As far as I know, I don't have any CryptPad user account other than the one I am using right now. But it doesn't have access to the admin area.
[02:09:46]
<Aleks (he/him/il/lui)> YunoHost should have displayed this message right after the install finished ... : https://raw.githubusercontent.com/YunoHost-Apps/cryptpad_ynh/master/doc/POST_INSTALL.md
[02:10:15]
<Aleks (he/him/il/lui)> or it should also be displayed in the webadmin, in Applications > Cryptpad > blue info box at the top
[02:10:42]
<Aleks (he/him/il/lui)> unless you dismissed it without reading it
[02:44:03]
<lohangX> Thank you Aleks (he/him/il/lui) , I do have the admin keys saved.
[02:44:30]
<lohangX> How should I use it to gain access to the admin user?
[02:45:02]
<lohangX> I have saved the public and private keys.
[02:47:43]
<lohangX> Hmm I haven't done this yet: "Paste this key in `/var/www/cryptpad/config/config.js` in the following array (uncomment and replace the placeholder):"
[02:48:18]
<lohangX> Should I stop cryptpad before doing this?
[03:08:45]
<lohangX> I checked. I have completed these steps about a year ago when I deployed the instance
[03:09:58]
<lohangX> The the problem I have right now is that my user account cannot access the admin area MYCryptPadDOMAIN/admin
[03:37:47]
<lohangX> I can certainly backup, download my documents and reinstall CryptPad from scratch, if there is a sure way of establishing the admin account.
[07:16:34]
<tituspijean> > <lohangX> I checked. I have completed these steps about a year ago when I deployed the instance
Can you make sure the formatting of the file has not been disrupted? It's unfortunately easy to break a js file. 😅
Also, the lines should not start by `//` (that's a comment in JS)
[07:23:03]
<tituspijean> Actually the default file uses `/*` to start and `*/` to end a multiline comment.
[07:37:35]
<lohangX> ah I see. I'll check that. thanks!
[07:47:35]
<lohangX> my file starts with /* but there is no //
[07:47:55]
<lohangX> I mean the section involving adminKeys
[07:49:49]
<lohangX> So I assume it should be configured correctly
[07:51:11]
<lohangX> If I understood this right, you are saying that if I have added this key to the config.js file I should have an admin user that can access the my-domain/admin area of my CryptPad installatoin. Is this accurate?
[07:52:14]
<lohangX> The instruction says "Once CryptPad is installed, create an account via the Register button on the home page. To make this account an instance administrator ..."
[07:52:37]
<lohangX> So the account I now use should turn into an admin user
[07:53:02]
<lohangX> This has not happened, unfortunately
[07:55:57]
<lohangX> > So the account I now use should turn into an admin user
Or it should have been the admin account from the start
[08:01:16]
<lohangX> Have I misunderstood the following : (uncomment and replace the placeholder):
[08:01:58]
<lohangX> Should I remove /* and */ at both ends?
[08:03:38]
<lohangX> > Actually the default file uses `/*` to start and `*/` to end a multiline comment.
Can you explain what you said here? Do you mean that I should not have /* at the start and */ at the end?
[08:45:44]
<lapineige> It's a general issue with the Yarn server that prevent Peertube from being installed : https://forum.yunohost.org/t/can-not-install-peertube/27740/6
[08:45:58]
<lapineige> 🆙 🙂 (wow that was too big)
[09:59:55]
<lohangX> > > Actually the default file uses `/*` to start and `*/` to end a multiline comment.
> Can you explain what you said here? Do you mean that I should not have /* at the start and */ at the end?
Or, do you mean I should not have // but I should instead have /* and */ ?
[10:00:17]
<lohangX> I am going to deploy a new instance as soon as I get this bit clarified.
[10:43:46]
<lohangX> I tried it on a test instance. It worked after I deleted /* and */ :)
[10:44:55]
<lohangX> Problem resolved. I am now repeating it on the production instance. Thanks very much for the helpful pointers.
[13:33:41]
<tituspijean> erm sorry if I was unclear, but it looks like you sorted it out. enjoy!
[15:47:17]
<lapineige> Another question : on a Freebox, I configured the port redirection for port 4000 (Garage needs it) and 587 (SMTP).
But the diagnosis tells me they are not available from outside. Do you know if that's a normal behavior ?
I don't find any setting to change that…
I've asked for a Fullstack IP fyi
[16:02:39]
<Aleks (he/him/il/lui)> Are dovecot and postfix up ?
[16:03:13]
<Aleks (he/him/il/lui)> Regarding garage : maybe that's because it uses UDP, or maybe not 😬
[16:21:43]
<lapineige> It's the diagnosis that says that
[16:58:23]
<maruey> Hi :)
[17:42:26]
<lapineige> > <@Alekswag:matrix.org> Regarding garage : maybe that's because it uses UDP, or maybe not 😬
I tried UDP, no luck
[17:42:55]
<Aleks (he/him/il/lui)> what do you mean you "tried UDP"
[17:43:19]
<Aleks (he/him/il/lui)> ah like you tried specifying UDP in the port forwarding on your box ?
[18:32:40]
<tuna> is there a way to move everything from one yunohost instance to another? (on diff servers)
[18:34:19]
<Tag> Hello :) Yes, you can backup everything from your old server, transfert the backup and restore it on the new one
[18:34:48]
<tuna> awesome!!
[18:36:17]
<Tag> You can restore it with CLI even before you run the post install
[18:36:44]
<Tag> and you won't need to run the post install
[18:38:27]
<tuna> oh that's awesome! yunohost 4ever lol (:
[19:14:27]
<lapineige> > <@Alekswag:matrix.org> ah like you tried specifying UDP in the port forwarding on your box ?
Yes, in addition to TCP