I've an internet domain and I added a dns entry to connect to my nextcloud appliance. the dns is like cloud.mywebsite.com.
In my /etc/httpd/conf./ folder, I added a new .conf file including the following orders :
# Redirect permanent / http://MyClient.poweredbyclear.com/nextcloud
ProxyPass / http://MyClient.poweredbyclear.com/nextcloud/
ProxyPassReverse / http://MyClient.poweredbyclear.com/nextcloud/
of course, it doesnt work as I'm really not a guru in http redirection, could you point me to the right direction ? and is there a way in the same file to redirect http to https to connect to my cloud ?
thanks to all for your help
ok, deinstallin the application, removing manuall all folders, deleted the nextcloud database AND nexcloud user in phpmyadmin and reinstalled the applicatin wokred !!
Thanks for your help Nick
Last question : Nextcloud is in version 13.05... is it possible to upgrade or should I wait the automatic one ?
could it be possible that different versions of nextcloud in my system create these problems ?
I've many folders from nexcloud that have been created today and some others date from september the 1st 2018 ...
should I uninstall nextcloud and manually remove these folders ?
I tried the install command ( /usr/clearos/apps/nextcloud_business/deploy/install) but many errors ...
here's the first one :
should I remove the whole before trying to install it again ?
if yes, should I remove these directories, too (/usr/clearos/apps/nextcloud_business) ?
Hmmm . dont know what to think about that : I displayed the list of databases and 2 of them (nextcloud and mysql) have the latin1_swedish_ci character set ? Nothing to do with my french language (but I know thera are many confusions between swiss and swedish) ...
ok, database remove. Reinstalling nextcloud ...
Everything was fine, I checked before starting the installation that there was no database 'nexcloud' and then started the installation. I then refreshed my phpmyadmin page and a new Nextcloud database had been created. After that, when trying to connect for the first time in my nexcloud webpage, I get the following error :
Error while trying to create admin user: An exception occurred while executing 'CREATE TABLE oc_migrations (app VARCHAR(255) NOT NULL, version VARCHAR(255) NOT NULL, PRIMARY KEY(app, version)) DEFAULT CHARACTER SET utf8 COLLATE utf8_bin ENGINE = InnoDB': SQLSTATE[42S01]: Base table or view already exists: 1050 Table '`nextcloud`.`oc_migrations`' already exists
strange because no old database remained ...