mirror of
https://github.com/SuiteCRM/SuiteCRM.git
synced 2026-03-02 19:16:58 -05:00
7.12.x to 7.13.4 robo command line upgrade breaks due to directory naming issue #5050
Labels
No labels
Area: API
Area: Campaigns
Area: Cases
Area: Clean Up
Area: Clean Up: Performance
Area: Dashlets
Area: Databases
Area: Developer Tools
Area: Elasticsearch
Area: Elasticsearch
Area: Emails
Area: Emails:Campaigns
Area: Emails:Cases
Area: Emails:Compose
Area: Emails:Config
Area: Emails:Templates
Area: Environment
Area: Installation
Area: Language
Area: Mobile
Area: Module
Area: PDFs
Area: PHP8
Area: Reports
Area: Studio
Area: Styling
Area: Upgrading
Area: Workflow
Area:Activity Stream
Area:Calls
Area:Import
Area:Projects
Area:Search
Area:Surveys
Area:Themes
Area:Users
Branch:Hotfix
Good First Issue
Hacktoberfest
Help Wanted
PR:Community Contribution
PR:Type:Enhancement
Priority:Critical
Priority:Important
Priority:Moderate
Severity: Major
Severity: Minor
Severity: Moderate
Status: Requires Code Review
Status: Requires Updates
Status: Stale
Status: Team Investigating
Status:Assessed
Status:Fix Proposed
Status:Needs Assessed
Status:Requires Automated Tests
Type: Bug
Type:Deprecated
Type:Discussion
Type:Duplicate
Type:Invalid
Type:Question
Type:Suggestion
Type:Suggestion
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/SuiteCRM-SuiteCRM#5050
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @Hiranyaloka on GitHub (Jul 31, 2023).
My upgrade command
root@suitecrm:/var/www/html/SuiteCRM-7.4.3#
./vendor/bin/robo upgrade:suite suitecrm-upgrade-7-12-x-to-7-13-4.zip upgrade.log . adminExpected Behavour
I expect the script to expand the zipped upgrade file, and then know to upgrade from the expanded upgrade directory.
Actual Behavior
The script writes the expanded zip to a temp directory,:
$CRM-HOME/cache/upgrades/temp/SuiteCRM-Upgrade-7.12.x-to-7.13.4
But tries to read from a slightly different directory (similar name as zip file). Note case and hyphens:
$CRM-HOME/cache/upgrades/temp/suitecrm-upgrade-7-12-x-to-7-13-4
It seems to be a matter of the zip file being named differently than the expanded directory name. The upgrade documentation is clear to use the name of the zipped file in the robo command, not the name of the resulting expanded directory.
Output of the initial (failed) upgrade attempt:
Temporary Fix
To fix, I created a soft link to the actual directory, and re-ran the script:
This time it worked (finished in 1 minute). BTW, the 7.13.4 release seems very solid so far.
Your Environment
Ubuntu 20.04.6
@SuiteBot commented on GitHub (Jul 31, 2023):
This issue has been mentioned on SuiteCRM. There might be relevant details there:
https://community.suitecrm.com/t/7-12-x-to-7-13-4-robo-command-line-upgrade-issue/89845/3