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
  • Brite
  • 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 - Status | Demo | Docs | Install
B

BenjaminJ

@BenjaminJ
Unfollow Follow
About
Posts
3
Topics
1
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • Feature Request: Enable MCP and Access Tokens flags in Penpot (or expose EXTRA_PENPOT_FLAGS)
    B BenjaminJ

    Following up on this thread with the state on the current package (1.18.3 / Penpot 2.16.2). The flags @james added are working, and /mcp now resolves. However, the in-app MCP plugin still can't load, which blocks File → MCP Server → Connect. This is exactly the missing piece @Operator described (the frontend plugins/ static assets aren't served).

    Current state on 1.18.3:

    • [v] enable-mcp + enable-access-tokens are in /app/pkg/start.sh and served in /js/config.js (penpotFlags).
    • [v] /mcp now returns 200 (progress vs the earlier 404s in this thread).
    • In a design file,
      File → MCP Server → Connect fails. Browser console:
    Plugin Error: Failed to load plugin code
    GET https://penpot.inno3.eu/plugins/mcp/plugin.js  404 (Not Found)
    

    Root cause (confirmed): the frontend loads the bundled MCP plugin from ${PENPOT_PUBLIC_URI}/plugins/mcp/…, but the nginx root /app/code/frontend has no plugins/ directory -- the files don't exist anywhere in the container. The upstream image already ships them:

    $ docker export $(docker create penpotapp/frontend:2.16.2) | tar -tf - | grep plugins/mcp
    var/www/app/plugins/mcp/
    var/www/app/plugins/mcp/assets/index-JunN9mS-.css
    var/www/app/plugins/mcp/icon.jpg
    var/www/app/plugins/mcp/index.html
    var/www/app/plugins/mcp/index.js
    var/www/app/plugins/mcp/manifest.json
    var/www/app/plugins/mcp/plugin.js
    

    For reference https://design.penpot.app/plugins/mcp/plugin.js returns 200; ours returns 404. Related: our config.js exposes none of the penpotPlugins* vars (penpotPluginsWhitelist, penpotPluginsListUri, …), so the Plugins manager panel is unavailable too for same root cause.

    As @Operator noted, /app/code is read-only at runtime, so this needs to be handled at image-build time. It looks like copying the upstream frontend plugins/ directory into the served root (and exposing the PENPOT_PLUGINS_* config in config.js) would light up both the native MCP plugin and the Plugins manager, without needing to bundle the separate penpot-mcp Node service. Happy to test a patched package on our instance.

    Penpot

  • Dolibarr package forces a utf8mb3 DB connection → 4-byte chars (emoji) rejected on write
    B BenjaminJ

    Awesome, thank you @girish ! We'll pull the package update and confirm 4-byte writes (emoji) go through.

    Dolibarr

  • Dolibarr package forces a utf8mb3 DB connection → 4-byte chars (emoji) rejected on write
    B BenjaminJ

    Hi,

    On our Dolibarr install (Cloudron, MySQL addon), creating a ticket (or any record) that contains a 4-byte character (e.g. an emoji 😊) fails with:

    Incorrect string value: '\xF0\x9F\x98\x8A...' for column 'message'
    

    Root cause: the database and all schema tables are already utf8mb4 (the Cloudron MySQL addon defaults to utf8mb4). The only utf8mb3 link in the chain is the connection charset, which the package hardcodes in /app/pkg/cloudron.conf.php:

    $dolibarr_main_db_character_set = 'utf8';        // = utf8mb3, 3 bytes max
    $dolibarr_main_db_collation     = 'utf8_unicode_ci';
    

    So Dolibarr issues SET NAMES utf8, and MySQL rejects any 4-byte character on write.

    Because cloudron.conf.php is included after /app/data/conf/conf.php (and is read-only), users cannot override the charset persistently — any change in /app/data/conf/conf.php gets overwritten.

    Suggested fix — set in cloudron.conf.php:

    $dolibarr_main_db_character_set = 'utf8mb4';
    $dolibarr_main_db_collation     = 'utf8mb4_unicode_ci';
    

    (Ideally also guard it so /app/data/conf/conf.php can override.) Existing installs already have utf8mb4 tables, so this only aligns the connection — no data migration needed.

    Thanks!

    Dolibarr
  • Login

  • Don't have an account? Register

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