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


    Cloudron Forum

    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular

    Joplin OOM resulting in 502 Bad Gateway

    Joplin Server
    3
    3
    101
    Loading More Posts
    • 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.
    • colonelpanic
      colonelpanic last edited by colonelpanic

      Looks like the new versions of Joplin Server requires more memory than the previous versions. It was set to 256MB (I assume that is the default)—I just increased it to 512MB. No issues so far. Hope this helps someone else.

      We might need to update the default if others confirm the same issue.

      CleanShot 2022-10-12 at 13.08.01@2x.png

      Log from client:

      2022-10-12 08:36:18: "Error: Error 502 Bad Gateway: <!DOCTYPE html>
      <!--[if lt IE 7]> <html class="no-js ie6 oldie" lang="en-US"> <![endif]-->
      <!--[if IE 7]>    <html class="no-js ie7 oldie" lang="en-US"> <![endif]-->
      <!--[if IE 8]>    <html class="no-js ie8 oldie" lang="en-US"> <![endif]-->
      <!--[if gt IE 8]><!--> <html class="no-js" lang="en-US"> <!--<![endif]-->
      <head>
      
      
      <title>notes.url.tld | 502: Bad gateway</title>
      <meta charset="UTF-8" />
      <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
      <meta http-equiv="X-UA-Compatible" content="IE=Edge" />
      <meta name="robots" content="noindex, nofollow" />
      <meta name="viewport" content="width=device-width,initial-scale=1" />
      <link rel="stylesheet" id="cf_styles-css" href="/cdn-cgi/styles/main.css" />
      
      
      </head>
      <body>
      <div id="cf-wrapper">
      
          
      
          <div id="cf-error-details" class="p-0">
              <header class="mx-auto pt-10 lg:pt-6 lg:px-8 w-240 lg:w-full mb-8">
                  <h1 class="inline-block sm:block sm:mb-2 font-light text-60 lg:text-4xl text-black-dark leading-tight mr-2">
                    
       
      
      1 Reply Last reply Reply Quote 0
      • nebulon
        nebulon Staff last edited by

        Thanks for the hint, the tests worked with the lower default, but that also does not put much load in the app. If others also report similar issues, then we will bump it up in the manifest.

        1 Reply Last reply Reply Quote 1
        • girish
          girish Staff last edited by

          OK, I have bumped this to 512MB for next release.

          1 Reply Last reply Reply Quote 1
          • First post
            Last post
          Powered by NodeBB