![]() For a quick fix, you can deactivate locking. The file is marked as “locked” in the database and doesn’t get unlocked. Those files get altered and saved regularly, this seems to break the file locking. pictures opened in Lightroom, or similar software). It usually happens when files are opened in software that update them regularly (e.g. But with external storage it happens almost every time. I had this issue somethime also with normal storage. Or it gets locked while it is saved to the HD so that it will not be uploaded during that time. Usually, a file gets locked when it is uploaded so it can’t be changed by others during that time. The error message is: “File cannot be synchronized, Server replied: File is locked”. It is very likely that you will get errors during sync processes. Now you can add a sync task on your Nextcloud client again.Įxternal storage configuration Error: File is locked.Depending on the file size of your linked folder, it takes some time until NC parsed all files and displays them in the webinterface.Check the NC log for the error message, this usually helps a lot to tracing down the error. If it turns into a red square, something went wrong.If so, everything worked fine and you can use your external storage folder. It should turn into a green circle after a short time. Now a loading icon appears next to the folder name.Confirm the settings with clicking the tick.Just enter user names or user groups that should see the external storage folder. You can limit the access with the option available for. Shares entered in the server settings are available for every NC user.Now just enter the user credentials for a user of the DiksStation***.If you want to use just a subfolder within \photo, enter it like this: “photo\Subfolder”. As remote subfolder enter “photo”, without “\”.It is also important to not forget the port number. Only localhost worked for me, the LAN-IP .X or the DiskStation alias didn’t work. As URL** enter “” if Nextcloud is running on your DiskStation.As authentication choose username and password.Enter a folder name, this one is shown in Nextcloud and can be any name.Here you can set up external storage, either for all users, or only certain users or user groups.* Depends on the Nextcloud version, they reorganize options from time to time. Go to Settings, there you shuold find External Storage two times, once in your personal settings and once in the server settings*.Install the module External Storage from Apps menu.Log in to the Nextcloud web interface (admin privileges are required again).Open WebDAV Server and ensure that sharing is enabled. ![]() Install the package WebDAV Server via Package Center.Log in to DSM/DiskStation web interface as an admin/user with admin privileges.Don’t work with live data until everything works how it is intended. Be sure to have some backup of your pictures. If you already sync your pictures with Nextcloud, delete the sync task and delete the folder on the cloud side.Unfortunately Nextcloud can handle only SMB on Windows servers, so WebDAV is the only service left. From the list of interfaces, the DiskStation offers SMB and WebDAV. Even the same server (DiskStation) can be treated as external storage, it just needs one of the supported interfaces. Nextcloud allows to add storage from external sources and services. Gladly the Photo Station isn’t that picky anymore. In the past few years, I tried different solutions including redundant data and large scripts doing the job. Removing pictures was even worse (thumbnails didn’t get deleted which lead to ghost pictures in the Photo Station). This didn’t work if you added them the wrong way. When you add pictures, the Photo Station creates thumbnails and indices. Older versions of Photo Station made it even more complex. Only pictures located in /photo are shown. Other than the Video Station, the Photo Station doesn’t allow to add random folders. But getting them into the Photo Station is a bit tricky. Syncing your pictures with Nextcloud isn’t a big deal. Nextcloud has all the features I need in one package and a great web interface, also the Clients are better and the compatibility with third party software and services is better. There are different reasons for using Nextcloud instead of the Cloud Station. In this post, I’ll show you how to use Nextcloud to sync/backup your pictures but still use the Photo Station to view them.
0 Comments
Leave a Reply. |