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


    Cloudron Forum

    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular

    Modifying Files in /app/code

    Support
    cli debug recovery
    3
    5
    203
    Loading More Posts
    • 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.
    • J
      JLX89 last edited by girish

      Hello,
      Is there a way to modify files located in /app/code for a deployed app? For example, I'm looking at migrating Xenforo over to Discourse but need to modify the importer file in /app/code/scripts in order to make this happen.

      Thank you!

      robi 1 Reply Last reply Reply Quote 1
      • robi
        robi @JLX89 last edited by

        @jlx89 yes, if you do it in app>config>repair>recovery mode.

        The changes though are temporary, as with every restart/upgrade it reverts.

        Life of Gratitude.
        Life of Advanced Technology

        J 1 Reply Last reply Reply Quote 1
        • J
          JLX89 @robi last edited by

          @robi Thank you so much, that should work out since it's just temporary for the upgrade.

          1 Reply Last reply Reply Quote 0
          • girish
            girish Staff last edited by

            I think for modifying /app/code, you might have to use the CLI tool since the recovery mode in the UI currently puts the apps in "paused" mode but the file system is still readonly. Instead, install the CLI tool and thencloudron debug --app app.domain.com.

            J 1 Reply Last reply Reply Quote 1
            • J
              JLX89 @girish last edited by

              @girish Thank you! I will give that a shot.

              1 Reply Last reply Reply Quote 0
              • First post
                Last post
              Powered by NodeBB