Nextcloud will not advance beyond "Create Admin Account" web-page

Hello all, I am having a problem with advancing beyond the “Create Admin Account” web-page you first get after initial setup. Ultimately I input a username and password for the account I want to create (I have had to input different ones every time I try because it is saving them.) Leave the data folder as default /var/www/html/nextcloud/data, Select Marinadb and input my credentials for said database then hit “Finish Setup” It acts like its loading then lands me on a " 192.168.X.X is currently unable to handle this request. page. I cant figure out what i’m missing. any help or pointers would be greatly appreciated.

hi @jarreddemoret , the permission on the nextcloud directory is ok for the user www-data ?

I do not have a www-data user

Maybe a little transparency would help. Im running

Centos7
Apache/2.4.6
PHP 7.3
Ver 9.1 Distrib 10.5.8-MariaDB

@jarreddemoret maybe user httpd ?

Don’t have user httpd either. Am I correct in thinking this could boil down to a user/permissions issue? I do know (for whatever reason) to configure MarinaDB I need to be root as opposed to the user account I used to setup everything else.

@jarreddemoret it can be a user permission issue but not sure
can you go in your nextcloud directory and make this : ls -l (send me the result please )

-rw-r–r--. 1 root root 16 Jan 11 21:36 adjtime
-rw-r–r--. 1 root root 1529 Apr 1 2020 aliases
-rw-r–r--. 1 root root 12288 Jan 11 21:48 aliases.db
drwxr-xr-x. 2 root root 236 Jan 12 16:58 alternatives
-rw-------. 1 root root 541 Aug 8 2019 anacrontab
-rw-r–r--. 1 root root 55 Aug 8 2019 asound.conf
drwxr-x—. 3 root root 43 Jan 11 21:31 audisp
drwxr-x—. 3 root root 83 Jan 11 21:48 audit
drwxr-xr-x. 2 root root 55 Jan 12 14:26 bash_completion.d
-rw-r–r--. 1 root root 2853 Apr 1 2020 bashrc
drwxr-xr-x. 2 root root 6 Nov 16 11:46 binfmt.d
-rw-r–r--. 1 root root 37 Nov 23 10:08 centos-release
-rw-r–r--. 1 root root 51 Nov 23 10:08 centos-release-upstream
drwxr-xr-x. 2 root root 6 Oct 13 11:46 chkconfig.d
-rw-r–r--. 1 root root 1108 Aug 8 2019 chrony.conf
-rw-r-----. 1 root chrony 481 Aug 8 2019 chrony.keys
drwxr-xr-x. 2 root root 21 Jan 11 21:31 cron.d
drwxr-xr-x. 2 root root 42 Jan 11 21:32 cron.daily
-rw-------. 1 root root 0 Aug 8 2019 cron.deny
drwxr-xr-x. 2 root root 22 Jun 9 2014 cron.hourly
drwxr-xr-x. 2 root root 6 Jun 9 2014 cron.monthly
-rw-r–r--. 1 root root 451 Jun 9 2014 crontab
drwxr-xr-x. 2 root root 6 Jun 9 2014 cron.weekly
-rw-------. 1 root root 0 Jan 11 21:29 crypttab
-rw-r–r--. 1 root root 1620 Apr 1 2020 csh.cshrc
-rw-r–r--. 1 root root 1103 Apr 1 2020 csh.login
drwxr-xr-x. 4 root root 78 Jan 11 21:31 dbus-1
drwxr-xr-x. 2 root root 44 Jan 11 23:27 default
drwxr-xr-x. 2 root root 23 Jan 11 21:31 depmod.d
drwxr-x—. 4 root root 53 Jan 11 21:31 dhcp
-rw-r–r--. 1 root root 5090 Nov 16 09:40 DIR_COLORS
-rw-r–r--. 1 root root 5725 Nov 16 09:40 DIR_COLORS.256color
-rw-r–r--. 1 root root 4669 Nov 16 09:40 DIR_COLORS.lightbgcolor
-rw-r–r--. 1 root root 1285 Sep 30 11:57 dracut.conf
drwxr-xr-x. 2 root root 6 Sep 30 11:57 dracut.conf.d
-rw-r–r--. 1 root root 112 Sep 30 09:21 e2fsck.conf
-rw-r–r--. 1 root root 0 Apr 1 2020 environment
-rw-r–r--. 1 root root 1317 Apr 10 2018 ethertypes
-rw-r–r--. 1 root root 0 Jun 7 2013 exports
lrwxrwxrwx. 1 root root 56 Jan 11 21:30 favicon.png -> /usr/share/icons/hicolor/16x16/apps/fedora-logo-icon.png
-rw-r–r--. 1 root root 70 Apr 1 2020 filesystems
drwxr-x—. 7 root root 133 Jan 11 22:34 firewalld
drwxr-xr-x. 3 root root 38 Jan 12 14:27 fonts
-rw-r–r--. 1 root root 541 Jan 11 21:29 fstab
drwxr-xr-x. 2 root root 6 Aug 2 2017 gcrypt
-rw-r–r--. 1 root root 265 Sep 30 09:23 gdbinit
drwxr-xr-x. 2 root root 6 Sep 30 09:23 gdbinit.d
drwxr-xr-x. 2 root root 6 Jul 13 2018 gnupg
-rw-r–r--. 1 root root 94 Mar 24 2017 GREP_COLORS
drwxr-xr-x. 4 root root 40 Jan 11 21:29 groff
-rw-r–r--. 1 root root 574 Jan 12 13:55 group
-rw-r–r--. 1 root root 562 Jan 11 23:33 group-
lrwxrwxrwx. 1 root root 22 Jan 11 21:31 grub2.cfg -> …/boot/grub2/grub.cfg
drwx------. 2 root root 182 Jan 11 21:32 grub.d
----------. 1 root root 463 Jan 12 13:55 gshadow
----------. 1 root root 453 Jan 11 23:33 gshadow-
drwxr-xr-x. 3 root root 20 Jan 11 21:30 gss
-rw-r–r--. 1 root root 9 Jun 7 2013 host.conf
-rw-r–r--. 1 root root 22 Jan 11 21:36 hostname
-rw-r–r--. 1 root root 158 Jun 7 2013 hosts
-rw-r–r--. 1 root root 370 Jun 7 2013 hosts.allow
-rw-r–r--. 1 root root 460 Jun 7 2013 hosts.deny
drwxr-xr-x. 5 root root 92 Jan 11 22:39 httpd
lrwxrwxrwx. 1 root root 11 Jan 11 21:29 init.d -> rc.d/init.d
-rw-r–r--. 1 root root 511 Nov 16 11:20 inittab
-rw-r–r--. 1 root root 942 Jun 7 2013 inputrc
drwxr-xr-x. 2 root root 159 Jan 11 21:29 iproute2
-rw-r–r--. 1 root root 23 Nov 23 10:08 issue
-rw-r–r--. 1 root root 22 Nov 23 10:08 issue.net
-rw-r–r--. 1 root root 7274 Jan 11 23:27 kdump.conf
drwxr-xr-x. 3 root root 24 Jan 11 21:32 kernel
-rw-r–r--. 1 root root 646 Sep 30 09:21 krb5.conf
drwxr-xr-x. 2 root root 6 Sep 30 12:51 krb5.conf.d
-rw-r–r--. 1 root root 32142 Jan 12 17:50 ld.so.cache
-rw-r–r--. 1 root root 28 Feb 27 2013 ld.so.conf
drwxr-xr-x. 2 root root 153 Jan 12 17:02 ld.so.conf.d
-rw-r-----. 1 root root 191 Mar 1 2019 libaudit.conf
drwxr-xr-x. 2 root root 35 Jan 11 21:29 libnl
-rw-r–r--. 1 root root 2391 Oct 12 2013 libuser.conf
-rw-r–r--. 1 root root 19 Jan 11 21:36 locale.conf
lrwxrwxrwx. 1 root root 38 Jan 11 21:36 localtime -> …/usr/share/zoneinfo/America/New_York
-rw-r–r--. 1 root root 2027 Aug 6 2019 login.defs
-rw-r–r--. 1 root root 662 Jul 31 2013 logrotate.conf
drwxr-xr-x. 2 root root 125 Jan 12 17:55 logrotate.d
drwxr-xr-x. 6 root root 100 Jan 11 23:27 lvm
-r–r--r–. 1 root root 33 Jan 11 21:31 machine-id
-rw-r–r--. 1 root root 111 Sep 30 12:07 magic
-rw-r–r--. 1 root root 272 May 14 2013 mailcap
-rw-r–r--. 1 root root 5122 Nov 16 11:20 makedumpfile.conf.sample
-rw-r–r--. 1 root root 5171 Oct 30 2018 man_db.conf
-rw-r–r--. 1 root root 51787 May 14 2013 mime.types
-rw-r–r--. 1 root root 1106 Sep 30 11:58 mke2fs.conf
drwxr-xr-x. 2 root root 81 Jan 11 23:27 modprobe.d
drwxr-xr-x. 2 root root 6 Nov 16 11:46 modules-load.d
-rw-r–r--. 1 root root 0 Jun 7 2013 motd
lrwxrwxrwx. 1 root root 17 Jan 11 21:29 mtab -> /proc/self/mounts
drwxr-xr-x. 2 root root 99 Jan 12 17:55 my.cnf.d
drwxr-xr-x. 7 root root 134 Jan 11 23:27 NetworkManager
-rw-r–r--. 1 root root 58 Nov 16 11:20 networks
-rw-r–r--. 1 root root 28549436 Jul 18 2016 nextcloud-9.0.53.tar.bz2
-rw-r–r--. 1 root root 1949 Jan 11 21:31 nsswitch.conf
-rw-r–r--. 1 root root 1938 Sep 29 21:51 nsswitch.conf.bak
drwxr-xr-x. 3 root root 36 Jan 11 21:30 openldap
drwxr-xr-x. 2 root root 6 Apr 11 2018 opt
lrwxrwxrwx. 1 root root 21 Jan 11 23:26 os-release -> …/usr/lib/os-release
drwxr-xr-x. 2 root root 4096 Jan 11 23:27 pam.d
-rw-r–r--. 1 root root 1124 Jan 12 13:55 passwd
-rw-r–r--. 1 root root 1066 Jan 11 23:33 passwd-
drwxr-xr-x. 2 root root 6 Nov 23 02:01 pear
-rw-r–r--. 1 root root 1159 Nov 23 02:01 pear.conf
drwxr-xr-x. 2 root root 4096 Jan 12 16:56 php.d
-rw-r–r--. 1 root root 63546 Jan 5 07:20 php.ini
drwxr-xr-x. 2 root root 4096 Jan 12 16:56 php-zts.d
drwxr-xr-x. 3 root root 21 Jan 11 21:29 pkcs11
drwxr-xr-x. 10 root root 116 Jan 11 21:31 pki
drwxr-xr-x. 2 root root 28 Jan 11 21:31 plymouth
drwxr-xr-x. 5 root root 52 Jan 11 21:29 pm
drwxr-xr-x. 5 root root 72 Jan 11 21:31 polkit-1
drwxr-xr-x. 2 root root 6 Jun 10 2014 popt.d
drwxr-xr-x. 2 root root 154 Jan 11 21:31 postfix
drwxr-xr-x. 3 root root 123 Jan 11 23:27 ppp
drwxr-xr-x. 2 root root 78 Jan 11 23:27 prelink.conf.d
-rw-r–r--. 1 root root 233 Jun 7 2013 printcap
-rw-r–r--. 1 root root 1819 Apr 1 2020 profile
drwxr-xr-x. 2 root root 280 Jan 12 16:56 profile.d
-rw-r–r--. 1 root root 6545 Apr 1 2020 protocols
drwxr-xr-x. 2 root root 35 Jan 11 23:26 python
lrwxrwxrwx. 1 root root 10 Jan 11 23:27 rc0.d -> rc.d/rc0.d
lrwxrwxrwx. 1 root root 10 Jan 11 23:27 rc1.d -> rc.d/rc1.d
lrwxrwxrwx. 1 root root 10 Jan 11 23:27 rc2.d -> rc.d/rc2.d
lrwxrwxrwx. 1 root root 10 Jan 11 23:27 rc3.d -> rc.d/rc3.d
lrwxrwxrwx. 1 root root 10 Jan 11 23:27 rc4.d -> rc.d/rc4.d
lrwxrwxrwx. 1 root root 10 Jan 11 23:27 rc5.d -> rc.d/rc5.d
lrwxrwxrwx. 1 root root 10 Jan 11 23:27 rc6.d -> rc.d/rc6.d
drwxr-xr-x. 10 root root 127 Nov 16 11:20 rc.d
lrwxrwxrwx. 1 root root 13 Jan 11 23:27 rc.local -> rc.d/rc.local
lrwxrwxrwx. 1 root root 14 Jan 11 23:26 redhat-release -> centos-release
-rw-r–r--. 1 root root 49 Jan 13 11:55 resolv.conf
-rw-r–r--. 1 root root 1 Jan 11 21:29 resolv.conf.save
-rw-r–r--. 1 root root 1634 Dec 24 2012 rpc
drwxr-xr-x. 2 root root 234 Jan 11 23:33 rpm
-rw-r–r--. 1 root root 458 Apr 1 2020 rsyncd.conf
-rw-r–r--. 1 root root 3232 Sep 30 09:19 rsyslog.conf
drwxr-xr-x. 2 root root 25 Sep 30 13:36 rsyslog.d
-rw-r–r--. 1 root root 1008 Nov 16 11:20 rwtab
drwxr-xr-x. 2 root root 23 Nov 16 11:20 rwtab.d
drwxr-xr-x. 2 root root 24 Jan 11 21:31 sasl2
-rw-------. 1 root root 221 Apr 1 2020 securetty
drwxr-xr-x. 6 root root 4096 Jan 12 17:55 security
drwxr-xr-x. 5 root root 81 Jan 12 16:49 selinux
-rw-r–r--. 1 root root 670293 Jun 7 2013 services
-rw-r–r--. 1 root root 216 Apr 1 2020 sestatus.conf
----------. 1 root root 783 Jan 12 13:55 shadow
----------. 1 root root 762 Jan 11 23:33 shadow-
-rw-r–r--. 1 root root 44 Apr 1 2020 shells
drwxr-xr-x. 2 root root 62 Jan 11 21:29 skel
drwxr-xr-x. 2 root root 225 Jan 11 21:48 ssh
drwxr-xr-x. 2 root root 19 Jan 11 21:30 ssl
-rw-r–r--. 1 root root 212 Nov 16 11:20 statetab
drwxr-xr-x. 2 root root 6 Nov 16 11:20 statetab.d
-rw-r–r--. 1 root root 0 Apr 1 2020 subgid
-rw-r–r--. 1 root root 0 Apr 1 2020 subuid
drwxr-xr-x. 2 root root 6 Sep 30 13:47 subversion
-rw-r-----. 1 root root 1786 Sep 30 09:18 sudo.conf
-r–r-----. 1 root root 4328 Sep 30 09:18 sudoers
drwxr-x—. 2 root root 6 Sep 30 13:42 sudoers.d
-rw-r-----. 1 root root 3181 Sep 30 09:18 sudo-ldap.conf
drwxr-xr-x. 6 root root 4096 Jan 12 17:01 sysconfig
-rw-r–r--. 1 root root 449 Nov 16 11:20 sysctl.conf
drwxr-xr-x. 2 root root 28 Jan 11 23:27 sysctl.d
drwxr-xr-x. 4 root root 151 Jan 11 23:27 systemd
lrwxrwxrwx. 1 root root 14 Jan 11 23:26 system-release -> centos-release
-rw-r–r--. 1 root root 23 Nov 23 10:08 system-release-cpe
-rw-------. 1 tss tss 7046 Aug 3 2017 tcsd.conf
drwxr-xr-x. 2 root root 6 Sep 6 2017 terminfo
drwxr-xr-x. 2 root root 6 Nov 16 11:46 tmpfiles.d
drwxr-xr-x. 3 root root 109 Jan 11 23:27 tuned
drwxr-xr-x. 3 root root 54 Jan 11 23:27 udev
-rw-r–r--. 1 root root 37 Jan 11 21:36 vconsole.conf
-rw-r–r--. 1 root root 1982 Dec 15 11:44 vimrc
-rw-r–r--. 1 root root 1982 Dec 15 11:44 virc
-rw-r–r--. 1 root root 4479 May 15 2019 wgetrc
drwxr-xr-x. 2 root root 33 Jan 11 21:31 wpa_supplicant
drwxr-xr-x. 5 root root 57 Jan 11 21:31 X11
drwxr-xr-x. 4 root root 38 Jan 11 21:31 xdg
drwxr-xr-x. 2 root root 6 Apr 11 2018 xinetd.d
drwxr-xr-x. 6 root root 100 Jan 11 21:31 yum
-rw-r–r--. 1 root root 970 Oct 1 13:03 yum.conf
drwxr-xr-x. 2 root root 4096 Jan 12 17:46 yum.repos.d

