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


Skip to content

App Packaging & Development

App package development & help

248 Topics 2.3k Posts

Subcategories


  • Looking to collaborate? Post here if you need help or willing to offer help.

    33 Topics
    252 Posts
    D

    Hi everyone,

    I need help with the following tasks, specifically for use within Cloudron:

    Packaging a React App:

    I need assistance in setting up a React app to connect with Directus hosted on Cloudron.

    If possible, I’d like a detailed SOP (Standard Operating Procedure) to follow for future setups.

    Setting Up a Node.js or Next.js App with React:

    I want to create a new MySQL database for this app, hosted on Cloudron, and need guidance on setting up and working with this database.

    Again, having an SOP for future reference would be highly appreciated.

    I’m willing to pay for these services or would be grateful if someone could kindly share their expertise and the required SOPs.

    Thanks in advance!

  • App contributions hall of fame

    Pinned Moved
    42
    10 Votes
    42 Posts
    5k Views
    LanhildL

    @girish Missed that message. Yeah, Open WebUI is the one that made it to published. I've made several other things but they're mostly to learn packaging/tests (such as a standalone DB app, etc.)

  • Translators hall of fame

    Pinned Moved
    25
    15 Votes
    25 Posts
    2k Views
    nebulonN

    Public registration is off on that, but we do add language maintainers manually if needed. See https://docs.cloudron.io/i18n/#maintaining-translations

    Since we have native German speakers on the team, we are maintaining that internally, however you can suggest changes via the weblate instance for any strings and I will review those then.

  • Read first before starting to package an app

    Pinned
    10
    8 Votes
    10 Posts
    3k Views
    nebulonN

    I guess the current link would be https://docs.cloudron.io/packaging/tutorial/

  • Building custom packages

    Pinned
    6
    4 Votes
    6 Posts
    1k Views
    girishG

    @Grienauer

    We haven't yet had a case where different data directories of apps cannot be symlinked to a subdirectory /app/data . It keeps backup/restore logic simple if we limit to one folder. Do you have an app in mind which cannot do this?

    Usually, we manage to change apps to use supervisor and thus package multiple containers into one. I guess it's possible to implement this, we haven't yet.

  • Writing automated tests for packages

    Pinned
    12
    8 Votes
    12 Posts
    1k Views
    BrutalBirdieB

    @nebulon Yea I just wanted to reply never mind, I copied the tests from the alltube app which do not even use selenium so yeeaa my mistake.

    Now I took the nextcloud tests and will learn from them 🙂

  • Cloudron Non-App Store Packaged Apps

    Pinned
    27
    11 Votes
    27 Posts
    3k Views
    T

    @matbrgz added to the post at the top!

  • Publish an Official App Packaging Roadmap

    4
    2 Votes
    4 Posts
    60 Views
    humptydumptyH

    @crazybrad I stand corrected. Cool beans.

  • J-Lawyer on Cloudron

    3
    0 Votes
    3 Posts
    55 Views
    C

    ok. thanks for the fast answer.

  • Blossom Server package

    3
    5 Votes
    3 Posts
    102 Views
    L

    @sebdev @cortex @robi @scooke @github-tijlxyz @jdaviescoates @timconsidine you might be interested in trying out this nostr package and maybe providing some feedback for nostrdev-com who kindly created it.

  • Packaging an app (tutorial)

    2
    2 Votes
    2 Posts
    45 Views
    girishG

    @mdc773 there is a video at https://forum.cloudron.io/topic/2843/read-first-before-starting-to-package-an-app which @fbartels made

  • Cloudron Typescript App Example Using Old Docker Base Image

    Moved Solved
    2
    0 Votes
    2 Posts
    41 Views
    nebulonN

    Thanks for the reminder, I have updated that file now with the new base image.

  • XMPP Server - Prosody

    34
    4 Votes
    34 Posts
    3k Views
    D

    @girish - Given that the only blocker (that I know of so far) is the TLD certificate availability, would it be a decent workaround to package this entire thing as an application, and then run a one-time command to symlink the TLD certificate into the application directory? This would allow the sys admin to choose which application deserves access to the TLD certificate, ensure the app always has access to the latest certificate, and work around the current limitation of apps not being able to request the TLD cert.

  • Need help resolving Error with Monero Node in Cloudron.

    Moved
    4
    2 Votes
    4 Posts
    212 Views
    J

    I think that is just the docker image and not the docker file - https://hub.docker.com/r/jacobmatrktippetts/monero-node

  • Can't install custom app anymore via CLI, constantly retrying

    Moved Solved
    3
    0 Votes
    3 Posts
    115 Views
    nebulonN

    Maybe a temporary issue with your private docker registry or otherwise. Lets see if next time we have more info to work with.

  • Downloading image fails, constantly retrying

    1
    0 Votes
    1 Posts
    39 Views
    No one has replied
  • Problems with Postgres Addon

    6
    0 Votes
    6 Posts
    249 Views
    E

    I solved the port issue as well.
    The problem occured when I tried to start an interactive shell, which counted as starting a second application inside the cloudron app, that's where the port conflict came from.

    If someone else is working with Elixir on Cloudron, you can start an interactive shell like this:
    /app/_build/prod/rel/APP/bin/APP remote

  • Installing custom Apps on Cloudron

    47
    7 Votes
    47 Posts
    4k Views
    C

    As a relatively new member of the Cloudron community (especially compared to @scooke) I can see both points of view. The current collection of apps is very eclectic, spanning both personal and business. And to a certain extent that reflects the wide range of our community - a strength.

    I do not envy @girish and team trying to please all of us. It is both thankless and impossible. But one person's "must have" app is another person's "who cares". The danger is losing members if their needs are not met with the applications they need or want.

    Perhaps having a simplified installation process would allow more people to customize their Cloudrons as desired. And yes, despite the warnings that you are on your own, I am sure that support questions will arise. And the spirit of the Cloudron team and the community to help will always prevail. As long as these questions are within reasonable limits, perhaps this will allow the platform to grow more valuable without being overwhelmed. I would suggest that custom-installed apps have its own topic area, especially if the results could be hidden from search engines to prevent prospective members getting the wrong impression about Cloudron's reliability per @scooke 's valid concerns.

    Finally, I am personally interested in a business-oriented, custom-app platform where Dockerized applications can be hosted in a well-thought out and architected environment like Cloudron. We are exploring several ideas along these lines, including adding some private applications we have created, others we have paid to license, and some that are open source. And these systems would require incremental Cloudrons - helping to grow the revenue stream. In the end, that's the idea, isn't it...

  • Crontab not running in custom LAMP

    Moved
    13
    1 Votes
    13 Posts
    507 Views
    girishG

    @alex-uxlabsmx should work now. there were a couple of issues in the crontab:

    '&' in the end of the cron line. this puts the command in the background. cronjobs are not run in background and instead run on a schedule. so, the '&' should be removed. 'source' command is a bash primitive. you have to wrap it in bash -c "source ... && anothercommand", for example

    seems to work after that.

  • read-only file system, rmdir '/dist'

    Moved
    8
    1 Votes
    8 Posts
    341 Views
    nebulonN

    I am not familiar with how nestjs works during startup, but something tries to wholesale rm the /dist folder. I guess it tries to rebuild the app on startup? You may have to copy the app from read-only to /run first thing in start.sh and then start the app and not symlink the folder? Just a guess though.

  • Update app : Read-only file system

    Moved Solved
    8
    1 Votes
    8 Posts
    377 Views
    J

    Glad you got it sorted out!