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 | Demo | Docs | Install
M

Mario 0

@Mario 0
About
Posts
5
Topics
2
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • (API)Route not found > schema/diff
    M Mario 0

    Perfect explanation! Thanks for your patience: know things are much clearer 🚀

    Directus

  • (API)Route not found > schema/diff
    M Mario 0

    Thanks a lot for your support 🤩

    The "problem" was that I tried to send "pure" JSON to the diff-endpoint and this ended up in route not found (IMO not the best hint).
    With parsing json to yaml --data "$(yq .data schema.json)" the endpoint worked like expected.

    But why ist JSON not working!?

    [...]Compare the current instance's schema against the schema snapshot in JSON request body and retrieve the difference. [...] Alternatively, upload a JSON or YAML schema file. (ref: https://directus.io/docs/api/schema#retrieve-schema-snapshot)

    Also I'm wondering if my approach is the "best" solution:

    • schema/snapshot > prod.json
    • work on the snapshot schema locally and track/commit changes to git-repo (prod.json > local.json)
    • schema/diff (edited) local.json against server > diff.json
    • schema/apply diff.json on server

    Thanks for your support
    Mario

    Directus

  • (API)Route not found > schema/diff
    M Mario 0

    Hi there,

    I'm trying to connect to server.tld/schema/diff & ./schema/apply via method POST but my instance always replies with a 404 "route not found".

    • Version is 11.12.0
    • (API)User has Admin-Permissions
    • for example ./schema/snapshot is just working fine

    Could it be that these two endpoints are "blocked" in cloudron directus apps? Can we "activate" them? Or should they work and the problem sits in front of the screen 🤔

    Kind regards
    Mario

    Directus

  • Install packages on cloudron-host via apt
    M Mario 0

    Ok, thanks! Then we've to implement the whole deploy process inside the container (lamp app) and leave the host untouched. Wish you a nice weekend ☀️

    Support

  • Install packages on cloudron-host via apt
    M Mario 0

    Hello Cloudron-Community,

    I'm new to cloudron an therefore I may excuse for a maybe stupid question upfront.

    Is it OK to install packages, for example

    apt install git
    

    on the cloudron host or is it recommended not to install any other packages beside cloudron on the host.

    I wonder because my shell is telling me

    "Please do not run apt upgrade manually as it will update packages that
    Cloudron relies on and may break your installation. Ubuntu security updates
    are automatically installed on this server every night."

    and I couldn't find any information or best practices regarding "install software on cloudron host (and how to maintain them)".

    Befor you ask why: I'd like to run "git pull" on the host within a LAMP-App (/home/yellowtent/appsdata/container-uuid/data/public/) an not via the app-terminal where git is available. Or do I oversee something and there are "better" solutions for this specific scenario/request?

    Thanks for your help
    Mario

    Support
  • Login

  • Don't have an account? Register

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