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
  1. Cloudron Forum
  2. N8N
  3. n8n - python packages

n8n - python packages

Scheduled Pinned Locked Moved N8N
4 Posts 3 Posters 511 Views 3 Watching
  • 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.
  • S Online
    S Online
    simong
    wrote on last edited by
    #1

    Hi, I need to install a python package via pip for the code node. But there is a problem with the read only file system from cloudron. Is there a workaround?

    Feb 20 23:55:17 => Healtheck error: Error: Timeout of 7000ms exceeded
    Feb 20 23:55:27 => Healtheck error: Error: Timeout of 7000ms exceeded
    Feb 20 23:55:28 => Ensure directories
    Feb 20 23:55:28 => Loading configuration
    Feb 20 23:55:28 WARNING: The directory '/run/root.cache/pip' or its parent directory is not owned or is not writable by the current user. The cache has been disabled. Check the permissions and owner of that directory. If executing pip with sudo, you should use sudo's -H flag.
    Feb 20 23:55:28 Defaulting to user installation because normal site-packages is not writeable
    Feb 20 23:55:29 Collecting zebrafy
    Feb 20 23:55:29 Downloading zebrafy-1.2.2-py3-none-any.whl (20 kB)
    Feb 20 23:55:29 Collecting pypdfium2>=4.8.0
    Feb 20 23:55:29 Downloading pypdfium2-4.30.1-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (2.9 MB)
    Feb 20 23:55:29 ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 0.0/2.9 MB ? eta -:--:-- ━━━━━╺━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 0.4/2.9 MB 10.9 MB/s eta 0:00:01 ━━━━━━━━━━━━━━╺━━━━━━━━━━━━━━━━━━━━━━━━━ 1.0/2.9 MB 13.9 MB/s eta 0:00:01 ━━━━━━━━━━━━━━━━━━━━━━━━━━━╺━━━━━━━━━━━━ 2.0/2.9 MB 17.3 MB/s eta 0:00:01 ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 2.9/2.9 MB 20.2 MB/s eta 0:00:00
    Feb 20 23:55:30 => Healtheck error: Error: connect ECONNREFUSED 172.18.17.177:5678
    Feb 20 23:55:30 Collecting pillow
    Feb 20 23:55:30 Downloading pillow-11.1.0-cp310-cp310-manylinux_2_28_x86_64.whl (4.5 MB)
    Feb 20 23:55:30 ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 0.0/4.5 MB ? eta -:--:-- ━━━━━━━━━━━━━━━━╸━━━━━━━━━━━━━━━━━━━━━━━ 1.9/4.5 MB 57.3 MB/s eta 0:00:01 ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 4.5/4.5 MB 60.5 MB/s eta 0:00:00
    Feb 20 23:55:31 Installing collected packages: pypdfium2, pillow, zebrafy
    Feb 20 23:55:31 ERROR: Could not install packages due to an OSError: [Errno 30] Read-only file system: '/root/.local'
    
    1 Reply Last reply
    1
    • J Online
      J Online
      joseph
      Staff
      wrote on last edited by joseph
      #2

      Have you seen https://docs.cloudron.io/apps/n8n/#custom-node-modules already?

      1 Reply Last reply
      0
      • J Online
        J Online
        joseph
        Staff
        wrote on last edited by
        #3

        Don't mind me, you want custom pip modules and not custom node modules. Does upstream support this? If you have a doc link, we can adjust our package accordingly.

        1 Reply Last reply
        0
        • robiR Offline
          robiR Offline
          robi
          wrote on last edited by
          #4

          You can often install things to the /app/data location manually if you can set the right env variables.

          try:

          export HOME=/app/data
          

          then run the pip install

          Conscious tech

          1 Reply Last reply
          0
          Reply
          • Reply as topic
          Log in to reply
          • Oldest to Newest
          • Newest to Oldest
          • Most Votes


          • Login

          • Don't have an account? Register

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