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
S

ssweber

@ssweber
About
Posts
7
Topics
3
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • Howto: Upgrading from 8.4.2 to 9.0.2 when your extensions break the upgrade
    S ssweber

    Hello,
    I just went through fixing my install to the latest 9.0.2. In logs it said "Your EspoCRM version (8.4.2) is not supported. Required version: 9.0.1." I finally realized that since my extensions were not compatible with 9.0, the upgrade script never did it's work.

    Steps:

    • Restore your backup of v2.14.3
    • Upgrade to 9.0, Upgrade-script will error out on your extension
    • Go to Repair -> Enable Recovery Mode
    • In Terminal, you'll need to first run the following commands:
    mkdir -p /run/espocrm/cache/application
    chmod -R 777 /run/espocrm/cache
    chown -R www-data:www-data /run/espocrm/cache
    
    • In Terminal, use button to upload new extensions to /app/data, and then upgrade with php command.php extension --file=/app/data/YOUR-EXTENSION.zip
    • Then toggle out of Recovery Mode. Upgrade script will now complete
    • Then update to 9.0.1, update again to 9.0.2.

    Enjoy!

    EspoCRM

  • Persistence of API Key
    S ssweber

    Another question I had. How do I get the API key to persist across restarts? When testing it doesn't save. Under Settings -> Account Settings -> Your API Key'

    Stirling-PDF

  • Bad paths for weasyprint & unoconv
    S ssweber

    I poked around seeing if there was an environmental variables env.sh script, but there wasn't on. Otherwise I could try export SYSTEM_CUSTOMPATHS_OPERATIONS_WEASYPRINT=/usr/bin/weasyprint

    Stirling-PDF

  • Bad paths for weasyprint & unoconv
    S ssweber

    I think these need to be set in the settings.yml. I can't edit it since it get's refreshed on restart.

    system:
        customPaths:
            operations:
                weasyprint: "/usr/bin/weasyprint" #Defaults to /opt/venv/bin/weasyprint
                unoconvert: "/usr/bin/unoconv" #Defaults to /opt/venv/bin/unoconvert
    

    Here's the log:

    Feb 24 13:08:22 18:08:22.650 [main] WARN s.s.SPDF.config.ExternalAppDepConfig - Missing dependency: /opt/venv/bin/weasyprint - Disabling group: Weasyprint (Affected features: Markdown To PDF, Url To PDF, Html To PDF)
    Feb 24 13:08:22 18:08:22.656 [main] WARN s.s.SPDF.config.ExternalAppDepConfig - Missing dependency: /opt/venv/bin/unoconvert - Disabling group: Unoconv (Affected features: File To PDF)
    Feb 24 13:08:22 18:08:22.857 [main] INFO s.s.S.config.EndpointConfiguration - Total disabled endpoints: 6. Disabled endpoints: book-to-pdf, file-to-pdf, html-to-pdf, markdown-to-pdf, pdf-to-book, url-to-pdf
    
    Stirling-PDF

  • Bad paths for weasyprint & unoconv
    S ssweber

    Thanks for the quick attention, but doesn’t look fixed yet.

    I updated, but I don’t see those settings written to the settings.yml, and it still says they are missing (looking in default paths)

    Is it hard to allow/run an env.sh? Then maybe we can fix the key problem as well by using environmental variables.

    Stirling-PDF

  • Bad paths for weasyprint & unoconv
    S ssweber

    Sorry, it doesn't seem to be picking up the settings, even though they are in custom_settings.yml. I posted a question to stirling github about that. I'm not sure that it merges custom_settings.yml like you'd assume.

    https://github.com/Stirling-Tools/Stirling-PDF/discussions/3058

    Stirling-PDF
  • Login

  • Don't have an account? Register

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