Closed milanmlft closed 11 months ago
I followed the documentation to run a local instance of remark42 and set it up with
remark42
REMARK_URL=https://localhost SECRET=123456890 ADMIN_PASSWD=password docker compose up
But when I try to run the manual backup with
docker exec -it remark42 backup -s remark
I get
remark42 v1.12.1-1f2500f-20230821T12:01:17 2023/09/18 06:24:21.308 [INFO] {cmd/backup.go:26 cmd.(*BackupCommand).Execute} export to ./var/backup, site remark 2023/09/18 06:24:21.308 [DEBUG] {cmd/backup.go:35 cmd.(*BackupCommand).Execute} export file var/backup/userbackup-remark-20230918T062421.gz 2023/09/18 06:24:21.310 [ERROR] {app/main.go:52 main.main.func1} failed with request failed for https://localhost/api/v1/admin/export?mode=file&site=remark: Get "https://localhost/api/v1/admin/export?mode=file&site=remark": dial tcp 127.0.0.1:443: connect: connection refused request failed for https://localhost/api/v1/admin/export?mode=file&site=remark: Get "https://localhost/api/v1/admin/export?mode=file&site=remark": dial tcp 127.0.0.1:443: connect: connection refused
Any idea what might be going on and how I could resolve this? Thanks a lot!
Your container exposes http and not https, so REMARK_URL should be either http://localhost or https://remark42.example.com, e.g. the domain you are serving Remark42 externally.
REMARK_URL
I followed the documentation to run a local instance of
remark42
and set it up withBut when I try to run the manual backup with
I get
Any idea what might be going on and how I could resolve this? Thanks a lot!