# Tryton 4.8 install on RedHat 7 - Some icons are not rendered on web interface

**URL:** <https://discuss.tryton.org/t/tryton-4-8-install-on-redhat-7-some-icons-are-not-rendered-on-web-interface/1555>\
**Category:** System Administrator\
**Created:** [July 11, 2019, 8:04pm UTC](https://discuss.tryton.org/t/tryton-4-8-install-on-redhat-7-some-icons-are-not-rendered-on-web-interface/1555 "2019-07-11T20:04:35Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![Karl0range](https://discuss-cdn.tryton.org/user_avatar/discuss.tryton.org/karl0range/32/449_2.png) [@Karl0range](https://discuss.tryton.org/u/Karl0range)\
**Post date:** [July 11, 2019, 8:04pm UTC](https://discuss.tryton.org/t/tryton-4-8-install-on-redhat-7-some-icons-are-not-rendered-on-web-interface/1555/1 "2019-07-11T20:04:35Z")

</div>

Hello all,  
We recently installed a test instance of Tryton 4.8. After finally pulling it off and making it run, this is what our web interface looks like:

 ![50](https://discuss-cdn.tryton.org/uploads/default/original/1X/096fece61ef83a9536939d7cb2700583dd3cc991.png)

We see the .svg files for tryton-save and tryton-preferences-system within the “root” directory, such files have the appropriate permissions for our tryton user to read them, however for reasons beyond our knowledge they are not being presented.

We would appreciate your help in troubleshooting this matter. We did not go to the latest+greatest because our system has RHEL 7, which comes with Python 2.7.

I would also like to add that we are able to see other icons without issues, like “View Search”, for that we see: src=“data:image/svg+xml;base64,…” basically a blob.

Thank you.

---

<div class="post-metadata">

**Author:** ![edbo](https://discuss-cdn.tryton.org/letter_avatar_proxy/v4/letter/e/f14d63/32.png) [@edbo](https://discuss.tryton.org/u/edbo)\
**Post date:** [July 11, 2019, 9:09pm UTC](https://discuss.tryton.org/t/tryton-4-8-install-on-redhat-7-some-icons-are-not-rendered-on-web-interface/1555/2 "2019-07-11T21:09:43Z")

</div>

You can install the EPEL repositories. In this repositories you can find python3.6. You can then create a Python virtual environment and then pip install everything. Eventually install some extra python36-\* rpms so you don’t need to install a complete build environment to build several python libraries.

I did this on both RHEL7 and CentOS 7 without any problem.

---

<div class="post-metadata">

**Author:** ![ced](https://discuss-cdn.tryton.org/user_avatar/discuss.tryton.org/ced/32/1237_2.png) [@ced](https://discuss.tryton.org/u/ced)\
**Post date:** [July 11, 2019, 9:30pm UTC](https://discuss.tryton.org/t/tryton-4-8-install-on-redhat-7-some-icons-are-not-rendered-on-web-interface/1555/3 "2019-07-11T21:30:59Z")

</div>

For me, it sounds like a web server issue. You should ensure that the images folder of sao is accessible from the base path from which sao is accessed.

---

<div class="post-metadata">

**Author:** ![sergyo](https://discuss-cdn.tryton.org/user_avatar/discuss.tryton.org/sergyo/32/181_2.png) [@sergyo](https://discuss.tryton.org/u/sergyo)\
**Post date:** [July 11, 2019, 9:38pm UTC](https://discuss.tryton.org/t/tryton-4-8-install-on-redhat-7-some-icons-are-not-rendered-on-web-interface/1555/4 "2019-07-11T21:38:25Z")

</div>

> [@Karl0range](#):
>
> We would appreciate your help in troubleshooting this matter. We did not go to the latest+greatest because our system has RHEL 7, which comes with Python 2.7.

As @edbo said you can install Python3.6 with EPEL.

FYI we implemented a [docker image](https://cloud.docker.com/u/datalife/repository/docker/datalife/tryton) based on CentOS7. You can try it:

`docker push datalife/tryton:5.0`

---

<div class="post-metadata">

**Author:** ![Karl0range](https://discuss-cdn.tryton.org/user_avatar/discuss.tryton.org/karl0range/32/449_2.png) [@Karl0range](https://discuss.tryton.org/u/Karl0range)\
**Post date:** [July 11, 2019, 10:00pm UTC](https://discuss.tryton.org/t/tryton-4-8-install-on-redhat-7-some-icons-are-not-rendered-on-web-interface/1555/5 "2019-07-11T22:00:53Z")

</div>

Thank you Ced. We are actually able to see _most_ of the icons (I could only attach one image) and if we access the URL, it displays the svg contents.  
This is how the site looks to us:

 ![21](https://discuss-cdn.tryton.org/uploads/default/original/1X/41e826f42a6dbf0894890b41793c324f890d3127.png)

I already tried re-installing everything from scratch and writing SAO components to a different location, ran “npm install --production” and grunt on said location.

---

<div class="post-metadata">

**Author:** ![Karl0range](https://discuss-cdn.tryton.org/user_avatar/discuss.tryton.org/karl0range/32/449_2.png) [@Karl0range](https://discuss.tryton.org/u/Karl0range)\
**Post date:** [July 11, 2019, 10:01pm UTC](https://discuss.tryton.org/t/tryton-4-8-install-on-redhat-7-some-icons-are-not-rendered-on-web-interface/1555/6 "2019-07-11T22:01:38Z")

</div>

Thank you @ebdo, will give it a try that way with the most recent version.

---

<div class="post-metadata">

**Author:** ![ced](https://discuss-cdn.tryton.org/user_avatar/discuss.tryton.org/ced/32/1237_2.png) [@ced](https://discuss.tryton.org/u/ced)\
**Post date:** [July 11, 2019, 10:04pm UTC](https://discuss.tryton.org/t/tryton-4-8-install-on-redhat-7-some-icons-are-not-rendered-on-web-interface/1555/7 "2019-07-11T22:04:12Z")

</div>

Those icons are not part of sao but delivered by trytond directly that why they are data-base64.  
The standard sao icons from images directory must be served by the webserver at the relative path `images/`. This is not the case for your setup otherwise they will be shown.

---

<div class="post-metadata">

**Author:** ![edbo](https://discuss-cdn.tryton.org/letter_avatar_proxy/v4/letter/e/f14d63/32.png) [@edbo](https://discuss.tryton.org/u/edbo)\
**Post date:** [July 12, 2019, 11:46am UTC](https://discuss.tryton.org/t/tryton-4-8-install-on-redhat-7-some-icons-are-not-rendered-on-web-interface/1555/8 "2019-07-12T11:46:52Z")

</div>

How do you reach the web interface? For example you can just start Trytond and then go with your webbrowser to `<tryton-server-ipaddress>:8000` (make sure when you want to reach tryton over the network, you have to open the port on your firewall. Also installing the web interface can also be done a bit different. I don’t know if this is best practices, but it works quite well.

- download sao from the [downloads.tryton.org](http://downloads.tryton.org)

- unpack sao (e.g. inside your virtual environment) and rename the `package` to `<whatevernameyoulike>`

- edit your trytond.conf and put the **full** link of sao in the `[web]` section like  
`root = /home/trytond/test_tryton/<whatevernameyoulike>`

- get the script from [About the provided tryton-sao-X.Y.Z.gz archive - #5 by semarie](https://discuss.tryton.org/t/about-the-provided-tryton-sao-x-y-z-gz-archive/987/5). Unfortunately you have to modify that script a little bit to get it working on RHEL / CentOS

- mv the `bower_components` from the sao-dependencies directory a step higher to the `root`. Alternatively you can create a symlink.

- start the tryton server and you should be good to go. In my case it worked … 🙂

---

<div class="post-metadata">

**Author:** ![Karl0range](https://discuss-cdn.tryton.org/user_avatar/discuss.tryton.org/karl0range/32/449_2.png) [@Karl0range](https://discuss.tryton.org/u/Karl0range)\
**Post date:** [July 17, 2019, 3:23pm UTC](https://discuss.tryton.org/t/tryton-4-8-install-on-redhat-7-some-icons-are-not-rendered-on-web-interface/1555/9 "2019-07-17T15:23:46Z")

</div>

In case you were wondering, we were _finally_ able to get Tryton 5.2 to run with Python 3.6 on RHEL7. Thank you @edbo and all for your suggestions. Btw, We tried the docker version but did not want to manually add all the modules to it.

This is what we did to get this to run:

- Added the EPEL for RHEL7 to our repos.

- Installed Python 3.6 and some extra modules:  
yum -y install python36 python36-devel python36-pip cairo-devel cairo-gobject-devel gobject-introspection-devel

- Installed all of the available Tryton modules with easy\_install-3.6

- Downloaded/extracted the SAO tar file. Ran the required steps (npm and grunt)

- Initialized the database to version 5.2.

- Started with a new configuration file for this endeavor, some data intentionally obfuscated:  
$ cat /u01/tryton5.conf  
[database]  
uri = postgresql://trytonuser:\*\*\*\*\*\*\*\*@localhost/  
path = /u01/trytond

- Started the service and everything worked, icons were displayed appropriately and we are happy to start testing.

---

<div class="post-metadata">

**Author:** ![system](https://discuss-cdn.tryton.org/uploads/default/original/1X/c6f8ec0a40525cdcd50058c734283450a4b3d38b.png) [@system](https://discuss.tryton.org/u/system)\
**Post date:** [August 16, 2019, 3:23pm UTC](https://discuss.tryton.org/t/tryton-4-8-install-on-redhat-7-some-icons-are-not-rendered-on-web-interface/1555/10 "2019-08-16T15:23:50Z")

</div>

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
