/setup-nextcloud.php says it has succeeded but it hasn't installed anything

I get to the second screen of the install process and it says success but at the top of the screen it throw up the errors listed below. I don’t think I’m savvy enough to try and set up Nexcloud manually so I was really excited to see an installer. Any help that can get me up and running (well, walking would be good tbh) would be greatly appreciated.
I did notice that there are two slashes between my website address and the script, which is odd and I don’t understand why. :confused:

https://cloud.mywebsite.com//setup-nextcloud.php?step=2&directory=.

**Warning** : ZipArchive::extractTo(): Invalid or uninitialized Zip object in **/home/cloud.mywebsite.com/setup-nextcloud.php** on line **156**

**Warning** : ZipArchive::close(): Invalid or uninitialized Zip object in **/home/cloud.mywebsite.com/setup-nextcloud.php** on line **157**

**Warning** : scandir(tmp-nextcloud1598945203/nextcloud): failed to open dir: No such file or directory in **/home/cloud.mywebsite.com/setup-nextcloud.php** on line **161**

**Warning** : scandir(): (errno 2): No such file or directory in **/home/cloud.mywebsite.com/setup-nextcloud.php** on line **161**

**Warning** : array_diff(): Argument #1 is not an array in **/home/cloud.mywebsite.com/setup-nextcloud.php** on line **161**

**Warning** : Invalid argument supplied for foreach() in **/home/cloud.mywebsite.com/setup-nextcloud.php** on line **161**

**Warning** : rmdir(tmp-nextcloud1598945203/nextcloud): No such file or directory in **/home/cloud.mywebsite.com/setup-nextcloud.php** on line **164**

I think you use the web installer. Also i think /home/cloud.mywebsite.com is your path on your webspace at your webspace provider . If not post it.

https://github.com/nextcloud/web-installer
https://github.com/nextcloud/web-installer/blob/master/setup-nextcloud.php

line 156:
“$zip->extractTo($nextcloud_tmp_dir);”

a few lines above:

	if (!file_exists('nc.zip')) {
		$error .= Setup::getFile('https://download.nextcloud.com/server/releases/'.NC_VERSION.'.zip','nc.zip');
	}

Perhaps the download does not work.
you can perhaps download it manually and save it as “nc.zip”.

https://download.nextcloud.com/server/releases/nextcloud-19.0.2.zip
-> copy to nc.zip to the same path on your webspace.

2 Likes

Thanks for the fast reply!
I see, so if I’ve already uploaded the zip to my directory then the installer script should see it?
I’ll give that a try.
Thanks again, I’m really not very savvy with web admin but really want to move away from Google & co. :slight_smile:

You can also search and find a Nextcloud Hosting in your country for free or little money.

1 Like

Aye, I saw that but I want to keep everything in one place if I can. I’ll just get confused otherwise. XD

1 Like

That worked! You’re an absolute star, thanks ever so much. :slight_smile:

2 Likes

Perhaps your webspace provider does not allow download files. That could be a further problem with installing nextcloud apps and nextcloud updates. Perhaps you can activate a module or ask your provider.

1 Like

Yeah, I’ll get in touch with them later. But for now I get to play with it. :slight_smile:

1 Like

It really works ! Thanks

1 Like