Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Reinstalling Owncloud 9 on Ubuntu 16

I wanted to create a fresh install of the program owncloud again

$ sudo apt-get remove owncloud
$ sudo apt-get purge owncloud
$ sudo apt-get autoremove
$ sudo rm -rf /var/wwww/owncloud

After this, I wanted to install owncloud again

$ sudo apt-get install owncloud

The second installation of owncloud did not create /var/www/owncloud again, as the first did. So, what did I do wrong and is there a possibility to install it normally again?

like image 801
user2509663 Avatar asked Jan 28 '26 20:01

user2509663


2 Answers

So, I found the mistake that I made. I did not remove ownlcoud completely.

$ sudo apt-get purge owncloud
$ sudo apt-get purge owncloud-*
$ sudo apt-get autoremove
$ sudo apt-get install owncloud

After the procedure above, owncloud was freshly reinstalled

like image 140
user2509663 Avatar answered Jan 31 '26 00:01

user2509663


First of all, you need to purge all dependencies then by using reinstall flag you should accomplish it as the following lines:

$ sudo apt-get purge owncloud-*
$ sudo apt-get install --reinstall owncloud
like image 29
elopezp Avatar answered Jan 30 '26 22:01

elopezp