Problem with Update to 10.4 Enterprise

Martin68

Well-known member
Hi everyone,

i just tried to update to version 1.04 Enterprise, copied the two update-files in my database-folder on my webserver and started the up.php script.

The requirements-check shows no problems, so i continued and got two warnings and an error:

a) Warning:

Warning: file_get_contents(): Unable to find the wrapper "https" - did you forget to enable it when you configured PHP? in /volume1/web/XXDUMMYXXXX/up2.php on line 0
Warning: file_get_contents(https://dadabik.com/last_release.php): failed to open stream: No such file or directory in /volume1/web/XXDUMMYXXXX/up2.php on line 0

Seems to be a mistake in my php-config, but i don't know what i where have to do :-( I am using a Synology NAS as server an the App "Webstation" hat PHP-configs, but i don't know which setting i have to activate.... any sinology-user around who can help me?

b) Error

Down the warnings i get the following message:

"Upgrade

Step 2/4 - Version check, upgrades folder creation

Your current DaDaBIK version is 10.3-Manarola, the lastest version available is: there are problems with the Internet connection, we cannot check if there are upgrades available, please check the change log at https://dadabik.com/index.php?function=show_changelog to see which is the latest version.

A temporary folder upgrades_5fd390e7920c2 has been created. If you want to upgrade your installation, download the latest zip package (e.g. dadabik_xxxx_enterprise.zip) and copy it into the upgrades_5fdXXXXX920c2 folder; when you are done, click CONTINUE."

I downloaded the file "dadabik_10.4-Manarola_enterprise.zip", copied it in the "upgrades:5...."-folder and continued.

At the following page i again got an error:

"Step 3/4 - ZIP file check, license acceptance
There are unexpected files in your upgrades folder, you should only have one zip file (plus an .htaccess file, automatically created, that might be hidden). Please fix the problem and restart the ugprade procedure."

In the directory are exact two files: the .htaccess-file and the manually downloaded "dadabik_10.4-Manarola_enterprise.zip". I have no idea what to do, can anybody help me?

Kind regards

Martin
 

eugenio

Administrator
Staff member
Hello,
it seems you miss the php_openssl extension in your php, can you enable it in your php.ini?

Let's discuss the other errors after having fixed this one, but stop the upgrade process in case you get an error.

Best,
 

Martin68

Well-known member
Hi Eugenio,

i found the openssl-addon and activated it. works well until step 3:

Upgrade
Step 3/4 - ZIP file check, license acceptance
There are unexpected files in your upgrades folder, you should only have one zip file (plus an .htaccess file, automatically created, that might be hidden). Please fix the problem and restart the ugprade procedure.


The folder contains

.htaccess
dadabik_10.4-Manarola_enterprise.zip

nothing else.

Kind regards

Martin
 

eugenio

Administrator
Staff member
Hello,
are you sure you are looking at the right folder? If you tried the process several times it might happen that more than one folder is created and you can get confused easily.

Best,
 

Martin68

Well-known member
Good Morning Eugenio,

i deleted the update-folders, restarted the update-process and got the same result.

I access the DaDaBIK application at home on another way, cause of rebound-protection i use the internal ip instead of the www-adress - could this cause the problems?

Kind regards

Martin
 

eugenio

Administrator
Staff member
No, I don't think it's the cause of the problem
What is happening is that for some reason DaDaBIK sees other files in the upgrades folder.
If you are on linux, can you go to that folder via terminal and execute
ls -al
?
 

Martin68

Well-known member
drwxrwxrwx+ 1 http http 102 Dec 12 08:24 .
drwxrwxrwx+ 1 Martin users 758 Dec 12 08:24 ..
-rwxrwxrwx+ 1 Martin users 8506408 Dec 11 16:36 dadabik_10.4-Manarola_enterprise.zip
drwxrwxrwx+ 1 root users 98 Dec 12 08:24 @eaDir
-rwxrwxrwx+ 1 http http 37 Dec 12 08:24 .htaccess
 

eugenio

Administrator
Staff member
The problem is that @eaDir, that is automatically created by your NAS; probably you can safely delete it but I am not sure about it.
At the moment I don't have an alternative solution apart from using the old upgrade procedure.

Best,
 

Martin68

Well-known member
Hello Eugenio,

i removed the @eaDir directory, accepted the terms of use an continued ... on the next page i got the following error message;

Upgrade
Fatal error: Uncaught Error: Class 'ZipArchive' not found in /volume1/web/dadabik-amt14/up2.php:0 Stack trace: #0 {main} thrown in /volume1/web/dadabik-amt14/up2.php on line 0


Sorry!

Martin
 

Martin68

Well-known member
Hi Eugenio,

i have had to activate the zip-extension of php, then it works well.

Thanks for your help!

Kind regards

Martin
 

Martin68

Well-known member
optical Problem, editing app shows following message:

About/upgrade

DaDaBIKâ„¢ is a product conceived and developed by Eugenio Tacchini
Copyright © 2001-2020 Eugenio Tacchini
Proudly ❤️ made in Emilia
dadabik.com
Your current DaDaBIK version

You are using DaDaBIK version 10.4 enterprise, installed on 12-12-2020 (installation code: 0), the latest version of DaDaBIK is 10.4-Manarola released on 10-12-2020

You are not running the last release of DaDaBIK, the release you are running might have bugs and security holes, see the official change log for further information. You can upgrade DaDaBIK here.

In case you want to upgrade to a more powerful edition (from Pro to Enterprise/Platinum, from Enteprise to Platinum) please contact us.
System info

PHP Version: 7.2.29

mysql version: 5.5.5-10.3.21-MariaDB

Web server: nginx/1.16.1

Client: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:83.0) Gecko/20100101 Firefox/83.0
 

eugenio

Administrator
Staff member
If you mean that wrong "you are not running ... " message yes, it is a small bug that I have recognized (someone else also sent it); it doesn't have any impact on the functionalities but I'll fix it soon.

Best,
 
Top