Currently I was running OwnCloud 8.0.2 instaled thru plugin and when I try to update to the newest one 9.0.
All went smooth on the NAS side but when I log in to the Owncloud interface it ask for update so I did and then got error "update fail .....................".
Spent some time to find the solution but none was to find.
So I pieced solution together from different sources. (good I'm running this as a VM so I always have full backup).
So simple solution:
MAKE SURE YOU HAVE THE BACKUP
- login to the owncloud interface as admin and disable plugins (I left Update and Provisioning API)
- open shell in owncloud jail
- run this commands
# fetch "http://download.owncloud.org/community/owncloud-8.0.10.tar.bz2" - (that is the next update after 8.0.2)
# tar jxf owncloud-*.tar.bz2 -C /usr/pbi/owncloud-amd64/www
# rm owncloud-*.tar.bz2
# chown -R www:www /usr/pbi/owncloud-amd64/www/owncloud - ( just in case )
- log in to owncloud interface and click UPDATE - (fingers crossed, if it finished repeat the steps, fetch another update 8.1.0 then 8.1.3 then 8.2.0 then 8.2.3 and 9.0.0 (the display for plugin will not change in FreeNas 8.0.2) or the last update can be done thru plugin it will change some configs - on mine changed ports I had custom ones and in FreeNas Plug it will show version 9.
- enable Owncloud plugins - everyone will ask for update.
Note:
If you installed it thru plugin do not use OwnCloud update it installs files in different location /usr/local/not /usr/pbi/
Hopefully it will help somebody.
All went smooth on the NAS side but when I log in to the Owncloud interface it ask for update so I did and then got error "update fail .....................".
Spent some time to find the solution but none was to find.
So I pieced solution together from different sources. (good I'm running this as a VM so I always have full backup).
So simple solution:
MAKE SURE YOU HAVE THE BACKUP
- login to the owncloud interface as admin and disable plugins (I left Update and Provisioning API)
- open shell in owncloud jail
- run this commands
# fetch "http://download.owncloud.org/community/owncloud-8.0.10.tar.bz2" - (that is the next update after 8.0.2)
# tar jxf owncloud-*.tar.bz2 -C /usr/pbi/owncloud-amd64/www
# rm owncloud-*.tar.bz2
# chown -R www:www /usr/pbi/owncloud-amd64/www/owncloud - ( just in case )
- log in to owncloud interface and click UPDATE - (fingers crossed, if it finished repeat the steps, fetch another update 8.1.0 then 8.1.3 then 8.2.0 then 8.2.3 and 9.0.0 (the display for plugin will not change in FreeNas 8.0.2) or the last update can be done thru plugin it will change some configs - on mine changed ports I had custom ones and in FreeNas Plug it will show version 9.
- enable Owncloud plugins - everyone will ask for update.
Note:
If you installed it thru plugin do not use OwnCloud update it installs files in different location /usr/local/not /usr/pbi/
Hopefully it will help somebody.
Last edited: