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


Can't export notes from Paperwork, memory issue


  • 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)
    
  • Staff

    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 😕


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

  • Staff

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

  • Staff

    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.


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