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


Navigation

    Cloudron Forum

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

    Can't export notes from Paperwork, memory issue

    Paperwork
    paperwork
    3
    6
    57
    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.
    • scooke
      scooke last edited by girish

      Hi!
      When I try to export the notes from Paperwork I receive the following error below. I've increased the apps memory ALOT but even almost maxed out it fails. I figured out how to dump the db to try to rebuild it elsewhere, but if I could figure out why the proper in-app export notes process fails that would be ideal. Much thanks.

      Symfony \ Component \ Debug \ Exception \ FatalErrorException (E_UNKNOWN)
      HELP
      Allowed memory size of 67108864 bytes exhausted (tried to allocate 33305664 bytes)
      
      1 Reply Last reply Reply Quote 0
      • nebulon
        nebulon Staff last edited by

        This appears to be the php memory limit, not the whole app container limit. Unfortunately that is fixed within the app image at the moment and since the upstream app development has stalled for that app, we don't really intend to update it further 😕

        scooke 1 Reply Last reply Reply Quote 0
        • scooke
          scooke @nebulon last edited by

          @nebulon No problem. When you say within the app image is this something I can edit myself?

          1 Reply Last reply Reply Quote 0
          • nebulon
            nebulon Staff last edited by

            Unfortunately this is not possible easily currently, I will think about how this can be done.

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

              A workaround for now is to use the CLI tool:

              $ cloudron debug --app <paperwork.domain.com>
              $ cloudron exec
              # crudini --set /etc/php/7.0/apache2/php.ini PHP memory_limit 256M
              # /app/code/start.sh
              

              the last line start.sh will start the app. now you can hopefully export. After you are done, you can do cloudron debug --disable.

              scooke 1 Reply Last reply Reply Quote 1
              • scooke
                scooke @girish last edited by

                @girish Thank you for trying. It still was not working, similar message as before. i tried boosting the ram to 4096MB even but it still failed. Oh well.

                1 Reply Last reply Reply Quote 0
                • First post
                  Last post