![]() I am not hardcore system admin guy so facing challenge in understanding exact which guide will help to change default data location. There is extensive documentation available on the ownCloud web site to put all the pieces of the puzzle together, but I wanted to save time and work, and so I decided to download a pre-installed virtual appliance with ownCloud. SELECT * FROM oc_jobs WHERE class = 'OC\Log\Rotate' Īs soosn as above query is run it gives error as OwnCloud relies on Apache, MySQL and PHP. To check it, run the SQL below and see if any results are returned: So I spun up the VM as a headless instance on my HTPC. I could not get FreeNAS to spin up the VM for anything. I decided to use the official VM for NextCloud rather than suffer all the headaches of the jails. To change the location of this folder, modify the installdir/mariadb/my. When you are finished, restore the original permissions. You should now be able to upload files to the folder or replace the file. The logrotate process may have hard-coded a non-standard (or old) value for the data path. While waiting for 11.2 and all the promises there-in, I had found a need for OwnCloud/NextCloud. For self-contained Bitnami stacks, the data directory for MariaDB is located at installdir/mariadb/data by default. Change the owner of the folder or file to bitnami (remember to replace the TARGETFOLDER placeholder with the proper path): sudo chown bitnami TARGETFOLDER sudo chmod w TARGETFOLDER. ![]() The other area to check is the oc_jobs table. UPDATE oc_storages SET id='local::/mnt/owncloud' WHERE id='local::/var/www/owncloud/data' If you want to manually change the location of the data folder in the database, run the SQL below: To use port 443, you have to add in front of the URL and accept the self-signed certificate. ![]() Copy the contents of the data directory to a new directory using the rsync command. cc./cache.aspxd5064041567246414
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |