Sure sheogorath, THX for your help
I unzip the latest Hedgedoc, copied my sqlite Db config.json and all the uploads in public directory
This works well: sudo -H -u hedgedoc bin/setup
After: sudo -H -u hedgedoc yarn start
2024-04-23T07:06:33.029Z info: == 20220901102800-convert-history-to-longtext: migrated (0.011s)
2024-04-23T07:06:33.029Z info: Executing (default): PRAGMA foreign_key_check;
2024-04-23T07:06:33.030Z info: Executing (default): RELEASE migration;
2024-04-23T07:06:33.030Z info: Executing (default): PRAGMA foreign_keys = ON;
2024-04-23T07:06:33.030Z info: All migrations performed successfully
2024-04-23T07:06:33.034Z info: Executing (default): CREATE TABLE IF NOT EXISTS Sessions
(sid
VARCHAR(36) PRIMARY KEY, expires
DATETIME, data
TEXT, createdAt
DATETIME NOT NULL, updatedAt
DATETIME NOT NULL);
2024-04-23T07:06:33.035Z info: Executing (default): SELECT id
, shortid
, alias
, permission
, viewcount
, title
, content
, authorship
, lastchangeAt
, savedAt
, createdAt
, updatedAt
, ownerId
, lastchangeuserId
FROM Notes
AS Note
WHERE ((Note
.lastchangeAt
IS NULL OR (Note
.lastchangeAt
IS NOT NULL AND Note
.lastchangeAt
> createdAt
)) AND (Note
.savedAt
IS NULL OR Note
.savedAt
< lastchangeAt
));
2024-04-23T07:06:33.036Z info: Executing (default): PRAGMA INDEX_LIST(Sessions
)
2024-04-23T07:06:33.040Z info: HTTP Server listening at 0.0.0.0:3000
2024-04-23T07:06:33.041Z info: Executing (default): PRAGMA INDEX_INFO(sqlite_autoindex_Sessions_1
)
2024-04-23T07:11:32.306Z info: Executing (default): SELECT id
, shortid
, alias
, permission
, viewcount
, title
, content
, authorship
, lastchangeAt
, savedAt
, createdAt
, updatedAt
, ownerId
, lastchangeuserId
FROM Notes
AS Note
WHERE ((Note
.lastchangeAt
IS NULL OR (Note
.lastchangeAt
IS NOT NULL AND Note
.lastchangeAt
> createdAt
)) AND (Note
.savedAt
IS NULL OR Note
.savedAt
< lastchangeAt
));
2024-04-23T07:21:32.374Z info: Executing (default): DELETE FROM Sessions
WHERE expires
< ‘2024-04-23 07:21:32.368 +00:00’
2024-04-23T07:36:32.371Z info: Executing (default): DELETE FROM Sessions
WHERE expires
< ‘2024-04-23 07:36:32.368 +00:00’