Unsolved
5 Posts
0
3440
February 7th, 2022 10:00
Upgrade to 3.6 failed
Hi,
Our upgrade to 3.5 had been failing and were advised to try to go to 3.6 once it came out. I tried upgrading to 3.6 in our QA environment and it resulted with this:
2022-2-7 T09:28:51::Upgrade::4190::In function: RevokeRoleToMongoUser
2022-2-7 T09:28:51::Upgrade::4213::mongo.exe -u stratus -p***** --authenticationDatabase admin localhost:27017/admin --eval "db.revokeRolesFromUser( 'stratus' , [{ role: 'backup', db: 'admin' }] )" >C:\Users\d6755sa\AppData\Local\Temp\RevokeRole.log 2>&1
2022-2-7 T09:28:52::Upgrade::4220::RevokeRole script execution returned: 0
2022-2-7 T09:28:52::Upgrade::5668::In function MySQLTableCompatibalitycheck
2022-2-7 T09:28:52::Upgrade::5670::Starting MariaDB service
2022-2-7 T09:29:03::Upgrade::5685::The operation completed successfully.
2022-2-7 T09:29:08::Upgrade::5691::MariaDB status: The system cannot open the file.
2022-2-7 T09:29:08::Upgrade::5696:: /c mysql_upgrade -ustratus -p******* -P3306
2022-2-7 T09:29:11::Upgrade::5700::Failed to upgrade mysql Incorrect function.
tscotts
1 Message
0
February 10th, 2022 08:00
I have been trying to figure out this same thing. Same exact error here:
2022-2-10 T11:05:46::Upgrade::5691::MariaDB status: The system cannot open the file.
2022-2-10 T11:05:46::Upgrade::5696:: /c mysql_upgrade -ustratus -p******* -P3306
2022-2-10 T11:05:47::Upgrade::5700::Failed to upgrade mysql Incorrect function.
smboberHP
5 Posts
1
February 14th, 2022 06:00
Hi,
Since I had a good backup and Dell really wasn't being as responsive as I would have liked them to be, I reverted, disabled all security products and tried again. This time, I succeeded.
Thanks,
smboberHP
bjohn-firstconsulting.net
10 Posts
0
February 18th, 2022 16:00
Same problem. Dell support is useless.
You think it's a security product problem? I only have Symantec AV and Redcloak installed.
Now, I can't even access the web portal (Even after reverting back) Strange.
AirDellUser23
4 Posts
0
February 19th, 2022 08:00
might be this command:
2022-2-10 T11:05:46::Upgrade::5696:: /c mysql_upgrade -ustratus -p******* -P3306
notice that the -u is attached to stratus username?
JoshG678
4 Posts
0
February 21st, 2022 09:00
Its common for mysql commands to have the username and password without any space between them after the switch.
DELL-Scott H
Moderator
•
879 Posts
1
February 24th, 2022 06:00
If you are experiencing the upgrade fails with an error equal to the error by the original thread please contact support and open a case. There is a workaround that has proven successful with other customers that will be addressed in a future build available for validation.
If you get pushback from support, or they do not seem to be aware of the workaround message me your case#.
#IWork4Dell.
GregEsposito
1 Rookie
•
5 Posts
1
February 24th, 2022 11:00
I am able to comment that Dell does indeed have a document on how to resolve this exact issue.
Once I got the document, the steps worked for me.
You want to know what would have been better Dell? Just posting the data here. Here's the nonsense I had to deal with to get the document.
1) Call normal support, as we use the free version of Dell WMS. Support is useless. Won't start the conversation without a Service Tag. Give them a service tag.
2) Oops that tag belongs to ProSupport! You need to call them. No, they can't transfer you.
3) ProSupport wants a Service Tag. Oh, did you say this software was installed on a server? Then you need Enterprise Support.
4) Enterprise support wants a Service Tag. What if I happened to choose to not run Dell WMS on Dell Hardware? I would have been unable to proceed.
5) 2 hours later: Here's the process document.
6) Me: 4 hours later, having blocked all GPOs, I have finally upgraded from 3.3.1 to 3.6 (oh, we don't need to talk about how ANY of the 3.5.x upgrades never worked).
This has burned a full workday for me, not including the days back when 3.5.x came out. I'm not a fan.
smboberHP
5 Posts
4
February 24th, 2022 12:00
I finally got PRD from 3.3.1 to 3.6 as well. Before I began, I had to make 100% sure that there wasn't anything security related on the box. Then, I had to go through this process to manually back up and upgrade the MariaDB prior to doing the 3.6 upgrade. The instructions left a lot to be desired. I added some of my notes. In a couple of places. Maybe they will help someone.
Dell Wyse Reference Documentation
Dell Wyse Management Suite upgrading MariaDB Manually
February 2022
Revision 1.0
MariaDB Manual upgrade steps from 3.3.1 to 3.6:
Reference for Default values:
TARGETDIR = “C:\Program Files\DELL\WMS”
Maria port : 3306
Step 1 : Backup
DB Backup before starting the upgrade:
> TARGETDIR\MariaDB\bin\mysqldump.exe --routines -u -p -P -hlocalhost > "TARGETDIR\MariaDB\bin\stratus.sql"
The above info his horrible. There is a space missing after the -h and if you fill in the info with what you expect that you would put in there, then it will never work.
Here is what worked for me:
mysqldump.exe --routines -u PutYourDBUsernameHere -p PutTheNameOfYourDBHere -P 3306 -h localhost > "C:\Program Files\DELL\WMS\MariaDB\bin\stratus.sql"
Step 2: Upgrade MariaDB
MySQL Upgrade steps:
>TARGETDIR\MariaDB\bin\ mysql_upgrade -u -p -P --debug-check --debug-info
Again, the above info is bad. Here is what worked:
mysql_upgrade.exe -u PutYourDBUsernameHere -p PutTheNameOfYourDBHere -P 3306 --debug-check --debug-info
Step 3: Start All Services
Launch application and check for sanity.
Step 4: Upgrade to WMS 3.6
Optional Step
Rollback Steps for MySQL upgrade:
Step1: Drop DB cmd: >TARGETDIR\MariDB\bin\mysql.exe --verbose -u -p -P -hlocalhost -e "DROP DATABASE "
Step2: CreateDB cmd: >TARGETDIR\MariDB\bin\mysql.exe --verbose -u -p -P -hlocalhost -e "CREATE DATABASE DEFAULT CHARACTER SET utf8 DEFAULT COLLATE utf8_unicode_ci”
Step3: Restore cmd: >TARGETDIR\MariDB\bin\mysql.exe --verbose -u -p -P -hlocalhost < " TARGETDIR \MariaDB\bin\stratus.sql"
GregEsposito
1 Rookie
•
5 Posts
2
February 25th, 2022 07:00
Thanks for posting the document. I was debating doing it myself but I wanted to "cool down" after that support experience.
I have two things that may be helpful relating to the MySQL commands. I ran them as noted in the doc without issue, but here's what I had done:
mysqldump.exe --routines -u -p -P -hlocalhost > "TARGETDIR\MariaDB\bin\stratus.sql"
1) Apparently the MysqlDBuser is "stratus". That makes sense given the filename they want you to use and reading the logs.
2) I don't recall or remember my initial Mongo/MySQL passwords. I reset them within the WMS frontend while it was still active. DB port is 3306.
I also didn't have any issues doing -u, -p, -P, -h with no space after the toggle. I thought that was odd, but read elsewhere it is okay to do that.
Thanks again for the post. I can't wait to be here again slamming my head against the wall on the next CVE update for WMS...
Techy1234
1 Message
1
March 1st, 2022 10:00
Thank you, I worked with dell since this came out and got nowhere. This is what fixed it.
jmauai
3 Posts
0
March 2nd, 2022 12:00
Lucky.. I tried this but the 3.6 upgrade still fails, even though the manual MariaDB upgrade was successful.
AirDellUser23
4 Posts
1
April 29th, 2022 07:00
has anyone tried to do a right-click and "run as administrator" on the installer? that did the trick on our upgrade.
NickyM
1 Rookie
•
19 Posts
0
August 29th, 2023 11:20
@AirDellUser23 Hi, from which version did you upgrade and to which version?
Thank you
NickyM
1 Rookie
•
19 Posts
0
September 13th, 2023 09:28
@AirDellUser23 Hi, I did that and it went smooth. I even did the next one 3.8 and will try 4.1.1 soon.
Thanks