From 7ea9d2e6345419d3ab0b95e7036ef63451046b49 Mon Sep 17 00:00:00 2001 From: John Baumlin Date: Sun, 3 Mar 2024 17:25:04 +0900 Subject: [PATCH 1/2] Pushing a minor fix to the bash commands. --- website/site/content/docs/install/download_run.md | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/website/site/content/docs/install/download_run.md b/website/site/content/docs/install/download_run.md index 97641911..9ce95d30 100644 --- a/website/site/content/docs/install/download_run.md +++ b/website/site/content/docs/install/download_run.md @@ -125,12 +125,12 @@ pg_dump docspelldb > docspelldb_backup.sql Optionally, once the docspell backup is complete you can use `rsync` or `scp` to send `docspelldb_backup.sql` to a backup server. -Now that you have known backup(s) of Docspell, you may one day have to restore a backup. +Now that you have known backup(s) of Docspell's database, you may one day have to restore this backup. -Let's test restoring a backup. You can start a PostgreSQL shell by using +Let's test try restoring it. You can start a PostgreSQL shell by using the `psql` command as the `postgres` user or a PostgreSQL admin account. If the database is corrupted or still exists, you will first need to remove it. -Warning: By performing this next step you are *deleting* your database. +Warning: By performing this next step you are **deleting** your database. ```sql DROP DATABASE docspelldb; ``` @@ -153,8 +153,8 @@ psql docspelldb < docspelldb_backup.sql Now your database should be fully restored from your backup! Let's go to the Docspell server and restart the Docspell services. ```bash -sudo systemctl stop docspell-joex -sudo systemctl stop docspell-restserver +sudo systemctl start docspell-joex +sudo systemctl start docspell-restserver ``` If your database and owner are the same as your initial configuration, From cea7948c2ebb6387836dc2b7e333b49c49842781 Mon Sep 17 00:00:00 2001 From: eikek Date: Sun, 3 Mar 2024 09:46:15 +0100 Subject: [PATCH 2/2] Remove stackoverflow from external link check It returns FORBIDDEN, so can not be checked it seems --- website/site/config.toml | 1 + 1 file changed, 1 insertion(+) diff --git a/website/site/config.toml b/website/site/config.toml index afc00c09..b8ad4b2e 100644 --- a/website/site/config.toml +++ b/website/site/config.toml @@ -26,6 +26,7 @@ skip_prefixes = [ "/openapi", "https://www.abisource.com", # has bad ssl config "https://chromewebstore.google.com" # too many redirects reported + "https://stackoverflow.com/" # forbidden ] skip_anchor_prefixes = [ "https://github.com",