Upgrading to version 8.5.0 throws and error before upgrade is completed

Permalink 3 0 Browser Info Environment
Upgrade to 8.5.0 throws the following error

Error thrown with message "Wrong parameters for Concrete\Core\Updater\Migrations\MigrationIncompleteException([string $message [, long $code [, Throwable $previous = NULL]]])"
Stacktrace:
#13 Error in /home/kenyavet/public_html/updates/concrete5-8.5.0/concrete/src/Updater/Migrations/MigrationIncompleteException.php:33
#12 Exception:__construct in /home/kenyavet/public_html/updates/concrete5-8.5.0/concrete/src/Updater/Migrations/MigrationIncompleteException.php:33
#11 Concrete\Core\Updater\Migrations\MigrationIncompleteException:__construct in /home/kenyavet/public_html/updates/concrete5-8.5.0/concrete/src/Updater/Update.php:210
#10 Concrete\Core\Updater\Update:updateToCurrentVersion in /home/kenyavet/public_html/updates/concrete5-8.5.0/concrete/src/Application/Application.php:192
#9 Concrete\Core\Application\Application:Concrete\Core\Application\{closure} in /home/kenyavet/public_html/updates/concrete5-8.5.0/concrete/src/System/Mutex/FileLockMutex.php:95
#8 Concrete\Core\System\Mutex\FileLockMutex:execute in /home/kenyavet/public_html/updates/concrete5-8.5.0/concrete/src/Application/Application.php:193
#7 Concrete\Core\Application\Application:handleAutomaticUpdates in /home/kenyavet/public_html/updates/concrete5-8.5.0/concrete/src/Foundation/Runtime/Run/DefaultRunner.php:280
#6 Concrete\Core\Foundation\Runtime\Run\DefaultRunner:handleUpdates in /home/kenyavet/public_html/updates/concrete5-8.5.0/concrete/src/Foundation/Runtime/Run/DefaultRunner.php:332
#5 Concrete\Core\Foundation\Runtime\Run\DefaultRunner:trySteps in /home/kenyavet/public_html/updates/concrete5-8.5.0/concrete/src/Foundation/Runtime/Run/DefaultRunner.php:79
#4 Concrete\Core\Foundation\Runtime\Run\DefaultRunner:run in /home/kenyavet/public_html/updates/concrete5-8.5.0/concrete/src/Foundation/Runtime/DefaultRuntime.php:102
#3 Concrete\Core\Foundation\Runtime\DefaultRuntime:run in /home/kenyavet/public_html/updates/concrete5-8.5.0/concrete/dispatcher.php:36
#2 require in /home/kenyavet/public_html/concrete/bootstrap/configure.php:55
#1 require in /home/kenyavet/public_html/concrete/dispatcher.php:13


PS: domain name in Environment information changed

Attempted to upgrade from 8.4.4 in more than one site with the same error
Forcing the upgrade by re-running /index.php/ccm/system/upgrade?force=1 completes successfully


Status: New
michaelfm replied on at Permalink Reply
michaelfm
Experiencing the same behavior. Would it be save to force the migration?
martbase replied on at Permalink Reply
Yes, I had no issues for the several websites that I had to force the upgrade.

Have you tried upgrading with the latest release (8.5.1) as the issue could have been resolved?

Andrew mentioned on the concrete5 REST youtube video that 8.5.2 will be out soon so you can also wait and try that version instead.
michaelfm replied on at Permalink Reply
michaelfm
Thank you martbase for the info. Yes, I've used 8.5.1. I am not in a rush so I'll wait for the next version then. Greetings Michael
jb1 replied on at Permalink Reply
jb1
Yeah, I'm getting an upgrade error as well. Glad to know it's not just me.
https://www.concrete5.org/developers/bugs/8-5-0/error-upgrading-from...
emielschumacher replied on at Permalink Reply 1 Attachment
I have the same problem when updating to 8.5.1
surefyre replied on at Permalink Reply
surefyre
Same here, upgrading from 8.4.2

Have tried upgrading to 8.4.5 which goes OK
Then I tried 8.5.1 which broke so tried 8.5.0 which also broke.

