chsh -s /bin/sh www su www cd /usr/local/www/owncloud php ./occ upgrde
you need to first overwrite your owncloud directory with the latest owncloud source files while keeping certain ones. your config/config.php and possibly your apps directory. I think the web method, if it works for you does this for you.Hi Joshua,
i try the upgrade using the web Interface. When i try our method i get the message "OwnCloud is already latest version"
Acutally i am on Version 8.1.2
Thanks for your help :)
you need to first overwrite your owncloud directory with the latest owncloud source files while keeping certain ones. your config/config.php and possibly your apps directory. I think the web method, if it works for you does this for you.
there's an owncloud doc page on it, but it might be good if we write up the specific commands that are run on freenas.
mv /usr/local/www/owncloud /usr/local/www/owncloud-bak fetch "http://download.owncloud.org/community/owncloud-8.2.2.tar.bz2" #update version accordingly tar jxf owncloud-*.tar.bz2 -C /usr/local/www cp /usr/local/www/owncloud-bak/config/config.php /usr/local/www/owncloud/config chown -R www:www /usr/local/www/owncloud su -m www -c 'php /usr/local/www/owncloud/occ upgrade' rm -r owncloud-*.tar.bz2 /usr/local/www/owncloud-bak
Here's the official docs. https://doc.owncloud.org/server/8.2/admin_manual/maintenance/manual_upgrade.html
Looks like we need to..
Someone can give this a try if they like.
- backup /usr/local/www/owncloud/config/config.php
- Replace the old /usr/local/www/owncloud directory with the latest one.
- move any apps that wer uninstalled from /usr/local/www/owncloud/apps
- run 'occ upgrade'
Code:mv /usr/local/www/owncloud /usr/local/www/owncloud-bak fetch "http://download.owncloud.org/community/owncloud-8.2.2.tar.bz2" #update version accordingly tar jxf owncloud-*.tar.bz2 -C /usr/local/www cp /usr/local/www/owncloud-bak/config/config.php /usr/local/www/owncloud/config # copy any missing apps from /usr/local/www/owncloud-bak/apps to /usr/local/www/owncloud/apps chown -R www:www /usr/local/www/owncloud chsh -s /bin/sh www cd /usr/local/www/owncloud php ./occ upgrade exit rm -r owncloud-*.tar.bz2 /usr/local/www/owncloud-bak
su www
Hi,
i tried to update my Owncloud to the newest version 8.2.2.2 I got the follow error:
Unable to move /usr/local/www/owncloud/_oc-upgrade/8.2.2.2/core/resources to /usr/local/www/owncloud/resources
Please help to solve the problem.
Many Thanks
is mysql started? 'service mysql start'Looking for a little assistance...
I've been following the directions for installation and run across the following unexpected snag when I attempt to execute the "mysql_secure_installation" command in the jail's userland:
View attachment 10170
When I hit enter for none it gives me the repeated error. I've searched through the thread several times and have not seen this error mentioned. I've looked through all of the modified files and can't find a line to use the socket '/tmp/MySQL.sock'... Anyone know where I've gone wrong? I'm running 9.3.1 stable.
Thanks in advance!
I can't tell you if you missed it. it's the 'pkg install' commandthat would probably be the problem... When I attempt to start it I get the dreaded "mysql does not exist in /etc/rc.d or the local startup
directories (/usr/local/etc/rc.d)".
Did I miss the steps to install that somewhere in the tutorial? I've done this twice now. I deleted the first jail and started over in frustration...
I have an alternative mysql server (mariadb) in there. you can install any mysql compatible server though. and yes running the command again should work.Sorry for being such a noob! I don't see it in the pkg install lines back at the beginning... can I just run the command now, let it install, and then proceed on?
yesI have an alternative mysql server (mariadb) in there. you can install any mysql compatible server though. and yes running the command again should work.