-
I have two wiki.js installs on my cloudron. One has been up for a while and I have it synced to Github, and this works fine. The other is new, and I wanted to set it up with a (also on the same Cloudron) Gittea backend. I used identical settings (ssh, contents, /app/data/repo) but get a constant popup that says "An unexpected error occurred." and the process fails. I also don't see anything out of place in the logs (below). Does anyone have this setup with a Cloudron git repo? Any ideas?
May 10 13:01:02 2022-05-10T18:01:02.407Z [MASTER] info: ======================================= May 10 13:01:02 2022-05-10T18:01:02.409Z [MASTER] info: = Wiki.js 2.5.281 ===================== May 10 13:01:02 2022-05-10T18:01:02.409Z [MASTER] info: ======================================= May 10 13:01:02 2022-05-10T18:01:02.410Z [MASTER] info: Initializing... May 10 13:01:02 2022-05-10T18:01:02.999Z [MASTER] info: Using database driver pg for postgres [ OK ] May 10 13:01:03 2022-05-10T18:01:03.004Z [MASTER] info: Connecting to database... May 10 13:01:03 2022-05-10T18:01:03.048Z [MASTER] info: Database Connection Successful [ OK ] May 10 13:01:03 2022-05-10T18:01:03.731Z [MASTER] info: Loading GraphQL Schema... May 10 13:01:04 2022-05-10T18:01:04.832Z [MASTER] info: GraphQL Schema: [ OK ] May 10 13:01:05 2022-05-10T18:01:05.168Z [MASTER] info: HTTP Server on port: [ 3000 ] May 10 13:01:05 (node:1) [DEP0148] DeprecationWarning: Use of deprecated folder mapping "./public/" in the "exports" field module resolution of the package at /app/code/node_modules/extract-files/package.json. May 10 13:01:05 Update this package.json to use a subpath pattern like "./public/*". May 10 13:01:05 (Use `node --trace-deprecation ...` to show where the warning was created) May 10 13:01:05 2022-05-10T18:01:05.188Z [MASTER] info: HTTP Server: [ RUNNING ] May 10 13:01:05 2022-05-10T18:01:05.379Z [MASTER] info: No new analytics providers found: [ SKIPPED ] May 10 13:01:05 2022-05-10T18:01:05.405Z [MASTER] info: Loaded 21 authentication strategies: [ OK ] May 10 13:01:05 2022-05-10T18:01:05.582Z [MASTER] info: No new comment providers found: [ SKIPPED ] May 10 13:01:05 2022-05-10T18:01:05.807Z [MASTER] info: No new editors found: [ SKIPPED ] May 10 13:01:05 2022-05-10T18:01:05.976Z [MASTER] info: No new loggers found: [ SKIPPED ] May 10 13:01:06 2022-05-10T18:01:06.219Z [MASTER] info: No new renderers found: [ SKIPPED ] May 10 13:01:06 2022-05-10T18:01:06.339Z [MASTER] info: No new search engines found: [ SKIPPED ] May 10 13:01:06 2022-05-10T18:01:06.614Z [MASTER] info: No new storage targets found: [ SKIPPED ] May 10 13:01:06 2022-05-10T18:01:06.623Z [MASTER] info: Checking for installed optional extensions... May 10 13:01:06 2022-05-10T18:01:06.642Z [MASTER] info: Optional extension git is installed. [ OK ] May 10 13:01:06 2022-05-10T18:01:06.654Z [MASTER] info: Optional extension pandoc was not found on this system. [ SKIPPED ] May 10 13:01:06 2022-05-10T18:01:06.666Z [MASTER] info: Optional extension puppeteer was not found on this system. [ SKIPPED ] May 10 13:01:06 2022-05-10T18:01:06.668Z [MASTER] info: Optional extension sharp was not found on this system. [ SKIPPED ] May 10 13:01:06 2022-05-10T18:01:06.674Z [MASTER] info: Authentication Strategy Local: [ OK ] May 10 13:01:06 2022-05-10T18:01:06.737Z [MASTER] info: Authentication Strategy Cloudron: [ OK ] May 10 13:01:07 2022-05-10T18:01:07.728Z [MASTER] info: (COMMENTS/DEFAULT) Initializing... May 10 13:01:07 2022-05-10T18:01:07.729Z [MASTER] info: (COMMENTS/DEFAULT) Initialization completed. May 10 13:01:07 2022-05-10T18:01:07.760Z [MASTER] info: (STORAGE/GIT) Initializing... May 10 13:01:07 2022-05-10T18:01:07.762Z [MASTER] info: (STORAGE/GIT) Checking repository state... May 10 13:01:07 (node:1) DeprecationWarning: Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`. May 10 13:01:08 2022-05-10T18:01:08.039Z [MASTER] info: (STORAGE/GIT) Listing existing remotes... May 10 13:01:08 2022-05-10T18:01:08.050Z [MASTER] info: (STORAGE/GIT) Purging existing remotes... May 10 13:01:08 2022-05-10T18:01:08.111Z [MASTER] info: (STORAGE/GIT) Setting SSL Verification config... May 10 13:01:08 2022-05-10T18:01:08.244Z [MASTER] info: (STORAGE/GIT) Setting SSH Command config... May 10 13:01:08 2022-05-10T18:01:08.809Z [MASTER] info: (STORAGE/GIT) Adding origin remote via SSH... May 10 13:01:08 2022-05-10T18:01:08.934Z [MASTER] info: (STORAGE/GIT) Fetch updates from remote...
-
@ianhyzy sounds like it should work
-
-
@ianhyzy I tried this with gitea and it worked immediately. I documented this at https://docs.cloudron.io/apps/wikijs/#git-storage
One thing is that sometimes it gets "stuck" and shows some error. I found that changing the sync interval to 1 minute and then clicking on Purge repository button on the settings page helps to move things along.