Doing this in copies of the original site on which needs to migrate to a new webserver which is running PHP 7.3. This is blocking the entire business process for us.

Error here is:
An exception occurred while executing 'ALTER TABLE ExpressFormFieldSetAuthorControls ADD CONSTRAINT FK_CF378786BF396750 FOREIGN KEY (id) REFERENCES ExpressFormFieldSetControls (id) ON DELETE CASCADE': SQLSTATE[HY000]: General error: 1215 Cannot add foreign key constraint

concrete5 Environment Information

Environment & details:
Concrete5
Version 8.5.0
Installed Version 8.4.4
Concrete Configuration
concrete.version 8.5.0
concrete.version_installed 8.4.4
concrete.version_db 20190301133300
concrete.installed true
concrete.locale en_US
concrete.charset UTF-8
concrete.charset_bom 
concrete.maintenance_mode false
concrete.debug.display_errors true
concrete.debug.detail debug
concrete.debug.error_reporting null
concrete.proxy.host null
concrete.proxy.port null
concrete.proxy.user null
concrete.proxy.password null
concrete.upload.extensions *.flv;*.jpg;*.gif;*.jpeg;*.ico;*.docx;*.xla;*.png;*.psd;*.swf;*.doc;*.txt;*.xls;*.xlsx;*.csv;*.pdf;*.tiff;*.rtf;*.m4a;*.mov;*.wmv;*.mpeg;*.mpg;*.wav;*.3gp;*.avi;*.m4v;*.mp4;*.mp3;*.qt;*.ppt;*.pptx;*.kml;*.xml;*.svg;*.webm;*.ogg;*.ogv
concrete.upload.chunking.enabled true
concrete.upload.chunking.chunkSize null
concrete.export.csv.include_bom false
concrete.interface.panel.page_relations false
concrete.mail.method PHP_MAIL
concrete.mail.methods.smtp.server
concrete.mail.methods.smtp.port
concrete.mail.methods.smtp.username
concrete.mail.methods.smtp.password
concrete.mail.methods.smtp.encryption
concrete.mail.methods.smtp.messages_per_connection null
concrete.cache.enabled true
concrete.cache.lifetime 21600
concrete.cache.overrides true
concrete.cache.blocks true
concrete.cache.assets true
concrete.cache.theme_css false
concrete.cache.pages 0
concrete.cache.doctrine_dev_mode false
concrete.cache.full_page_lifetime default
concrete.cache.full_page_lifetime_value null
concrete.cache.full_contents_assets_hash false
concrete.cache.directory /home/kenyavet/public_html/application/files/cache
concrete.cache.directory_relative null
concrete.cache.page.directory /home/kenyavet/public_html/application/files/cache/pages
concrete.cache.page.adapter file
concrete.cache.levels.overrides.drivers.core_ephemeral.class \Stash\Driver\Ephemeral
concrete.cache.levels.overrides.drivers.core_filesystem.class Concrete\Core\Cache\Driver\FileSystemStashDriver
concrete.cache.levels.overrides.drivers.core_filesystem.options.path /home/kenyavet/public_html/application/files/cache/overrides
concrete.cache.levels.overrides.drivers.core_filesystem.options.dirPermissions 509
concrete.cache.levels.overrides.drivers.core_filesystem.options.filePermissions 436
concrete.cache.levels.overrides.drivers.redis.class Concrete\Core\Cache\Driver\RedisStashDriver
concrete.cache.levels.overrides.drivers.redis.options.prefix c5_overrides
concrete.cache.levels.overrides.drivers.redis.options.database 0
concrete.cache.levels.overrides.preferred_driver core_filesystem
concrete.cache.levels.expensive.drivers.core_ephemeral.class \Stash\Driver\Ephemeral
concrete.cache.levels.expensive.drivers.core_filesystem.class Concrete\Core\Cache\Driver\FileSystemStashDriver
concrete.cache.levels.expensive.drivers.core_filesystem.options.path /home/kenyavet/public_html/application/files/cache/expensive
concrete.cache.levels.expensive.drivers.core_filesystem.options.dirPermissions 509
concrete.cache.levels.expensive.drivers.core_filesystem.options.filePermissions 436
concrete.cache.levels.expensive.drivers.redis.class Concrete\Core\Cache\Driver\RedisStashDriver
concrete.cache.levels.expensive.drivers.redis.options.prefix c5_expensive
concrete.cache.levels.expensive.drivers.redis.options.database 0
concrete.cache.levels.expensive.preferred_driver core_filesystem
concrete.cache.levels.object.drivers.core_ephemeral.class \Stash\Driver\Ephemeral
concrete.cache.levels.object.drivers.redis.class Concrete\Core\Cache\Driver\RedisStashDriver
concrete.cache.levels.object.drivers.redis.options.prefix c5_object
concrete.cache.levels.object.drivers.redis.options.database 0
concrete.cache.levels.object.preferred_driver core_ephemeral
concrete.cache.clear.thumbnails false
concrete.design.enable_custom true
concrete.design.enable_layouts true
concrete.log.emails true
concrete.log.errors true
concrete.log.spam false
concrete.log.enable_dashboard_report true
concrete.log.configuration.mode simple
concrete.log.configuration.simple.core_logging_level NOTICE
concrete.log.configuration.simple.handler database
concrete.log.configuration.simple.file.file
concrete.jobs.enable_scheduling true
concrete.filesystem.temp_directory null
concrete.filesystem.permissions.file 436
concrete.filesystem.permissions.directory 509
concrete.email.enabled true
concrete.email.default.address [email protected]
concrete.email.default.name
concrete.email.form_block.address [email protected]
concrete.email.forgot_password.address null
concrete.email.forgot_password.name null
concrete.email.validate_registration.address null
concrete.email.validate_registration.name null
concrete.email.workflow_notification.address null
concrete.email.workflow_notification.name null
concrete.form.store_form_submissions auto
concrete.marketplace.enabled false
concrete.marketplace.request_timeout 30
concrete.marketplace.token null
concrete.marketplace.site_token null
concrete.marketplace.intelligent_search true
concrete.marketplace.log_requests false
concrete.external.intelligent_search_help true
concrete.external.news false
concrete.external.news_overlay false
concrete.misc.user_timezones false
concrete.misc.package_backup_directory /home/kenyavet/public_html/application/files/trash
concrete.misc.enable_progressive_page_reindex true
concrete.misc.mobile_theme_id 0
concrete.misc.sitemap_approve_immediately true
concrete.misc.enable_translate_locale_en_us false
concrete.misc.page_search_index_lifetime 259200
concrete.misc.enable_trash_can true
concrete.misc.app_version_display_in_header true
concrete.misc.default_jpeg_image_compression 80
concrete.misc.default_png_image_compression 9
concrete.misc.default_thumbnail_format auto
concrete.misc.inplace_image_operations_limit 4194304
concrete.misc.basic_thumbnailer_generation_strategy now
concrete.misc.help_overlay true
concrete.misc.require_version_comments false
concrete.misc.enable_move_blocktypes_across_sets false
concrete.misc.image_editor_cors_policy.enable_cross_origin false
concrete.misc.image_editor_cors_policy.anonymous_request true
concrete.misc.generator_tag_display_in_header true
concrete.misc.login_redirect DESKTOP
concrete.misc.access_entity_updated 1535160201
concrete.misc.do_page_reindex_check false
concrete.misc.latest_version 8.4.4
concrete.theme.compress_preprocessor_output true
concrete.theme.generate_less_sourcemap false
concrete.updates.enable_auto_update_packages false
concrete.updates.enable_permissions_protection true
concrete.updates.check_threshold 172800
concrete.updates.services.get_available_updates http://www.concrete5.org/tools/update_core...
concrete.updates.services.inspect_update http://www.concrete5.org/tools/inspect_update...
concrete.paths.trash /!trash
concrete.paths.drafts /!drafts
concrete.icons.page_template.width 120
concrete.icons.page_template.height 90
concrete.icons.theme_thumbnail.width 120
concrete.icons.theme_thumbnail.height 90
concrete.icons.file_manager_listing.handle file_manager_listing
concrete.icons.file_manager_listing.width 60
concrete.icons.file_manager_listing.height 60
concrete.icons.file_manager_detail.handle file_manager_detail
concrete.icons.file_manager_detail.width 400
concrete.icons.file_manager_detail.height 400
concrete.icons.user_avatar.width 80
concrete.icons.user_avatar.height 80
concrete.icons.user_avatar.default /updates/concrete5-8.5.0/concrete/images/avatar_none.png
concrete.file_manager.images.use_exif_data_to_rotate_images false
concrete.file_manager.images.manipulation_library gd
concrete.file_manager.images.create_high_dpi_thumbnails true
concrete.file_manager.images.preview_image_size small
concrete.file_manager.images.preview_image_popover true
concrete.file_manager.images.svg_sanitization.enabled true
concrete.file_manager.images.svg_sanitization.allowed_tags
concrete.file_manager.images.svg_sanitization.allowed_attributes
concrete.file_manager.results 10
concrete.file_manager.restrict_max_width 1440
concrete.file_manager.restrict_max_height 1080
concrete.search_users.results 10
concrete.sitemap_xml.file sitemap.xml
concrete.sitemap_xml.frequency weekly
concrete.sitemap_xml.priority 0.5
concrete.accessibility.toolbar_titles false
concrete.accessibility.toolbar_large_font false
concrete.accessibility.display_help_system true
concrete.accessibility.toolbar_tooltips true
concrete.i18n.choose_language_login false
concrete.i18n.auto_install_package_languages true
concrete.i18n.community_translation.entry_point http://translate.concrete5.org/api...
concrete.i18n.community_translation.api_token
concrete.i18n.community_translation.progress_limit 60
concrete.i18n.community_translation.cache_lifetime 3600
concrete.i18n.community_translation.package_url https://translate.concrete5.org/translate/package...
concrete.urls.concrete5 http://www.concrete5.org
concrete.urls.concrete5_secure http://www.concrete5.org
concrete.urls.newsflow http://newsflow.concrete5.org
concrete.urls.background_feed //backgroundimages.concrete5.org/wallpaper
concrete.urls.privacy_policy //www.concrete5.org/legal/privacy-policy
concrete.urls.background_feed_secure https://backgroundimages.concrete5.org/wallpaper...
concrete.urls.background_info http://backgroundimages.concrete5.org/get_image_data.php...
concrete.urls.videos https://www.youtube.com/user/concrete5cms/videos...
concrete.urls.help.developer http://documentation.concrete5.org/developers...
concrete.urls.help.user http://documentation.concrete5.org/editors...
concrete.urls.help.forum http://www.concrete5.org/community/forums...
concrete.urls.help.slack https://www.concrete5.org/slack...
concrete.urls.paths.menu_help_service /tools/get_remote_help_list/
concrete.urls.paths.site_page /private/sites
concrete.urls.paths.newsflow_slot_content /tools/slot_content/
concrete.urls.paths.marketplace.connect /marketplace/connect
concrete.urls.paths.marketplace.connect_success /marketplace/connect/-/connected
concrete.urls.paths.marketplace.connect_validate /marketplace/connect/-/validate
concrete.urls.paths.marketplace.connect_new_token /marketplace/connect/-/generate_token
concrete.urls.paths.marketplace.checkout /cart/-/add
concrete.urls.paths.marketplace.purchases /marketplace/connect/-/get_available_licenses
concrete.urls.paths.marketplace.item_information /marketplace/connect/-/get_item_information
concrete.urls.paths.marketplace.item_free_license /marketplace/connect/-/enable_free_license
concrete.urls.paths.marketplace.remote_item_list /marketplace/
concrete.white_label.logo false
concrete.white_label.name false
concrete.white_label.background_image none
concrete.session.name CONCRETE5
concrete.session.handler file
concrete.session.redis.database 1
concrete.session.save_path null
concrete.session.max_lifetime 7200
concrete.session.cookie.cookie_path false
concrete.session.cookie.cookie_lifetime 0
concrete.session.cookie.cookie_domain false
concrete.session.cookie.cookie_secure false
concrete.session.cookie.cookie_httponly true
concrete.user.registration.enabled false
concrete.user.registration.type disabled
concrete.user.registration.captcha true
concrete.user.registration.email_registration false
concrete.user.registration.display_username_field true
concrete.user.registration.display_confirm_password_field true
concrete.user.registration.validate_email false
concrete.user.registration.approval false
concrete.user.registration.notification false
concrete.user.group.badge.default_point_value 50
concrete.user.username.maximum 64
concrete.user.username.minimum 3
concrete.user.username.allowed_characters.boundary A-Za-z0-9
concrete.user.username.allowed_characters.middle A-Za-z0-9_\.
concrete.user.username.allowed_characters.requirement_string A username may only contain letters, numbers, dots (not at the beginning/end), and underscores (not at the beginning/end).
concrete.user.username.allowed_characters.error_string A username may only contain letters, numbers, dots (not at the beginning/end), and underscores (not at the beginning/end).
concrete.user.password.maximum 128
concrete.user.password.minimum 5
concrete.user.password.required_special_characters 0
concrete.user.password.required_lower_case 0
concrete.user.password.required_upper_case 0
concrete.user.password.reuse 0
concrete.user.password.hash_portable false
concrete.user.password.hash_cost_log2 12
concrete.user.password.legacy_salt
concrete.user.email.test_mx_record false
concrete.user.email.strict true
concrete.user.private_messages.throttle_max 20
concrete.user.private_messages.throttle_max_timespan 15
concrete.user.deactivation.enable_login_threshold_deactivation false
concrete.user.deactivation.login.threshold 120
concrete.user.deactivation.authentication_failure.enabled false
concrete.user.deactivation.authentication_failure.amount 5
concrete.user.deactivation.authentication_failure.duration 300
concrete.user.deactivation.message This user is inactive. Please contact us regarding this account.
concrete.spam.whitelist_group 0
concrete.spam.notify_email
concrete.calendar.colors.text #ffffff
concrete.calendar.colors.background #3A87AD
concrete.security.session.invalidate_on_user_agent_mismatch true
concrete.security.session.invalidate_on_ip_mismatch true
concrete.security.session.invalidate_inactive_users.enabled false
concrete.security.session.invalidate_inactive_users.time 300
concrete.security.ban.ip.enabled true
concrete.security.ban.ip.attempts 5
concrete.security.ban.ip.time 300
concrete.security.ban.ip.length 10
concrete.security.misc.x_frame_options SAMEORIGIN
concrete.permissions.forward_to_login true
concrete.permissions.model advanced
concrete.seo.exclude_words a, an, as, at, before, but, by, for, from, is, in, into, like, of, off, on, onto, per, since, than, the, this, that, to, up, via, with
concrete.seo.url_rewriting true
concrete.seo.url_rewriting_all false
concrete.seo.redirect_to_canonical_url 0
concrete.seo.canonical_url null
concrete.seo.canonical_url_alternative null
concrete.seo.trailing_slash false
concrete.seo.title_format %2$s | %1$s
concrete.seo.title_segment_separator |
concrete.seo.page_path_separator -
concrete.seo.group_name_separator /
concrete.seo.segment_max_length 128
concrete.seo.paging_string ccm_paging_p
concrete.statistics.track_downloads true
concrete.limits.sitemap_pages 100
concrete.limits.delete_pages 100
concrete.limits.copy_pages 10
concrete.limits.page_search_index_batch 200
concrete.limits.job_queue_batch 10
concrete.limits.style_customizer.size_min -50
concrete.limits.style_customizer.size_max 200
concrete.page.search.always_reindex false
concrete.composer.idle_timeout 1
concrete.api.enabled false
concrete.api.grant_types.client_credentials true
concrete.api.grant_types.authorization_code true
concrete.api.grant_types.password_credentials false
concrete.mutex.semaphore.priority 100
concrete.mutex.semaphore.class Concrete\Core\System\Mutex\SemaphoreMutex
concrete.mutex.file_lock.priority 50
concrete.mutex.file_lock.class Concrete\Core\System\Mutex\FileLockMutex
concrete.version_db_installed 20180717000000
concrete.maintenance.version_job_page_num 0
GET Data empty
POST Data empty
Files empty
Cookies
session_locale en
CONCRETE5 4bc1c15533cdb38596b07fae9be8fc70
CONCRETE5_LOGIN 1
Session
_sf2_attributes Array ( [uID] => 1 [uName] => admin [uBlockTypesSet] => [uLastOnline] => 1553287715 [uTimezone] => [uDefaultLanguage] => [uLastPasswordChange] => 2018-08-24 20:36:12 [CLIENT_REMOTE_ADDR] => 197.232.61.200 [CLIENT_HTTP_USER_AGENT] => Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:67.0) Gecko/20100101 Firefox/67.0 [uOnlineCheck] => 1553287761 [uGroups] => Array ( [2] => 2 [1] => 1 ) )
_symfony_flashes Array ( )
_sf2_meta Array ( [u] => 1553287810 [c] => 1553287687 [l] => 0 )
Server/Request Data
PATH /usr/local/bin:/usr/bin:/bin
TZ Africa/Nairobi
REDIRECT_HANDLER application/x-httpd-ea-php72
REDIRECT_STATUS 504
UNIQUE_ID [email protected]
SCRIPT_URL /ccm/system/upgrade/submit
SCRIPT_URI https://www.domainname.org/ccm/system/upgrade/submit...
HTTPS on
SSL_TLS_SNI http://www.domainname.org
HTTP_HOST http://www.domainname.org
HTTP_USER_AGENT Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:67.0) Gecko/20100101 Firefox/67.0
HTTP_ACCEPT text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
HTTP_ACCEPT_LANGUAGE en-US,en;q=0.5
HTTP_ACCEPT_ENCODING gzip, deflate, br
HTTP_DNT 1
HTTP_CONNECTION keep-alive
HTTP_REFERER https://www.domainname.org/index.php/dashboard/system/update/update...
HTTP_COOKIE session_locale=en; CONCRETE5=4bc1c15533cdb38596b07fae9be8fc70; CONCRETE5_LOGIN=1
HTTP_UPGRADE_INSECURE_REQUESTS 1
HTTP_X_HTTPS 1
SERVER_SIGNATURE
SERVER_SOFTWARE Apache
SERVER_NAME http://www.domainname.org
SERVER_ADDR 94.130.162.95
SERVER_PORT 443
REMOTE_ADDR 197.232.61.200
DOCUMENT_ROOT /home/kenyavet/public_html
REQUEST_SCHEME https
CONTEXT_PREFIX /cgi-sys
CONTEXT_DOCUMENT_ROOT /usr/local/cpanel/cgi-sys/
SERVER_ADMIN [email protected]
SCRIPT_FILENAME /home/kenyavet/public_html/index.php
REMOTE_PORT 50587
REDIRECT_URL /index.php
GATEWAY_INTERFACE CGI/1.1
SERVER_PROTOCOL HTTP/1.1
REQUEST_METHOD GET
QUERY_STRING
REQUEST_URI /ccm/system/upgrade/submit?ccm_token=1553287761%3Ab7b1e699018a6f51ddce4d5db6551706
SCRIPT_NAME /index.php
ORIG_SCRIPT_FILENAME /usr/local/cpanel/cgi-sys/ea-php72
ORIG_PATH_INFO /index.php
ORIG_PATH_TRANSLATED /home/kenyavet/public_html/index.php
ORIG_SCRIPT_NAME /cgi-sys/ea-php72
PHP_SELF /index.php
REQUEST_TIME_FLOAT 1553287808.7006
REQUEST_TIME 1553287808
argv Array ( )
argc 0
Environment Variables empty
Registered Handlers
0. Concrete\Core\Error\Handler\ErrorHandler
1. Concrete\Core\Error\Handler\JsonErrorHandler

Browser User-Agent String

Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:66.0) Gecko/20100101 Firefox/66.0