key "min_upgrade_version" is either missing or invalid

Help with getting the CMS CORE package up and running. This does not include 3rd party modules, PHP scripts, anything downloaded via module manager or from any external source.
Locked
User avatar
rotezecke
Power Poster
Power Poster
Posts: 411
Joined: Fri Apr 18, 2008 9:34 pm
Location: Nimbin, Australia

key "min_upgrade_version" is either missing or invalid

Post by rotezecke »

Hi there
I attempted the long overdue upgrade from 1.12.2 to 2.1.4 today (with PHAR installer) and it failed in step two (detect existing software):
The key "min_upgrade_version" is either missing or invalid in the config.ini file
I have successfully tested the upgrade (about 10 times) previously on very similar local server with same files (in theory) and database dumps from life server.
i uploaded the zip file with cPanel's file manager and used extract function. judging by the file size, it's identical with my local version. i suspected a module but there aren't that many, and they are all up-to-date. I renamed CMS_Printing module (which isnt installed) but still in module folder, but it wasnt that. the core modules ThemeManager and MicroTiny are disabled, but test upgrades worked fine that way. any ideas what to try next?



----------------------------------------------

Cms Version: 1.12.2

Installed Modules:

CMSMailer: 5.2.14
FileManager: 1.4.5
MenuManager: 1.8.7
ModuleManager: 1.5.8
News: 2.15.2
CGSmartImage: 1.21.5
Search: 1.7.13
CGSimpleSmarty: 1.10
CGExtensions: 1.53.9
CGBlog: 1.14
CGFeedback: 1.7.6
Captcha: 0.5.3
FormBuilder: 0.8.1.4
JQueryTools: 1.3.9


Config Information:

php_memory_limit:
process_whole_template:
max_upload_size: 64000000
url_rewriting: mod_rewrite
page_extension: .html
query_var: page
image_manipulation_prog: GD
auto_alias_content: true
locale:
default_encoding: utf-8
admin_encoding: utf-8
set_names: true


Php Information:

phpversion: 5.6.17
md5_function: On (True)
gd_version: 2
tempnam_function: On (True)
magic_quotes_runtime: Off (False)
E_STRICT: 2048
E_DEPRECATED: 0
memory_limit: 384M
max_execution_time: 90
output_buffering: On
safe_mode: Off (False)
file_uploads: On (True)
post_max_size: 64M
upload_max_filesize: 64M
session_save_path: /tmp (0700)
session_use_cookies: On (True)
xml_function: On (True)
xmlreader_class: On (True)


Server Information:

Server Api: cgi-fcgi
Server Db Type: MySQL (mysqli)
Server Db Version: 10.0.25
Server Db Grants: Found a "GRANT ALL" statement that appears to be suitable
Server Time Diff: No filesystem time difference found


----------------------------------------------
User avatar
rotezecke
Power Poster
Power Poster
Posts: 411
Joined: Fri Apr 18, 2008 9:34 pm
Location: Nimbin, Australia

Re: key "min_upgrade_version" is either missing or invalid

Post by rotezecke »

comparing phpinfo() on local and remote webserver, remote server has
bzip2 compression disabled (install pecl/bz2)
looking at the install script, it looks like this would have caused a different error though.
User avatar
PinkElephant
Forum Members
Forum Members
Posts: 169
Joined: Fri Feb 06, 2009 2:08 pm

Re: key "min_upgrade_version" is either missing or invalid

Post by PinkElephant »

rotezecke wrote:
bzip2 compression disabled (install pecl/bz2)
looking at the install script, it looks like this would have caused a different error though.
I assume you mean

Code: Select all

if (!function_exists('bzdecompress')) {
die('Error: bzip2 extension is not enabled -' .
' bzdecompress() function needed for bz2-compressed .phars');
}
... but it's possible the test will pass;
http://php.net/manual/en/function.function-exists.php wrote: Note: A function name may exist even if the function itself is unusable due to configuration or compiling options...
Running...

Code: Select all

php -r 'function_exists("bzdecompress");'
... at the command line should confirm/deny.

Anyway, without bz2 support, have you tried the cmsms-x.y.z-install.expanded.zip files, unpacked in a sub-directory?
User avatar
rotezecke
Power Poster
Power Poster
Posts: 411
Joined: Fri Apr 18, 2008 9:34 pm
Location: Nimbin, Australia

Re: key "min_upgrade_version" is either missing or invalid

Post by rotezecke »

Anyway, without bz2 support, have you tried the cmsms-x.y.z-install.expanded.zip files, unpacked in a sub-directory?
Not yet, i was hoping for some sort of "you-forgot-to-do-this" response.
I will ask my host to enabled bz2, failing that i will start testing the expanded install method and report back here. Thanks for your input PinkElephant, much appreciated.
User avatar
rotezecke
Power Poster
Power Poster
Posts: 411
Joined: Fri Apr 18, 2008 9:34 pm
Location: Nimbin, Australia

Re: key "min_upgrade_version" is either missing or invalid

Post by rotezecke »

my host recompiled php and enabled bz2. the upgrade went smooth thereafter. Thank you.
Locked

Return to “[locked] Installation, Setup and Upgrade”