rahulMasal
(Rahul Masal)
13 במאי, 2021, 4:51pm
1
Dear Team,
i am hosted forum on own Windows Server machine with VMWARE so now i need to migrate my entire forum website on hosting provider with private VPS server so please guide me how to take data from current DB and what is the procedure ? please guide me asap.
pfaffman
(Jay Pfaffman)
14 במאי, 2021, 1:01am
2
Just follow Discourse official Standard Installation , make a backup, restore it on the new server.
rahulMasal
(Rahul Masal)
15 במאי, 2021, 10:27pm
3
nginx: [emerg] cannot load certificate “/shared/ssl/hacksleak.in.cer”: PEM_read_bio_X509_AUX() failed (SSL: error:0909006C:PEM routines:get_name:no start line:Expecting: TRUSTED CERTIFICATE)
we moved to digital ocean made droplet and installed discourse but ssl certificate installation failed using letsencrypt!
is there any way to move certificates from old hosting provider!
rahulMasal
(Rahul Masal)
15 במאי, 2021, 10:37pm
4
/var/discourse# ./launcher logs app
run-parts: executing /etc/runit/1.d/00-ensure-links
run-parts: executing /etc/runit/1.d/00-fix-var-logs
run-parts: executing /etc/runit/1.d/01-cleanup-web-pids
run-parts: executing /etc/runit/1.d/anacron
run-parts: executing /etc/runit/1.d/cleanup-pids
Cleaning stale PID files
run-parts: executing /etc/runit/1.d/copy-env
run-parts: executing /etc/runit/1.d/letsencrypt
[Sat 15 May 2021 10:36:13 PM UTC] Using CA: https://acme-v02.api.letsencrypt.org/directory
[Sat 15 May 2021 10:36:13 PM UTC] Single domain=‘hacksleak.in’
[Sat 15 May 2021 10:36:13 PM UTC] Getting domain auth token for each domain
[Sat 15 May 2021 10:36:17 PM UTC] Getting webroot for domain=‘hacksleak.in’
[Sat 15 May 2021 10:36:17 PM UTC] Verifying: hacksleak.in
[Sat 15 May 2021 10:36:22 PM UTC] hacksleak.in:Verify error:Invalid response from https://hacksleak.in/.well-known/acme-challenge/BLSpTkHPZbCDDLAdbojYDdoSjQPLrGxzpTIIcA5SQsE [122.169.118.87]:
[Sat 15 May 2021 10:36:22 PM UTC] Please check log file for more details: /shared/letsencrypt/acme.sh.log
Error loading file ca.cer
[Sat 15 May 2021 10:36:25 PM UTC] Using CA: https://acme-v02.api.letsencrypt.org/directory
[Sat 15 May 2021 10:36:25 PM UTC] Single domain=‘hacksleak.in’
[Sat 15 May 2021 10:36:25 PM UTC] Getting domain auth token for each domain
[Sat 15 May 2021 10:36:29 PM UTC] Getting webroot for domain=‘hacksleak.in’
[Sat 15 May 2021 10:36:29 PM UTC] Verifying: hacksleak.in
[Sat 15 May 2021 10:36:34 PM UTC] hacksleak.in:Verify error:Invalid response from https://hacksleak.in/.well-known/acme-challenge/hdrX104K9Zq4H3TnAG4aYIJauM7gWPPaR4XbSbePiKQ [122.169.118.87]:
[Sat 15 May 2021 10:36:34 PM UTC] Please check log file for more details: /shared/letsencrypt/acme.sh.log
[Sat 15 May 2021 10:36:35 PM UTC] Installing key to:/shared/ssl/hacksleak.in.key
[Sat 15 May 2021 10:36:35 PM UTC] Installing full chain to:/shared/ssl/hacksleak.in.cer
cat: /shared/letsencrypt/hacksleak.in/fullchain.cer: No such file or directory
[Sat 15 May 2021 10:36:37 PM UTC] Using CA: https://acme-v02.api.letsencrypt.org/directory
[Sat 15 May 2021 10:36:37 PM UTC] Single domain=‘hacksleak.in’
[Sat 15 May 2021 10:36:37 PM UTC] Getting domain auth token for each domain
[Sat 15 May 2021 10:36:41 PM UTC] Getting webroot for domain=‘hacksleak.in’
[Sat 15 May 2021 10:36:41 PM UTC] Verifying: hacksleak.in
[Sat 15 May 2021 10:36:45 PM UTC] hacksleak.in:Verify error:Fetching https://hacksleak.in/.well-known/acme-challenge/wskydv8EjAqM5A0mLVl50KLyy5UBgqHLKQmYbEfcn9U: Connection refused
[Sat 15 May 2021 10:36:45 PM UTC] Please check log file for more details: /shared/letsencrypt/acme.sh.log
Error loading file ca.cer
[Sat 15 May 2021 10:36:48 PM UTC] Using CA: https://acme-v02.api.letsencrypt.org/directory
[Sat 15 May 2021 10:36:48 PM UTC] Single domain=‘hacksleak.in’
[Sat 15 May 2021 10:36:48 PM UTC] Getting domain auth token for each domain
[Sat 15 May 2021 10:36:52 PM UTC] Getting webroot for domain=‘hacksleak.in’
[Sat 15 May 2021 10:36:53 PM UTC] Verifying: hacksleak.in
pfaffman
(Jay Pfaffman)
15 במאי, 2021, 10:39pm
5
You have to point dns to the server before you rebuild on order for it to get the cert
You can rsync over the cert directories from the old server if it’s a standard install. There are topics about that.
rahulMasal
(Rahul Masal)
15 במאי, 2021, 10:44pm
6
We already pointed but still having issue !
rahulMasal
(Rahul Masal)
15 במאי, 2021, 10:45pm
7
what is error 429 from letsencrypt!
rahulMasal
(Rahul Masal)
15 במאי, 2021, 10:45pm
8
How to move certificates or any other way to solve??
pfaffman
(Jay Pfaffman)
15 במאי, 2021, 10:48pm
9
I still see the old site on the url.
You can pull over the ssl and let’s encrypt directories. You can search for examples.
rahulMasal
(Rahul Masal)
16 במאי, 2021, 1:59am
10
Please tell the ssl certificates location so i will pull.
merefield
(Robert)
16 במאי, 2021, 4:37am
11
429 means you’ve tried to renew the cert too many times in one week. Leave it a few days and the weekly rate limit will lapse.
לייק 1
rahulMasal
(Rahul Masal)
16 במאי, 2021, 4:39am
12
if i move /var/Discourse entire folder zip into new server and extract … after that ./launcher rebuild app.yml
is it work ??
pfaffman
(Jay Pfaffman)
16 במאי, 2021, 1:37pm
13
No. But you can add another domain as described at Setting up Let’s Encrypt with Multiple Domains . If the be request is for a different set of domains it’ll count as a new request. Or you can wait a few days.
לייק 1