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


Skip to content
  • VPN/Proxy assistance

    Discuss
    1
    0 Votes
    1 Posts
    1 Views
    No one has replied
  • 8 Votes
    6 Posts
    692 Views
    scookeS
    [image: 1762909849444-do-it-ben-stiller.gif] A touch rude, but I'd also love to see this!
  • .env not taking effect?

    Postiz
    4
    1 Votes
    4 Posts
    7 Views
    B
    Because thats what the dicsord conversation said (i realize they don't use cloudron). The issue is that i cannot add the x channel. The UI does not give any helpful errors other than a "could not connect to the platform" popup for 2sec. When i look at the network tab, i get the above mentioned request made to https://postiz.mydomain.com/api/integrations/social/x with response: {"err":true} thats how i got to suspect that the /api is the issue. If i am however on the wrong track. then let me know what else i could try. that said. If I can't overwrite the env file, then the docs are wrong i guess? (https://docs.cloudron.io/packages/postiz/#customization), and how am I going to add the API keys for the providers?
  • Cloudron API Docu - Set Operators correction?

    Discuss api documentation
    4
    1
    0 Votes
    4 Posts
    15 Views
    jamesJ
    Hello @3246 With the cloudron cli you can run e.g: cloudron exec --app $APP -- fallocate -l 4M /app/data/4M See cloudron exec --help: Usage: cloudron exec [options] [cmd...] Exec a command in an application Options: -t,--tty Allocate tty --app <id/location> App id or location -h, --help display help for command Examples: $ cloudron exec --app myapp # run an interactive shell $ cloudron exec --app myapp ls # run command $ cloudron exec --app myapp -- ls -l # use -- to indicate end of options Was not sure if possible via the API but since I can debug the cloudron cli and see what it do I figured something out. Send the to /api/v1/apps/$APPID/exec # Command is an array `ls -lah /app/data` would become for each space ["ls", "-lah", "/app/data/"] curl "https://my.$DOMAIN.$TLD/api/v1/apps/$APPID/exec" \ -H 'Authorization: Bearer $APITOKEN' \ -H 'content-type: application/json' \ --data-raw '["ls", "-lah", "/app/data/"]' # this returns and id { "id": "a90bcfcec1d29f7a595638ea66c8ac0bb53b594047ac74fc80bf97f75fed0c19" } But getting the output of the executed command is. . . tricky. Just look at the source code for the cli for this part: const searchParams = new URLSearchParams({ rows: stdout.rows || 24, columns: stdout.columns || 80, access_token: token, tty }); const req = https.request({ hostname: adminFqdn, path: `/api/v1/apps/${app.id}/exec/${execId}/start?${searchParams.toString()}`, method: 'GET', headers: { 'Connection': 'Upgrade', 'Upgrade': 'tcp' }, rejectUnauthorized }, function handler(res) { if (res.statusCode === 403) exit('Unauthorized.'); // only admin or only owner (for docker addon) exit('Could not upgrade connection to tcp. http status:', res.statusCode); }); req.on('upgrade', function (resThatShouldNotBeUsed, socket /*, upgradeHead*/) { // do not use res here! it's all socket from here on socket.on('error', exit); socket.setNoDelay(true); socket.setKeepAlive(true); if (tty) { stdin.setRawMode(true); stdin.pipe(socket, { end: false }); // the remote will close the connection socket.pipe(stdout); // in tty mode, stdout/stderr is merged socket.on('end', exitWithCode); // server closed the socket } else { // create stdin process on demand if (typeof stdin === 'function') stdin = stdin(); stdin.on('data', function (d) { var buf = Buffer.alloc(4); buf.writeUInt32BE(d.length, 0 /* offset */); socket.write(buf); socket.write(d); }); stdin.on('end', function () { var buf = Buffer.alloc(4); buf.writeUInt32BE(0, 0 /* offset */); socket.write(buf); }); stdout.on('close', exitWithCode); // this is only emitted when stdout is a file and not the terminal demuxStream(socket, stdout, process.stderr); // can get separate streams in non-tty mode socket.on('end', function () { // server closed the socket if (typeof stdin.end === 'function') stdin.end(); // required for this process to 'exit' cleanly. do not call exit() because writes may not have finished . the type check is required for when stdin: 'ignore' in execSync, not sure why if (stdout !== process.stdout) stdout.end(); // for push stream socket.end(); // process._getActiveHandles(); process._getActiveRequests(); if (stdout === process.stdout) setImmediate(exitWithCode); // otherwise, we rely on the 'close' event above }); } }); req.on('error', exit); // could not make a request req.end(); // this makes the request From a little debugging I got the API path: /api/v1/apps/$APPID/exec/$EXECID/start?rows=21&columns=257&tty=false But when CURL'ing this: curl "https://my.$DOMAIN.TLD/api/v1/apps/$APPID/exec/$EXECID/start?rows=21&columns=257&tty=false" \ -H "Authorization: Bearer $APITOKEN" \ -H 'content-type: application/json' { "status": "Not Found", "message": "exec requires TCP upgrade" } And I am not sure how to "TCP upgrade" the curl request. I will ask the team.
  • InvoiceShelf

    App Wishlist
    5
    1
    6 Votes
    5 Posts
    568 Views
    andreasduerenA
    @timconsidine But looks like it would simply run in the LAMP stack
  • Add additional Cloudron Proxy Auth option on apps

    Feature Requests
    1
    1 Votes
    1 Posts
    14 Views
    No one has replied
  • Since Upgrade to 9.0.7 Backup not working - Minio

    Unsolved Support
    1
    0 Votes
    1 Posts
    16 Views
    No one has replied
  • Cloudron 9.0 (beta) bug reports

    Pinned Discuss
    117
    1 Votes
    117 Posts
    4k Views
    girishG
    @necrevistonnezr cp is not robust enough against changing directories, so we have to rely on a retry (unless we go ahead and rewrite cp which is a biggish task). I could maybe wrap the cp logic in a retry loop for next release.
  • Grocy - ERP Beyond your fridge

    App Wishlist
    37
    22 Votes
    37 Posts
    9k Views
    jamesJ
    @jdaviescoates Thanks and done
  • Thinking of moving away from Gandi, DNS provider recommendations

    Discuss
    12
    0 Votes
    12 Posts
    115 Views
    timconsidineT
    I use Cloudns for DNS - they’re good
  • Lychee - Package Updates

    Pinned Lychee
    96
    0 Votes
    96 Posts
    22k Views
    Package UpdatesP
    [2.37.0] Update Lychee to 6.10.0 Full Changelog Translations update from LycheeOrg - Weblate by @ildyria in #3777 Translations update from LycheeOrg - Weblate by @ildyria in #3779 Add checksum to diagnostics by @ildyria in #3775 Fix some situations where clicks were ignored by @cdzombak in #3786 Add Javascript-based embed support by @cdzombak in #3778 version 6.10.0 by @ildyria in #3790
  • First Dawarich, now BTCPayServer!

    Apps
    5
    1 Votes
    5 Posts
    120 Views
    nostrdevN
    any reason you can't just run your Bitcoin node on your cloudron instance? it's prunable, which means it won't take loads of space. The rpc user/ pass definitely needs to be in the bitcoin.conf, it also needs to be salted/hashed, see: https://github.com/jlopp/bitcoin-core-rpc-auth-generator
  • 1 Votes
    3 Posts
    22 Views
    P
    Thanks a lot, that was tho Problem. I changed the user rights from Administrator to Superadmin an it's working as expected.
  • N8N - Unlock Paid Features for Free!! - TIME LIMITED OFFER

    Moved N8N
    28
    3
    12 Votes
    28 Posts
    24k Views
    necrevistonnezrN
    After the last investment rounds (180 mn), it's no valued at 2.5 bn... https://www.heise.de/-10748098
  • Emby - Package Updates

    Pinned Emby
    41
    0 Votes
    41 Posts
    10k Views
    Package UpdatesP
    [1.18.1] Update Emby.Releases to 4.9.1.90 Full Changelog Fix lists scrolling back up to top after editing metadata Improve music now playing background blur Update recordings display DVR - don't save series image if there already is one Support quoted search queries Improve search performance Fixes for multi-part detection Fixes for external subtitles encoded in ansi Fixes for external .sup subtitles Fixes for subtitle font extraction
  • TriliumNext - Package Updates

    Pinned TriliumNext
    99
    0 Votes
    99 Posts
    45k Views
    Package UpdatesP
    [1.25.4] Update Trilium to 0.99.4 Full Changelog Developer documentation is now available at docs.triliumnotes.org/developer-guide/. Excessive spacing in expanded empty children of a collection list view Share: headings with CJK characters had incorrect URLs. Share: headings were displayed in ToC with their HTML tags escaped. Import/export was enabled in note context menu for help notes. Image colors become muted on a canvas note when dark theme is enabled Edited notes list automatic updates to Hidden Notes
  • qBittorrent - Package Updates

    Pinned qBittorrent
    55
    1 Votes
    55 Posts
    11k Views
    Package UpdatesP
    [2.25.0] Update VueTorrent to 2.31.0 Full Changelog AddTorrentDialog: Server path completion for download and save path fields (#2501) (558be26) TorrentDetail: Improve nav button logic (#2536) (ecfdd08) Content: Move 5 rows when using page up / down keys (#2546) (29be6d6) Overview: Add extract button for easier debug (#2537) (619bc2b) SearchQuery: Group values between double quotes (#2558) (85cfc7e)
  • Nocodb stop responding after about every 2 days

    NocoDB nocodb
    2
    2 Votes
    2 Posts
    31 Views
    nebulonN
    Just a wild guess, but sounds like maybe something in nocodb is not freeing up database connections and eventually no more new connection can be established. Restarting the app would free up those handles. Have you searched upstream in the nocodb issue tracker already?
  • Is it possible/safe to install Client Push App ?

    Nextcloud
    6
    0 Votes
    6 Posts
    108 Views
    M
    Thanks. I started guessing the same while trimming through the repo. If I'm not mistaken, moving towards Nextcloud All-in-one would integrate this in the NC packge. Meanwhile, good to know that changes on the server are not immediately pushed to the clients.
  • 35 Votes
    28 Posts
    10k Views
    scookeS
    I'm going to get on the seesaw, too! I have this running on my Runtipi installation. That VPS has 8GB ram, and is also running 5 other apps (Photoprism is one, Obsidian LiveSync is another), and the CPU usage rarely goes over 15% for all of them. Memory fluctuates from 25% to 30%. What I really like about it is the Journal aspect. Yeah, I know, I could just make a new file with the date and all that, but this presents you with a nice little spot for a journal entry. Helps me, mentally, to write in a journal. I also like the macos and Android clients. Speedy syncing. I'd prefer to see this rather than Twenty!!