Cryptpad recover from prebackup

What type of hardware are you using: Old laptop or computer
What YunoHost version are you running: 12.0.9.1 (stable)
What app is this about: Cryptpad

Describe your issue

Wanted to restore Cryptpad from prebackup. to version v5.3.0 due to failed Update.
Since sandbox-pad.mydomain was deleted, i manually restored the domain sandbox-pad.mydomain.de and restore backup went through.
I can reach Cryptpad frontpage but not the drive or any item to create something, due to cors problems

here the firefox logs: hastebin
here cryptpad checkup: hastebin

Share relevant logs or error messages

here the firefox logs: hastebin
here cryptpad checkup: hastebin

Ok, I spent time try understand have changed in the new release…

So you have manually created the domain sandbox-pad.domain.tld, add a let’s encrypt certificate ? after a restore the backup from 5.3.0 ?
did you have renew the certificates for the domain cryptpad ?
You need also have a copy of /etc/nginx/conf.d/pad.mydomain.de.d/cryptpad.conf at the /etc/nginx/conf.d/sandbox-pad.mydomain.de.d/

cp -a /etc/nginx/conf.d/pad.mydomain.de.d/cryptpad.conf /etc/nginx/conf.d/sandbox-pad.mydomain.de.d/

Next release

In the next release, you will don’t need anymore a domain sandbox-pad.mydomain.de, there will be only a files created
/etc/nginx/conf.d/sandbox.pad.mydomain.de.conf (with a DOT not a -), and /etc/nginx/conf.d/pad-shared.conf.inc
then you will need add an entry CNAME
sandbox.pad.mydomain.de 3600 IN CNAME pad.mydomain.de.
and need renew the certificate let’s encrypt ( be carrefull incoming and outgoing mail must be disabled on the application domain to renew the let’s encrypt certificate)

i am so grateful, thank you so much.

did the trick.

Nice…
The upgrade should be ok also.
Just be sure the domain pad.mydomain.de haven’t mails outgoing and incoming enabled, after the upgrade you need add the entry CNAME, and when it’s OK renew the certificate let’s encrypt.
You will need also edit once again the admin public key for the administration…

that is to do at Registrar? perhaps that point went wrong last time.

yes you could see it after the upgrade with

yunohost domain dns suggest pad.mydomain.de

This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.