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
  • 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 | Demo | Docs | Install
  1. Cloudron Forum
  2. HedgeDoc
  3. CodiMD error (since 1.4.0?)

CodiMD error (since 1.4.0?)

Scheduled Pinned Locked Moved Solved HedgeDoc
codimd
21 Posts 4 Posters 4.3k Views 4 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.
  • nebulonN Offline
    nebulonN Offline
    nebulon
    Staff
    wrote on last edited by
    #2

    This looks like one of the built-in templates fails. Did you by any chance added/removed/adjusted values in /app/data/config.json?

    The default values are:

    {
      "production": {
        "allowAnonymous": false,
        "allowAnonymousEdits": false,
        "allowEmailRegister": false,
        "allowFreeUrl": true,
        "allowPdfExport": false,
        "debug": false,
        "defaultPermission": "private",
        "email": false,
        "sessionSecret": "<secret>"
      }
    }
    
    1 Reply Last reply
    0
    • yusfY Offline
      yusfY Offline
      yusf
      wrote on last edited by yusf
      #3

      Possibly. Iโ€™d need to check. To complicate things, it still works on mobile currently.

      1 Reply Last reply
      0
      • yusfY Offline
        yusfY Offline
        yusf
        wrote on last edited by yusf
        #4

        What differs in my config is
        allowAnonymousEdits": true instead of false
        documentmaxlength": 1000000 instead of whatever default is.

        Default settings makes no difference, neither a fresh install.

        The published read-pnly version of a doc works, still. It's the editor view that crashes.

        I've tried in Firefox (macOS), Safari (macOS) and Safari (iOS).

        fbartelsF 1 Reply Last reply
        0
        • yusfY yusf

          What differs in my config is
          allowAnonymousEdits": true instead of false
          documentmaxlength": 1000000 instead of whatever default is.

          Default settings makes no difference, neither a fresh install.

          The published read-pnly version of a doc works, still. It's the editor view that crashes.

          I've tried in Firefox (macOS), Safari (macOS) and Safari (iOS).

          fbartelsF Offline
          fbartelsF Offline
          fbartels
          App Dev
          wrote on last edited by
          #5

          @yusf said in CodiMD error (since 1.4.0?):

          allowAnonymousEdits": true

          I have this set to true as well and for me the app continues to work after the 1.4.0 update.

          @yusf said in CodiMD error (since 1.4.0?):

          Default settings makes no difference, neither a fresh install.

          So do I understand that right that even if you install the app completely new you still have the crashes of the editor? Did you reinstall to the same domain? I would use a new domain name just to rule out a caching issue (and also try to open the editor in incognito mode).

          1 Reply Last reply
          0
          • yusfY Offline
            yusfY Offline
            yusf
            wrote on last edited by
            #6

            @fbartels said in CodiMD error (since 1.4.0?):

            So do I understand that right that even if you install the app completely new you still have the crashes of the editor? Did you reinstall to the same domain? I would use a new domain name just to rule out a caching issue (and also try to open the editor in incognito mode).

            Yes. New domain, fresh browser session, still Internal Server Error.

            1 Reply Last reply
            0
            • yusfY Offline
              yusfY Offline
              yusf
              wrote on last edited by
              #7

              @fbartels Do you have any other customizations?

              1 Reply Last reply
              0
              • nebulonN Offline
                nebulonN Offline
                nebulon
                Staff
                wrote on last edited by
                #8

                @yusf just to be on the same page, you are installing codimd from your Cloudron's appstore view, not building the app on your own or so?

                yusfY 1 Reply Last reply
                0
                • nebulonN nebulon

                  @yusf just to be on the same page, you are installing codimd from your Cloudron's appstore view, not building the app on your own or so?

                  yusfY Offline
                  yusfY Offline
                  yusf
                  wrote on last edited by yusf
                  #9

                  @nebulon Correct, itโ€™s the regular App Store version.

                  1 Reply Last reply
                  0
                  • yusfY Offline
                    yusfY Offline
                    yusf
                    wrote on last edited by yusf
                    #10

                    Please advice ๐Ÿ™‡

                    fbartelsF 1 Reply Last reply
                    0
                    • yusfY yusf

                      Please advice ๐Ÿ™‡

                      fbartelsF Offline
                      fbartelsF Offline
                      fbartels
                      App Dev
                      wrote on last edited by
                      #11

                      @yusf sorry don't know enough about node and codimd development to give any additional insight. Maybe the codimd issue tracker in GitHub would be able to give more insights?

                      yusfY 1 Reply Last reply
                      0
                      • fbartelsF fbartels

                        @yusf sorry don't know enough about node and codimd development to give any additional insight. Maybe the codimd issue tracker in GitHub would be able to give more insights?

                        yusfY Offline
                        yusfY Offline
                        yusf
                        wrote on last edited by
                        #12

                        @fbartels Thanks, I'll bring it up with them.

                        1 Reply Last reply
                        0
                        • yusfY Offline
                          yusfY Offline
                          yusf
                          wrote on last edited by yusf
                          #13

                          Huh. "Them" turned out to be confusing:

                          Currently, there are two active repositories/softwares named "CodiMD": This one and codimd/server. Both are actively maintained, but by different people. Especially for someone new to CodiMD/HackMD it's almost impossible to understand what's what.

                          From reading other issues it seems like HackMD is making some structural changes which prompts Cloudron to make a choice which project to use. codimd/server is the "libre" and AGPL continuation of the project so probably favorable.

                          1 Reply Last reply
                          0
                          • girishG Do not disturb
                            girishG Do not disturb
                            girish
                            Staff
                            wrote on last edited by
                            #14

                            @yusf Does this error happens only when opening a specific document or all the time? Not really sure how to debug this, can you ping me on chat?

                            yusfY 1 Reply Last reply
                            0
                            • girishG girish

                              @yusf Does this error happens only when opening a specific document or all the time? Not really sure how to debug this, can you ping me on chat?

                              yusfY Offline
                              yusfY Offline
                              yusf
                              wrote on last edited by yusf
                              #15

                              @girish I got help in tracking the issue down. A typo in the language file for my specific language caused the error. Not sure when I get a fix for it though. Iโ€™ll probably build it manually with the fix for now.

                              1 Reply Last reply
                              0
                              • girishG Do not disturb
                                girishG Do not disturb
                                girish
                                Staff
                                wrote on last edited by
                                #16

                                @yusf Is there a related github issue ?

                                fbartelsF 1 Reply Last reply
                                0
                                • girishG girish

                                  @yusf Is there a related github issue ?

                                  fbartelsF Offline
                                  fbartelsF Offline
                                  fbartels
                                  App Dev
                                  wrote on last edited by
                                  #17

                                  @girish https://github.com/codimd/server/issues/117

                                  1 Reply Last reply
                                  1
                                  • yusfY Offline
                                    yusfY Offline
                                    yusf
                                    wrote on last edited by
                                    #18

                                    Can you make a new release? @girish

                                    1 Reply Last reply
                                    0
                                    • girishG Do not disturb
                                      girishG Do not disturb
                                      girish
                                      Staff
                                      wrote on last edited by
                                      #19

                                      Yes, but 1.4.1 isn't released yet.

                                      yusfY 1 Reply Last reply
                                      0
                                      • girishG girish

                                        Yes, but 1.4.1 isn't released yet.

                                        yusfY Offline
                                        yusfY Offline
                                        yusf
                                        wrote on last edited by
                                        #20

                                        @girish Oh, okay then! ๐Ÿ˜Š

                                        1 Reply Last reply
                                        0
                                        • girishG Do not disturb
                                          girishG Do not disturb
                                          girish
                                          Staff
                                          wrote on last edited by
                                          #21

                                          CodiMD was updated to 1.5.0. So this issue is most likely fixed there.

                                          1 Reply Last reply
                                          1
                                          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