Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Upgrade to 2021.4 fails #2

Closed
Akaizoku opened this issue Nov 23, 2021 · 1 comment
Closed

Upgrade to 2021.4 fails #2

Akaizoku opened this issue Nov 23, 2021 · 1 comment

Comments

@Akaizoku
Copy link
Owner

Issue

Upgrading from a previous version to 2021.4 fails.

Description

When upgrading from 2021.3 or an older version to 2021.4, the upgrade script throws an error after the backup of the database while attempting to restart the service.

yyyy-MM-dd hh:mm:ss	CHECK	Starting Alteryx Server upgrade to 2021.4.1.06380
yyyy-MM-dd hh:mm:ss	INFO	Retrieving current version
yyyy-MM-dd hh:mm:ss	CHECK	Start full backup of Alteryx Server
yyyy-MM-dd hh:mm:ss	INFO	Check Alteryx Service status
yyyy-MM-dd hh:mm:ss	INFO	Stopping Alteryx Service                      
yyyy-MM-dd hh:mm:ss	CHECK	Alteryx Service successfully stopped
yyyy-MM-dd hh:mm:ss	INFO	Create MongoDB database backup
yyyy-MM-dd hh:mm:ss	INFO	Backup configuration files
yyyy-MM-dd hh:mm:ss	WARN	SystemAlias configuration file could not be found
yyyy-MM-dd hh:mm:ss	WARN	SystemConnections configuration file could not be found
yyyy-MM-dd hh:mm:ss	INFO	Backup controller token
yyyy-MM-dd hh:mm:ss	INFO	Compress backup files
yyyy-MM-dd hh:mm:ss	INFO	Remove staging backup folder
yyyy-MM-dd hh:mm:ss	INFO	Starting Alteryx Service                    
yyyy-MM-dd hh:mm:ss	ERROR	Alteryx Service could not be started

Cause

This is due to two factors:

  1. The AlteryxService.exe utility exit code when starting the Alteryx Service has changed between version 2021.3 and 2021.4.

    Version Success exit code
    2021.3 2
    2021.4 0
  2. The backup triggered during the upgrade references the target version instead of the old one, which fails to pass the version check built to prevent the issue described above.

Akaizoku added a commit that referenced this issue Nov 23, 2021
@Akaizoku
Copy link
Owner Author

Fixed by pull request #3.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Done
Development

No branches or pull requests

1 participant