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

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

  • 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. Unfortunately you have to modify that script a little bit to get it working on RHEL / CentOS

    • change FETCHCMD='ftp' to FETCHCMD='curl -L'
    • change UNZIP='/usr/local/bin/7z x' to UNZIP='7z x' (be sure you have 7z installed)
    • change xargs -0 sha256 -b to xargs -0 sha256sum -b

    run the script inside your <whatevernameyoulike> directory. It will create a new directory there with the name sao-dependencies-<trytonversion>.

  • 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 … :slight_smile: