Post-install issues....testing out nextcloud

Hi

Testing out nextcloud for a customer and ran into some issues… tried the web but everything points to older versions…

[root@nextcloud nextcloud]# cat /etc/centos-release
CentOS Linux release 7.3.1611 (Core)

Nextcloud version:11.0.0 (stable)

[root@nextcloud nextcloud]# yum list installed | grep php
php56w.x86_64 5.6.29-1.w7 @webtatic
php56w-cli.x86_64 5.6.29-1.w7 @webtatic
php56w-common.x86_64 5.6.29-1.w7 @webtatic
php56w-devel.x86_64 5.6.29-1.w7 @webtatic
php56w-gd.x86_64 5.6.29-1.w7 @webtatic
php56w-intl.x86_64 5.6.29-1.w7 @webtatic
php56w-mbstring.x86_64 5.6.29-1.w7 @webtatic
php56w-mcrypt.x86_64 5.6.29-1.w7 @webtatic
php56w-mysql.x86_64 5.6.29-1.w7 @webtatic
php56w-opcache.x86_64 5.6.29-1.w7 @webtatic
php56w-pdo.x86_64 5.6.29-1.w7 @webtatic
php56w-xml.x86_64 5.6.29-1.w7 @webtatic

[root@nextcloud nextcloud]# yum list installed | grep sql
php56w-mysql.x86_64 5.6.29-1.w7 @webtatic
sqlite.x86_64 3.7.17-8.el7 @base

[root@nextcloud nextcloud]# yum list installed | grep http
httpd.x86_64 2.4.6-45.el7.centos @base
httpd-manual.noarch 2.4.6-45.el7.centos @base
httpd-tools.x86_64 2.4.6-45.el7.centos @base

MariaDB [(none)]> SHOW DATABASES;
±-------------------+
| Database |
±-------------------+
| information_schema |
| mysql |
| nextcloudDB |
| performance_schema |
±-------------------+

That being noted, i am an unexperienced linux engineer…
I’ve got it pretty much running but I ran in a problem and have a question

I have an SSL certificate on apache and this works ok, also the redirect of http to https

  1. When i try to login via the webpage it takes like 30 seconds, when i am logged in the page seems to react normally?

I think it has something to do with my database not closing connection or some kind?

MariaDB [(none)]> show status like ‘Conn%’;
±--------------±------+
| Variable_name | Value |
±--------------±------+
| Connections | 75 |
±--------------±------+

  1. my config file says sqldb is sqlite but i tought mysql?

Could anyone help me out on this one?

That’s the reason why it is so slow.

You need MySQL.

Dam missed that… how van i change it? When i just change te config line i get a blank page

hi,

you can migrate the database. Nexctlcoud Documentation - Converting Database Type
I’ve done it from mysql to postgres … works perfekt.

After that you can change the database type, port and host in the config file.
But if it’s a fresh installation, you should start from the beginning?!?!

Here you find some nice stuff about Nextcloud - Videos howto install Nextcloud

Cheers,
Andreas

1 Like

Well, just click on Storage & Database

1 Like

yeah but how do i get that first getting started page again?

It depends on your webserver root

vou can try

http://your_ip/nextcloud

i am just going to do a fresh install i think, thanks for your help and if i need any more help ill post a thread :slight_smile:

yesterday i was struggling with this and stopped when it still did not work properly, now suddenly i tested it and it was surprising quick?
strange…