The process ID you get before issuing a restart (for example with "ps aux|grep tinyerp-server") is it the same as the one that the restart command tries to kill (in the message "...no such process")?
Apparently the tinyerp-server process cannot write to /var/run/tinyerp-server.pid, preventing it to write its process ID, thus preventing restart to get it when trying to kill the process.
Please check that the user you use to start the tinyerp-server process has the write to write inside /var/run (launching the "start" command as root should do the trick).
The process ID you get before issuing a restart (for example with "ps aux|grep tinyerp-server") is it the same as the one that the restart command tries to kill (in the message "...no such process")?
Apparently the tinyerp-server process cannot write to /var/run/ tinyerp- server. pid, preventing it to write its process ID, thus preventing restart to get it when trying to kill the process.
Please check that the user you use to start the tinyerp-server process has the write to write inside /var/run (launching the "start" command as root should do the trick).