Profile Details

Toggle Sidebar
Loading cover... Drag cover to reposition
Recent updates
  • Redirection and secure connection

    Hello all,
    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 :

    <VirtualHost *:80>
    ServerName cloud.MyWebSite.com
    ServerAlias MyClient.poweredbyclear.com

    # Redirect permanent / http://MyClient.poweredbyclear.com/nextcloud

    ProxyRequests On
    ProxyPreserveHost On

    ProxyPass / http://MyClient.poweredbyclear.com/nextcloud/
    ProxyPassReverse / http://MyClient.poweredbyclear.com/nextcloud/

    # ----------------------------------------
    TransferLog /var/log/httpd/cloud_log
    ErrorLog /var/log/httpd/error_cloud_log
    </VirtualHost>


    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
    Arnaud

  • Arnaud Forster
    Arnaud Forster replied to a discussion, ClearTables

    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 ?

  • Arnaud Forster
    Arnaud Forster replied to a discussion, ClearTables

    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 ?

  • Arnaud Forster
    Arnaud Forster replied to a discussion, ClearTables

    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) ?

  • Arnaud Forster
    Arnaud Forster replied to a discussion, ClearTables

    here's the first part :

    MariaDB [(none)]> use nextcloud
    Database changed
    MariaDB [nextcloud]> show tables;
    Empty set (0.00 sec)

  • Arnaud Forster
    Arnaud Forster replied to a discussion, ClearTables

    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) ...

  • Arnaud Forster
    Arnaud Forster replied to a discussion, ClearTables

    when I open the fresh new nextcloud Database, it's empty . nothing inside ...really strange

  • Arnaud Forster
    Arnaud Forster replied to a discussion, ClearTables

    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 ...

  • Arnaud Forster
    Arnaud Forster replied to a discussion, ClearTables

    so, backuped database and deleted nextcloud database.... but yet ... blocked in the 'work in progress' status... and phpmyadmin doesnt answer anymore ... still waiting

  • Arnaud Forster
    Arnaud Forster replied to a discussion, ClearTables

    Perfect, find it .. wrong password used ... trying to remove nextcloud database ...
    Thanks Nick :)