[SERVER] Latest Mono 5.0.0 will break the server. Read for Fix


#22

For Debian 8, there is no old package of Mono before 5.0. You have to install Mono manualy (./configure, make, make install).

You can download the package from the repository directly : https://fossies.org/linux/misc/mono-sources/mono/mono-4.8.1.0.tar.bz2/

Before the next step bellow, uninstall the Mono 5.0 with the apt-get remove and apt-get purge commands.

  1. Upload the archived file in /src/
  2. Use tar command to un-archive the archive uploaded (tar -xvf mono-4.8.1.0.tar.bz2)
  3. Install cmake via (apt-get install cmake)
  4. Go to the un-archived folder /src/mono4.8/ with cd command.
  5. .configure
  6. make
  7. make install

Then don’t forget to apt-get update and apt-get upgrade.

Start your server and it works :slight_smile:


#23

Hello,

I try to follow your steps but nothing works …
Would it be possible to have more details on the commands to be made?

Thank you !


#24

I updated my last post with more details.
Where are you stuck ?


#25

I’m stuck at the first step …

I do not know how to download 4.8.1 on my dedicated and or put it …

I’m new to linux ><


#26

You can setup a FTP service or use WinSCP to connect directly on your server with admin account.
But if you’re a beginner on Linux it 'll not be easy ^^


#27

You could download it by using wget and then the link https://download.mono-project.com/sources/mono/mono-4.8.1.0.tar.bz2


#28

Thanks, really what Rsts said was able to solve my problem.


#29

If anyone is interested …

Ubuntu 17.04 Zesty Zapus with latest Mono from repo works fine with FiveM.

Just tested it on new server

Binary package “mono-complete” in ubuntu zesty

Ubuntu 17.04


#31

== MONO 4.6.0 ==

apt-get update
apt-get install sudo
apt-get install build-essentials

sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 3FA7E0328081BFF6A14DA29AA6A19B38D3D831EF
echo “deb http://download.mono-project.com/repo/debian jessie main” | sudo tee /etc/apt/sources.list.d/mono-official.list
sudo apt-get update

apt-get install mono-complete

cd

wget http://download.mono-project.com/sources/mono/mono-4.6.0.125.tar.bz2 -O mono-4.6.0.125.tar.bz2
tar xvf mono-4.6.0.125.tar.bz2

ls
cd mono-4.6.0
./configure
make
make install


#32

guys this works fallow the steps and u will be ok it worked for me and its simple to fallow


#33

Hello,
a little information about the mono release.
v.4.8.1 is only to fix macOS security.
If you use other plateform, prefer v.4.8.0.524.
That’s what I red on Mono Releases official site

On https://download.mono-project.com/sources/mono/ you can find all releases in .tar.bz2.

Thanks to int0x and the actors of this topic.