Hello I finished setup Tryton and installed sao according to README
but when I browse to web interface I found this
it seems like all component are missing. When I look at the log it turns out to 404
It seems that your user have some permision issues which makes npm fail to install bower dependencies. Without this files it’s not possible to properlly install sao.
Could you upload a file containing the full output of the executed commands? This will help to diagnose the problem.
It seems that you installed the files with root user but you are executing the tryotond server in another user which is not able to read the files created by root and then it can not be returned on the server.
You should install sao with the same user you are running your trytond server.
I do not think it is a good advise. Indeed it is better to have source files as readonly for the running user.
It looks like the browser has in cache a redirect to “/index.html/” which is wrong. This happens if you tried to connect while the tryton server was not correctly configured. You should clean the browser cache and refresh.
Thank you everyone I finally solved it! @pokoli was right the problem is about the permission of the npm command.
At first when I tried to run command ‘npm install --production’ it yield something like ‘Permission Error’ so I decided to run it with sudo and even root itself. This is how I fixed it.