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

    Solved Location of the App Directory for uploading files by FTP

    Support
    2
    2
    726
    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
      jagan last edited by

      Hi,

      I have wordpress installed and have two issues.

      1. I wish to know the path to the wp-uploads folder so that I can SFTP into that folder and upload stuff.

      2. The duplicator plugin (for migrating sites) gives an error that the directories are unwritable by php user. Any solutions or workabouts for this please? Can I set the permissions to 777 through SFTP or SSH?

      Thank you community!

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

        Hi,

        the application's data path can be found at /home/yellowtent/appsdata/<appId>/data/ and that is the only writeable path for apps (besides /tmp and /run of course). This is done for security as well as predictability for updates. Usually if you push data there through external means like SSH, you might have to reconfigure the app through the dashboard, in case the file permissions are not correct. Generally it is preferred that data changes are done via the app itself, which I guess is not quite applicable for your use-case though.

        For duplicator, from what I understand this migration script is mostly just creating a tarball/zipfile of the whole previous installation and then extracts it into a folder, which is served up by some LAMP environment. This is incompatible with the Cloudron WordPress package, for reasons mentioned above (mostly the read-only fashion) For this you probably have to fallback to the LAMP app itself. There it should work.

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