Nextcloud not preconfigured

Hello,
after installing nextcloud from software center when access on nextcloud page asking me for installation!
Logs;

Jan  6 16:21:56 th pkgaction[23097]: install: @nethserver-nextcloud
Jan  6 16:22:00 th yum[23097]: Installed: nethserver-nextcloud-1.8.2-1.ns7.noarch
Jan  6 16:22:04 th esmith::event[23115]: Event: nethserver-nextcloud-update
Jan  6 16:22:04 th /etc/e-smith/events/nethserver-nextcloud-update/S00initialize-default-databases[23116]: /var/lib/nethserver/db/configuration: OLD squid=service|BlueMode|manual|BypassDomains||DiskCache|disabled|DiskCacheSize|100|GreenMode|manual|KrbPrimaryList|HTTP|KrbStatus|enabled|MaxObjSize|4096|MemCacheSize|256|MinObjSize|0|NoCache||ParentProxy||PortBlock|disabled|PortRedirect||SafePorts||TCPPorts|3128,3129,3130|access|green|status|disabled
Jan  6 16:22:04 th /etc/e-smith/events/nethserver-nextcloud-update/S00initialize-default-databases[23116]: /var/lib/nethserver/db/configuration: NEW squid=service|BlueMode|manual|DiskCache|disabled|DiskCacheSize|100|GreenMode|manual|KrbPrimaryList|HTTP|KrbStatus|enabled|MaxObjSize|4096|MemCacheSize|256|MinObjSize|0|NoCache||ParentProxy||PortBlock|disabled|PortRedirect||SafePorts||TCPPorts|3128,3129,3130|access|green|status|disabled
Jan  6 16:22:04 th /etc/e-smith/events/nethserver-nextcloud-update/S00initialize-default-databases[23116]: /var/lib/nethserver/db/configuration: OLD squid=service|BlueMode|manual|DiskCache|disabled|DiskCacheSize|100|GreenMode|manual|KrbPrimaryList|HTTP|KrbStatus|enabled|MaxObjSize|4096|MemCacheSize|256|MinObjSize|0|NoCache||ParentProxy||PortBlock|disabled|PortRedirect||SafePorts||TCPPorts|3128,3129,3130|access|green|status|disabled
Jan  6 16:22:04 th /etc/e-smith/events/nethserver-nextcloud-update/S00initialize-default-databases[23116]: /var/lib/nethserver/db/configuration: NEW squid=service|BlueMode|manual|BypassDomains||DiskCache|disabled|DiskCacheSize|100|GreenMode|manual|KrbPrimaryList|HTTP|KrbStatus|enabled|MaxObjSize|4096|MemCacheSize|256|MinObjSize|0|NoCache||ParentProxy||PortBlock|disabled|PortRedirect||SafePorts||TCPPorts|3128,3129,3130|access|green|status|disabled
Jan  6 16:22:04 th esmith::event[23115]: Action: /etc/e-smith/events/nethserver-nextcloud-update/S00initialize-default-databases SUCCESS [0.42378]
Jan  6 16:22:04 th esmith::event[23115]: expanding /etc/httpd/conf.d/nextcloud.conf
Jan  6 16:22:04 th esmith::event[23115]: expanding /etc/httpd/conf.d/zz_nextcloud.conf
Jan  6 16:22:05 th esmith::event[23115]: Nextcloud is not installed - only a limited number of commands are available
.
.
.
Jan  6 16:22:19 th esmith::event[23115]: Nextcloud is not installed - only a limited number of commands are available
Jan  6 16:22:19 th esmith::event[23115]: Action: /etc/e-smith/events/nethserver-nextcloud-update/S30nethserver-nextcloud-occ-conf SUCCESS [11.832689]
Jan  6 16:22:19 th esmith::event[23115]: /etc/e-smith/events/nethserver-nextcloud-update/S70nethserver-collabora-conf: line 33: config: command not found
Jan  6 16:22:19 th esmith::event[23115]: /etc/e-smith/events/nethserver-nextcloud-update/S70nethserver-collabora-conf: line 36: config: command not found
Jan  6 16:22:19 th esmith::event[23115]: /etc/e-smith/events/nethserver-nextcloud-update/S70nethserver-collabora-conf: line 41: config: command not found
Jan  6 16:22:19 th esmith::event[23115]: Action: /etc/e-smith/events/nethserver-nextcloud-update/S70nethserver-collabora-conf SUCCESS [0.101584]
Jan  6 16:22:21 th esmith::event[23115]: Event: nethserver-nextcloud-update FAILED
Jan  6 16:25:28 th esmith::event[27514]: Nextcloud is not installed - only a limited number of commands are available
.
.
.
Jan  6 16:25:45 th esmith::event[27514]: Nextcloud is not installed - only a limited number of commands are available
Jan  6 16:25:45 th esmith::event[27514]: Action: /etc/e-smith/events/interface-update/S50nethserver-nextcloud-occ-conf SUCCESS [17.82957]

I try to reinstall it,but look like the same.
Best Regards

I think rh-php71 is not installed, see Collabora uses rh-php71 without requiring it - #2 by robb. Please install it and retry Nextcloud configuration:

yum install rh-php71
signal-event nethserver-nextcloud-update

Does the “nextcloud” database exist? Following command shows the databases:

mysql -e "show databases"

Are there errors in /var/lib/nethserver/nextcloud/nextcloud.log* ?

2 Likes

Thanks for ur reply,
when finished installation of Nextcloud App show this message too:
esmith::event[15587]: Action: /etc/e-smith/events/nethserver-nextcloud-update/S20nethserver-nextcloud-conf FAILED: 1 [2.46448]
and even after installed rh-php71
the same issue,
mysql -e "show databases"
haven’t the permission even with root.
signal-event nethserver-nextcloud-update
take a long time without result
Best Regards

Try from the command line:

yum reinstall nethserver-nextcloud nextcloud

If the root user doesn’t have database access, it’s unlikely that will help.

1 Like

Yep, you’re right.

@dnutan @danb35
still had the same issue that asking for installation
when try:
# mysql -e “show databases”
ERROR 1045 (28000): Access denied for user ‘root’@‘localhost’ (using password: YES)
Best Regards & thanks

Seems the mariadb root password was changed.

To reset the mariadb root password (and additional info):