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

Fernando Carreiro  
@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
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

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

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.
Dan_W93  
Will there be an update to fix this issue soon? 
leandrot0sh1  

Same issue here! :( 


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

Péter Kovács  



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


Morgan Olufsen  
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.

Péter Kovács  
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!