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
  1. Cloudron Forum
  2. Nextcloud
  3. Changing folder permissions after importing from backup

Changing folder permissions after importing from backup

Scheduled Pinned Locked Moved Nextcloud
2 Posts 1 Posters 28 Views 1 Watching
  • 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.
  • matix131997M Offline
    matix131997M Offline
    matix131997
    wrote last edited by matix131997
    #1

    Hello, I have a serious problem with launching the application. After successfully importing from a backup, when I try to launch the application, I get an error message about folder permissions. The error message is as follows:

    2025-08-09T19:34:01Z An unhandled exception has been thrown:
    2025-08-09T19:34:01Z Ensure there is a file called ".ncdata" in the root of the data directory. It should have the content: "# Nextcloud data directory"
    2025-08-09T19:34:01Z Exception: Environment not properly prepared. in /app/code/lib/private/Console/Application.php:143
    

    I am sending a screenshot from the folder manager showing what it looks like.
    cb5ddc1c-61cd-4354-a890-6f35c9645abb-image.png
    261ce711-910d-4060-a5a9-b14539a840b8-image.png

    Now the question is, how do I fix this?

    EDIT: I'll add something else. I tried to change the permissions, but nothing works in the permissions window. It just stays there without changing anything.

    1 Reply Last reply
    0
    • matix131997M Offline
      matix131997M Offline
      matix131997
      wrote last edited by matix131997
      #2

      Okay, I got it.

      1. Using SSH with root privileges. I was able to fix the application folder permissions.
      2. I had to manually download the “.ncdata” and “.htaccess” files from the first server where the application was located.
        It looks like these files were not saved in the backup in rsync from the storage box. It was a backup without an encryption password.

      Well, probably my fault. I had to move the backup from the Storage Box to my QNAP server to get maximum download speed, instead of from the Storage Box at 0 MB/s. Maybe something broke during synchronization.

      1 Reply Last reply
      0
      Reply
      • Reply as topic
      Log in to reply
      • Oldest to Newest
      • Newest to Oldest
      • Most Votes


      • Login

      • Don't have an account? Register

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