[Eisfair] Probleme bei Installation von Nextcloud 1.8.1

Stefan Heidrich stefan-in-news at web.de
Mo Dez 2 10:33:23 CET 2019


Hallo Jürgen, hallo NG,

ich habe in Problem bei der Installation von Nextcloud 1.8.1.

So sieht meine Konfiguration aus:

START_OWNCLOUD               =  yes 
      OWNCLOUD_ADMIN_USER          =  admin 
           OWNCLOUD_ADMIN_PASS          =  ************ 
                 OWNCLOUD_DOCUMENT_ROOT       = 
/var/www/htdocs/nextcloud
OWNCLOUD_TRUSTED_DOMAIN      =  www.fam-heidrich.net 
      OWNCLOUD_DB_TYPE             =  sqlite 
            OWNCLOUD_DB_USER             =  ncuser 
                  OWNCLOUD_DB_PASS             =  ************ 
                        OWNCLOUD_SECURITY_LOWERING   =  no 
                              OWNCLOUD_SMTP_MANUAL_CONFIGURATION 
=  no
OWNCLOUD_APPSTORE_ENABLED    =  no 
      OWNCLOUD_APPS_N              =  1 
              OWNCLOUD_APPS_1_DIR        = 
/var/www/htdocs/nextcloud/apps2                OWNCLOUD_APPS_1_URL 
  =  /apps2 
OWNCLOUD_APPS_1_WRITEABLE  =  yes 
    OWNCLOUD_LOG_COUNT           =  10 
         OWNCLOUD_LOG_INTERVAL        =  weekly

Wenn ich das aktiviere kriege ich folgendes alles angezeigt:


Checking configuration file ...

Configuration file was saved as nextcloud.2019-12-02-09-52-49 in 
/etc/backup.d.

Activate configuration now (y/n) [yes]?
nextcloud version (eisfair-1): 1.8.1
Database type  : sqlite
Database server: localhost
Trusted domain(s): www.fam-heidrich.net
Apache2 SSL support: enabled
SQLite3 PHP7 support: enabled
Mail support: enabled
PHP7-WEB APC cache: enabled
PHP7-WEB memory limit: >= 512M
PHP7-CLI memory limit: >= 512M
PHP7-CLI configuration access: possible
copying program files (/var/www/htdocs/nextcloud) ...
   wait [ ............... ]
initializing nextcloud database ...
initializing sql database ...done.
creating logrotate configuration ...
creating cron script ...
setting access rights of '/var/www/htdocs/nextcloud' ...
   wait [ . ]
setting access rights of '/var/nextcloud' ...
   wait [ . ]
checking nextcloud install/upgrade requirements ...
- running install routine ...

In Install.php line 122:

   Database <sqlite> is not supported.


maintenance:install [--database DATABASE] [--database-name 
DATABASE-NAME] [--database-host DATABASE-HOST] [--database-port 
DATABASE-PORT] [--database-user DATABASE-USER] [--database-pass 
[DATABASE-PASS]] [--database-table-prefix [DATABASE-TABLE-PREFIX]] 
[--database-table-space [DATABASE-TABLE-SPACE]] [--admin-user 
ADMIN-USER] [--admin-pass ADMIN-PASS] [--admin-email [ADMIN-EMAIL]] 
[--data-dir DATA-DIR]

- running upgrade routine ...


   Command "upgrade" is not defined.


creating nextcloud configuration ...
creating cron job ...
nextcloud maintenance mode: enabled -> disabled
checking nextcloud install/upgrade requirements ...
owncloud maintenance mode: enabled
----------------------------------------------------------------
The maintenance mode is still active at this stage!
You should follow these instructions to solve the problem:

1. switch to the webserver user: # su - wwwrun
2. change directory            : > cd /var/www/htdocs/nextcloud
3. check the current directory : > pwd
                                : /var/www/htdocs/nextcloud
4. fix the previously described:
    problems by using occ, e.g. : > ./occ app:disable gallery
                                : gallery disabled
5. run update check            : > ./occ upgrade
                                : Update successful
6. disable the maintenance mode: > ./occ  maintenance:mode --off
                                : Maintenance mode disabled
----------------------------------------------------------------
finished.
Do you want to restart the webserver now (recommended) (y/n) [yes]?
  * Stopping Apache ... 
[  OK  ]
  * Starting Apache ... 
[  OK  ]
Press ENTER to continue


Warum ist SQLITE nicht unterstützt, wenn ich die doch auswählen kann?
Warum ist "upgrade" nicht definiert, wenn es doch aufgerufen wird?
Was muss ich alles tun, damit Nextcloud doch irgendwie an laufen kommt?

Ratlos
Stefan


Mehr Informationen über die Mailingliste Eisfair