Discussion of article "MetaTrader 5 on Linux" - page 8

 
@Giacomino.Raccuia #: Thanks a lot! Now works... but the MT5 try to upgrade to last version... at the moment, I click on LATER to avoid the update... but next restart (only when I restart the PC) MT5 will apply the update Is there a simple mode to disable the auto update and make it manually? Without set a rule in the firewall?

Forum on trading, automated trading systems and testing trading strategies

Downgrading MT4

Fernando Carreiro, 2021.04.17 12:40

There is only one way that has always worked (and still works) for all cases, both for MT4 and MT5!

That is to remove all access privileges to the directories where the updates are stored, be that for "Users", "Administrators" and "SYSTEM". Just don't touch the Ownership of the directories so that you can always go back to changing the permissions later.

Currently the primary directory is "%APPDATA%\MetaQuotes\WebInstall" (but it may change in the future).

To block updates to the tester agents, you can also protect the directory: "%APPDATA%\MetaQuotes\Tester\LiveUpdate"

NB! Please note, that this is a "Power User" operation, that requires you to know how to set Permissions and Security Settings for directories on your Windows operating system!

EDIT: See also: https://www.mql5.com/en/forum/285411/page2#comment_9312370
 

Hi, 

I am facing the same issue, I could do with some help. 

Ubuntu: 22.04 

Wine: 7.01

I done an update and MT5 kills itself, I am not sure what version I updated from or too as I didnt check.

I assume it is from build 3540 to 3550.

I could do with a hand on how to copy the previous build files over if possible, thanks. 

Dan

 

Hi,

I have tried to install previous versions of MT5 as suggested (preventing automatic updates), but they keep crashing. The fist installation worked for few minutes, but now they crash immediately.

I get this error: wine: Call from 000000006690A705 to unimplemented function win32u.dll.NtUserDrawIconEx, aborting

I tried with all the executable in MT5 3521-3531 found here [MetaTraders Archive] - Google Drive, and also other versions.

wine-7.0.1

LUNUX

DISTRIB_ID=Ubuntu DISTRIB_RELEASE=21.04 DISTRIB_CODENAME=hirsute DISTRIB_DESCRIPTION="Ubuntu 21.04" NAME="Ubuntu" VERSION="21.04 (Hirsute Hippo)" ID=ubuntu ID_LIKE=debian PRETTY_NAME="Ubuntu 21.04" VERSION_ID="21.04" HOME_URL="https://www.ubuntu.com/" SUPPORT_URL="https://help.ubuntu.com/" BUG_REPORT_URL="https://bugs.launchpad.net/ubuntu/" PRIVACY_POLICY_URL="https://www.ubuntu.com/legal/terms-and-policies/privacy-policy" VERSION_CODENAME=hirsute UBUNTU_CODENAME=hirsute 

What executabl/wine/linux version are you using?


Thanks

Lt

Enterprise Open Source and Linux | Ubuntu
Enterprise Open Source and Linux | Ubuntu
  • ubuntu.com
Sustainable open source at the lowest cost, everywhere. Rethink what's possible with Linux and open source. Companies engage Canonical to drive down open source operating costs. Automate everything: multi-cloud operations, bare metal provisioning, edge clusters and IoT.
 
Latest build breaks and mt5 shortly closes itself.
My solution is to use winehq-devel package whose version is 8.0-rc1 as seen on Ubuntu 20.04.

You might want to back up your wine prefix directory in case you have important settings there, and for safety.
 
Will there be an update to fix this issue soon? 
 

Same issue here! :( 


Could our friend Wasin Thonkaew disclose how you made it work by using wine-devel package ? 

 



Dan_W93 #:

Hi, 

I am facing the same issue, I could do with some help. 

Ubuntu: 22.04 

Wine: 7.01

I done an update and MT5 kills itself, I am not sure what version I updated from or too as I didnt check.

I assume it is from build 3540 to 3550.

I could do with a hand on how to copy the previous build files over if possible, thanks. 

Dan


same here... Ubuntu beaver, wine 7.01

what I did is deleting all files from folder: MQL5/Profiles/Charts/Default

then, Mt5 not crashing immediately after start, also connects to my account, but collapses again when I try to New Chart





same here... Ubuntu beaver, wine 7.01

what I did is deleting all files from folder: MQL5/Profiles/Charts/Default

then, Mt5 not crashing immediately after start, also connects to my account, but collapses again when I try to New Chart


 
Hey guys, try these instructions (worked fine for me): https://www.mql5.com/en/blogs/post/751281
MT5 build 3550 broken launching on Linux through wine. How to solve?
MT5 build 3550 broken launching on Linux through wine. How to solve?
  • www.mql5.com
MT5 latest build as of 3550 is broken when launch on Linux with wine. It will launch then close itself shortly after. The solution is to use winehq-devel (may be winehq-staging works but I didn't test
 
loosertrader #:

Hi,

I have tried to install previous versions of MT5 as suggested (preventing automatic updates), but they keep crashing. The fist installation worked for few minutes, but now they crash immediately.

I get this error: wine: Call from 000000006690A705 to unimplemented function win32u.dll.NtUserDrawIconEx, aborting

I tried with all the executable in MT5 3521-3531 found here [MetaTraders Archive] - Google Drive, and also other versions.

wine-7.0.1

LUNUX

DISTRIB_ID=Ubuntu DISTRIB_RELEASE=21.04 DISTRIB_CODENAME=hirsute DISTRIB_DESCRIPTION="Ubuntu 21.04" NAME="Ubuntu" VERSION="21.04 (Hirsute Hippo)" ID=ubuntu ID_LIKE=debian PRETTY_NAME="Ubuntu 21.04" VERSION_ID="21.04" HOME_URL="https://www.ubuntu.com/" SUPPORT_URL="https://help.ubuntu.com/" BUG_REPORT_URL="https://bugs.launchpad.net/ubuntu/" PRIVACY_POLICY_URL="https://www.ubuntu.com/legal/terms-and-policies/privacy-policy" VERSION_CODENAME=hirsute UBUNTU_CODENAME=hirsute 

What executabl/wine/linux version are you using?


Thanks

Lt

That line:

Call from 000000006690A705 to unimplemented function win32u.dll.NtUserDrawIconEx

It makes me think that you are using the latest build. Try the 3540.

To take into account when copying the exe's from previous versions:

The exe's I found on the drive had names with different capitalizations. For example, my installation has:

metaeditor64.exe

While the mentioned drive files have:

MetaEditor64.exe

If you overwrite without deleting, the launcher icon may be loading an older version.

In other words, make sure you don't have a 'metaeditor64.exe' and a 'MetaEditor64.exe' in the same directory.

 
Fernando Carreiro #:

Try to restore it from your backups. If you don't have backups, then copy the files from a previous build over the current ones to see if the issue is fixed.

Thanks to Andrey Khatimlianskii, you can download previous builds here — https://drive.google.com/drive/folders/1YSUVehcElTpLxCLPMsdlDfFu4Y61yrcc

Thanks, its great!

Reason: