Weird installation outcome and error

Down loaded the install file from here … https://download.nextcloud.com/server/installer/setup-nextcloud.php
Ran the file and all appears ok
BUT
No repository location is requested
No database details are requested

I then get the following error

No database drivers (sqlite, mysql, or postgresql) installed.
PHP modules have been installed, but they are still listed as missing?
Please ask your server administrator to restart the web server.

All the files etc are where they should be

Checking the config and it shows

<?php
$CONFIG = array (
  'instanceid' => 'ocf470dqbyzt',
);

Never seen this before.
A long term user of NC

Went to another domain where there is a live version running to test and install in a different directory to ensure I can replicate the issue or in case the php settings are different.

I get exactly the same outcome as above.

Anyone got any ideas?
I’m at a loss

If you want to install NC on your server, the file you need to download url is: https://download.nextcloud.com/server/releases/latest.zip

You need to install the database, php modules, etc separately.

That setup wizard appears to be too old. Imho one can no longer use it.
You can easily see this from the date of the script, which is from November 30th, 2021 and is still based on php7.3, so completely stale.

You should setup like → described in the manual ← instead.


Much and good luck,
ernolf

Thanks so much @ernolf

Heads up to the mods take that file down !!!
Why is it still there?

1 Like

BlueBee thanks
Finding some of that is now not the easiest
As things have progressed bits have got lost.

1 Like

You need to install the database, php modules, etc separately.

The issue is on a shared cPanel
php is all as it should be and the database is set up.
No command access

Generating a config to put that all together is where I’m stuck.

I’ve been using NC since about V3 and just kept updating as I’ve gone and no done an install obviously since early 2021.

Thanks

Can you tell us please if you are self hosting Nextcloud or are you using a hosting provider?
Are all php modules installed as required? (php -m)
Reference: PHP Modules & Configuration — Nextcloud latest Administration Manual latest documentation

I am running 5 instances each for client projects on their domain accounts, in a hosted environment provided via VentraIP
Those all work brilliantly.
I replicated the php 8.2 settings from those functioning installs on the install I am trying to get sorted, and failing miserably.
All the settings on the file you referenced are functional in this problematic instance, as are the others.
I’m trying to get this nailed as I have two new client projects and will be conducting new installs on other hosting providers environments, that I’ve no experience of.

Figured I best get this one sorted properly before I venture into an unknown environment with unknown support levels.

Thanks

Did a restore from back at November 2023 before I got more than a blank page.
Told me it wouldn’t run on php 8.2
Rolled back php to 7.4.28 and was finally able to get into the admin.
Admins at VIP cannot track it down at their end.
I was one version behind the latest which was got me on this journey.