Cloudron makes it easy to run web apps like WordPress, Nextcloud, GitLab on your server. Find out more or install now.


Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Bookmarks
  • Search
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Brand Logo

Cloudron Forum

Apps - Status | Demo | Docs | Install
  1. Cloudron Forum
  2. Wiki.js
  3. Wiki.js failing with git as a storage backend - but only for Gitea (not github)

Wiki.js failing with git as a storage backend - but only for Gitea (not github)

Scheduled Pinned Locked Moved Wiki.js
3 Posts 3 Posters 4.9k Views 3 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • ianhyzyI Offline
    ianhyzyI Offline
    ianhyzy
    wrote on last edited by
    #1

    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...
    
    jdaviescoatesJ girishG 2 Replies Last reply
    1
    • ianhyzyI ianhyzy

      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...
      
      jdaviescoatesJ Offline
      jdaviescoatesJ Offline
      jdaviescoates
      wrote on last edited by
      #2

      @ianhyzy sounds like it should work

      https://github.com/requarks/wiki/discussions/5008

      I use Cloudron with Gandi & Hetzner

      1 Reply Last reply
      0
      • girishG girish moved this topic from Support on
      • ianhyzyI ianhyzy

        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...
        
        girishG Offline
        girishG Offline
        girish
        Staff
        wrote on last edited by
        #3

        @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.

        1 Reply Last reply
        1

        Hello! It looks like you're interested in this conversation, but you don't have an account yet.

        Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

        With your input, this post could be even better 💗

        Register Login
        Reply
        • Reply as topic
        Log in to reply
        • Oldest to Newest
        • Newest to Oldest
        • Most Votes


        • Login

        • Don't have an account? Register

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • Bookmarks
        • Search