Hi Joshua,
The number of pages this thread is reaching is becoming insane. Looking for specifics is becoming more challenging as the thread is expanding.
I wish it was possible to generate a PDF version of this thread for offline reading and highlighting key points and add personal notes.
Question:
I am running the hold jail system under Freenas 9.3 and I will be installing a new instance of Owncloud under the latest jail system based on FreeBSD 10 I believe.
I will be poiting the new jail to my existing files and database mounted under /mnt/files and /var/db/mysql.
As far I understand, I need to perform a new install following your guide up to section that deals with starting the service on line 1 of the folowing:
Code:
service nginx start && service php-fpm start && service mysql-server start && service redis start
mysql_secure_installation
mysql -u root -p
CREATE DATABASE owncloud;
GRANT ALL PRIVILEGES ON owncloud.* TO 'ocuser'@'localhost' IDENTIFIED BY 'ocpass';
FLUSH PRIVILEGES;
quit;
I will need to skip the commands from line 2 to 7.
After that, I will proceed with the rest of the install up to the point where owncloud is being configured through web browser.
Normally, on a brand new system, I would fill out the Storage and database fields as well as creating a new admin account.
If I proceed that way, I think I might corrupt my databse.
So instead, I can copy the contnet of the old jail:
/usr/local/www/owncloud/config/config.php to the new jail location.
Then it's just a matter of restarting the jail.
Is this the proper and more elegant approch or do you advise in a different path?
Am I overlooking anything critical?