@jarreddemoret make ls -l in /var/www/html/nextcloud/

drwxr-xr-x. 29 apache apache 4096 Jul 5 2016 3rdparty
drwxrwxrwx. 30 apache apache 4096 Jul 5 2016 apps
-rw-r–r--. 1 apache apache 8065 Jul 5 2016 AUTHORS
drwxrwxrwx. 2 apache apache 66 Jan 12 19:25 config
-rw-r–r--. 1 apache apache 3695 Jul 5 2016 console.php
-rw-r–r--. 1 apache apache 34520 Jul 5 2016 COPYING-AGPL
drwxr-xr-x. 16 apache apache 4096 Jul 18 2016 core
-rw-r–r--. 1 apache apache 5919 Jul 5 2016 cron.php
drwxr-xr-x. 2 apache apache 85 Jan 12 19:25 data
-rw-r–r--. 1 apache apache 32727 Jul 5 2016 db_structure.xml
-rw-r–r--. 1 apache apache 179 Jul 5 2016 index.html
-rw-r–r--. 1 apache apache 2027 Jul 5 2016 index.php
drwxr-xr-x. 3 apache apache 67 Jul 5 2016 l10n
drwxr-xr-x. 5 apache apache 85 Jul 5 2016 lib
-rwxr-xr-x. 1 apache apache 283 Jul 5 2016 occ
drwxr-xr-x. 2 apache apache 73 Jul 5 2016 ocs
drwxr-xr-x. 2 apache apache 43 Jul 5 2016 ocs-provider
-rw-r–r--. 1 apache apache 2969 Jul 5 2016 public.php
-rw-r–r--. 1 apache apache 4599 Jul 5 2016 remote.php
drwxr-xr-x. 5 apache apache 60 Jul 5 2016 resources
-rw-r–r--. 1 apache apache 26 Jul 5 2016 robots.txt
drwxr-xr-x. 12 apache apache 4096 Jul 5 2016 settings
-rw-r–r--. 1 apache apache 1835 Jul 5 2016 status.php
drwxr-xr-x. 3 apache apache 35 Jul 5 2016 themes
drwxr-xr-x. 7 apache apache 4096 Jul 5 2016 updater
-rw-r–r--. 1 apache apache 235 Jul 18 2016 version.php

@jarreddemoret user is ok in this directory.
Have you make this command with ‘-R’ ?
sudo chown -R apache:apache /var/www/html/nextcloud/

try this command :
sudo chmod -R 750 /var/www/html/nextcloud/