Page 1 of 1

Error upgrade from 2.2.2 to 2.2.3

Posted: Mon Oct 16, 2017 9:59 am
by Andrew Prior
Hi. I tried to update to 2.2.3 today.
I changed all files in public_html to writeable, verified the public_htl is also writeable, flushed the cache, and ran the phar.

I get the error "Fatal Error Invalid config value for dest - not a directory, or not writable"

Does anyone have any clues where to go next. I'm out of my league here.

Andrew

Cms Version: 2.2.2
Installed Modules:
AceEditor2: 1.05
AdminSearch: 1.0.4
Album: 1.11
CGActionBar: 1.1.2
CGExtensions: 1.57.1
CGFeedback: 2.1
CGJobMgr: 1.3.6
CGSimpleSmarty: 2.1.7
CMSContentManager: 1.1.5
CMSMailer: 6.2.14
Captcha: 0.5.5
CmsJobManager: 0.1
DesignManager: 1.1.3
FileManager: 1.6.3
FilePicker: 1.0
JQueryTools: 1.4.0.3
MenuManager: 1.50.3
MicroTiny: 2.2
ModuleManager: 2.1.1
NMS: 2.13
Navigator: 1.0.7
News: 2.51.2
Printing: 1.1.2
Search: 1.51.2
Showtime2: 3.5.4
SiteMapMadeSimple: 1.2.8
ThemeManager: 1.1.8
nuSOAP: 1.0.2

Config Information:
php_memory_limit:
max_upload_size: 2000000
url_rewriting: mod_rewrite
page_extension: .html
query_var: page
auto_alias_content: true
locale:
set_names: false
timezone: Australia/Adelaide
permissive_smarty: true

Php Information:
phpversion: 5.6.31
md5_function: On (True)
json_function: On (True)
gd_version: 2
tempnam_function: On (True)
magic_quotes_runtime: Off (False)
E_ALL: 32767
E_STRICT: 2048
E_DEPRECATED: 8192
test_file_timedifference: No time difference found
test_db_timedifference: No time difference found
create_dir_and_file: 1
memory_limit: 128M
max_execution_time: 30
register_globals: Off (False)
output_buffering: 4096
disable_functions: show_source, system, shell_exec, passthru, exec, popen, proc_open
open_basedir:
test_remote_url: Success
file_uploads: On (True)
post_max_size: 8M
upload_max_filesize: 2M
session_save_path: /tmp (0700)
session_use_cookies: On (True)
xml_function: On (True)
xmlreader_class: On (True)
check_ini_set: On (True)
curl: On

Performance Information:
allow_browser_cache: Off (False)
browser_cache_expiry: 30
php_opcache: On (True)
smarty_cache: Off (False)
smarty_compilecheck: Off (False)
auto_clear_cache_age: On (True)
Server Information:
Server Software: Apache
Server Api: cgi-fcgi
Server Os: Linux 3.10.0-714.10.2.lve1.4.61.el7.x86_64 On x86_64
Server Db Type: MySQL (mysqli)
Server Db Version: 5.6.37
Server Db Grants: Found a "GRANT ALL" statement that appears to be suitable

Permission Information:
tmp: /home/MYFOLDER/public_html/tmp (0755)
tmp_cache: /home/MYFOLDER/public_html/tmp/cache (0755)
templates_c: /home/MYFOLDER/public_html/tmp/templates_c (0755)
modules: /home/MYFOLDER/public_html/modules (0755)
uploads: /home/MYFOLDER/public_html/uploads (0775)
File Creation Mask (umask): /home/MYFOLDER/public_html/tmp/cache (0755)
config_file: 0444
----------------------------------------------

Re: Error upgrade from 2.2.2 to 2.2.3

Posted: Mon Oct 16, 2017 1:45 pm
by calguy1000
Were you using the standard or expanded installer?
Did you override the destination directory in any way?
Tried from an incognito window just in case?

This message checks if the determined installation directory itself IS a directory, and IS writable. Please don't use FTP to check if it is writable, use SSH as FTP clients have been proven to be unreliable in this regard.

Re: Error upgrade from 2.2.2 to 2.2.3

Posted: Tue Oct 17, 2017 5:37 am
by Andrew Prior
Thankyou Calguy.
I used the standard phar installer. Uploaded with cPanel... my usual method. Checked write permissions on all the files and the dirctory using the cPanel file manager. Also tried to run from an incognito window in Chrome and in Edge. Same error.

I was under the impression the expanded installer was only for clean installs and not upgrades... or did I read that incorrectly?
Andrew

Re: Error upgrade from 2.2.2 to 2.2.3

Posted: Mon Oct 23, 2017 9:12 am
by Andrew Prior
Snort... I have found the upgrade problem. Host had turned off the php phar extension in the maybe 1 hour slot between updating one website on the same server and then getting to this one! So that's a lesson learned!