I did not migrate the Marketplace Apps as per what ownCloud manual suggested. The reason for having another set of file storage in the same DS is I want to keep the original ownCloud intake in case my new installation ends with problem, and I will still have my original ownCloud to serve me. I was doing the rsync by each user directory instead of the whole data directory so that I can have a shorter file copying process and I could easily fix the problem if anything goes wrong. I was moving them to the new location called /volume1/owncloud_data/. In the above example, my existing storage is at /volume1/owncloud and the actual user files are in the data directory. sudo rsync -avxt /volume1/owncloud/data/ /volume1/owncloud_data/ This is to avoid your ownCloud client to re-sync the entire files storage when you brought them back into the new ownCloud server. The recommended approach is to use rsync so that you can maintain all the files attributes such as the files modified timestamp. Next, I need to migrate the data files from the existing ownCloud storage into the new storage. sudo -u http occ maintenance:mode -on Migrating Existing ownCloud Data Files In my case, I will have to run the command with the full path pointing to the correct PHP version. You will have to find the correct PHP version in the DS OS. In DS, the current PHP version set in the OS may not be the current PHP version supported or used by the existing ownCloud. You will have to run this command in the ownCloud web content path by ssh into your DS. If there are many souls are using the ownCloud, you can enable maintenance mode in ownCloud with the following command. This can be done from the Package Center in the DS. If you are the only soul that is using the ownCloud, you can just stop the ownCloud server by stopping the apache2 service. Enable ssh on Synology DS218Play Turn On ownCloud Maintenance Mode Next, I need to enable the ssh service in DS. Migrating ownCloudįirst thing I did is to create a new shared storage in my DS with the proper permissions. I have gone through it and you do not want to. Many have complain about this over the forum. Doing this will broke the ownCloud installation which it removes those packages that you have just installed for ownCloud. Ubuntu has this little problem with every time when you had done an install or update, it will prompt a message recommending you to auto-remove unused / left over software packages. I am not going to cover the installation which you should be able to follow through from the ownCloud installation guide. Here it goes the story of migrating the few hundreds GB of files into new ownCloud. I managed to find the replacement from AliExpress and the heating problem is resolved and happily running it with Ubuntu 20.04. Recently some online posts hinted me that it could be caused by overheating and finally I confirmed that the processor fan was not in good condition. This is a very old little fella but I had not been able to have it run for long duration without having it to shutdown by itself. Luckily I have an Acer Aspire R3700 laying around in good condition. That’s the sign that I should have run it outside of DS. I custom installed the ownCloud and I had forgotten how I had gotten it done in the first place. It is not easy to maintain and upgrade the ownCloud in DS as it is not the supported apps in DS218Play. “open” in terms of being able to easily updates the ownCloud if there is new version available. I felt it is the time to move my ownCloud into a more “open” environment instead of DS. I have been using ownCloud on my Synology Disk Station(DS) for a while since I have owned the DS. I am merely just want to share my experience and as well as using this article to document down the experience. I have no any financial benefit gained by publishing this article. Sounded a bit commercial in the above statement, but I have no intention to promote ownCloud here. They also have Software-as-a-Service collaboration platform hosted in Germany. OwnCloud is available as open source which you can hosted it your own or at a trusted service provider, or choose ownCloud.online. That’s if you are technical enough to setup one for yourself. I believe you would want to run your own cloud storage. If you are like me who want to have unlimited cloud storage and at the same time would like to have the convenient of accessing your files from any device anywhere, and you are skeptical with using the public cloud storage for any valid reason.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |