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 LAMP - nano - local config file

    LAMP
    2
    4
    102
    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.
    • timconsidine
      timconsidine last edited by

      Using nano as text file editor on a LAMP app
      I get this warning :

      # nano index.html 
      Unable to create directory /root/.local/share/nano/: No such file or directory
      It is required for saving/loading search history or cursor positions.
      

      Doesn't matter too much but wondering how to create this
      /root/ is readonly
      Can't see a config option for nano to store its stuff in read/write location

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

        Ah this is similar to the vim swap file then. We will add this to the next base image then. Thanks for reporting.

        timconsidine 1 Reply Last reply Reply Quote 1
        • timconsidine
          timconsidine @nebulon last edited by

          @nebulon Thank you. No rush.

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

            @timconsidine fixed with https://git.cloudron.io/cloudron/docker-base-image/-/commit/c3431324eaddac83122e3e63893c7c6a8e1ee17d but of course only part of the next base image release then.

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