mintz
February 12, 2017, 5:05pm
1
This thing keeps showing up.
I did check the documentation and found this
-wget -nv
https://download.owncloud.org/download/repositories/9.1/Ubuntu_16.10/Release.key -O Release.key
-apt-key add - < Release.key
-sh -c "echo 'deb
http://download.owncloud.org/download/repositories/9.1/Ubuntu_16.10/ /' > /etc/apt/sources.list.d/owncloud.list"
-apt-get update
-apt-get install owncloud-files
-apt-get install owncloud
and rebooted to check if it was fixed, but still getting the same message.
Hi,
have you followed the link in the message pointing you to the documentation?
https://doc.owncloud.org/server/9.1/admin_manual/configuration_server/occ_command.html#command-line-upgrade
Is there something missing in the documentation or is the message not that clear?
I have the same problem on my german owncloud... Also I am a beginner, so I dont know what to to here and the documentation is only available in english... So, I am thankful for all help and information too.
1 Like
Overall / sum-up:
Go to your ownCloud installation folder and run:
occ upgrade
How the full command needs to look like depends on your used linux distribution. Few examples are provided in the documentation linked above.
occ is not executable and has to be run as web server user. So type
sudo -u www-data php occ upgrade
If your web server does not run as user www-data, you have to change the command. If you do not know which user runs your web server, try
ps aux | egrep '(apache|httpd)'
1 Like
mintz
February 12, 2017, 9:52pm
9
'Could not open input file: occ'
by the way what is the occ?
You have to change in the Owncloud directory:
cd /var/www/owncloud
occ is the acronym for O wn**C**loud c onsole, I think.
mintz
February 12, 2017, 10:15pm
11
EDIT: Never mind is working now! ty so much dd And now?
Seems to be o.k. The upgrade process passed without errors.
You asked for the command cd /var/www/owncloud
- seems you are not familiar with the linux basics. To administrate a server it is very important you know what you do.
1 Like