I want to change the tag of an already inventoried linux-workstation (ubuntu 16.04.4 LTS, ocs-agent 2.0.5).
It has the old tag "TAG1" and I want to change it to "TAG2"
In /etc/apache2/conf-enabled/ocsinventory.conf the flag
OCS_OPT_ACCEPT_TAG_UPDATE_FROM_CLIENT is set to 1
In the configuration file /etc/ocsinventory/ocsinventory-agent.cfg I changed the tag-line from
I also tried to delete the configuration file and called the agent with the option --tag=TAG2.
The tag shown on the server is still "TAG1".
Even if I change the tag in the web interface to "TAG2" and recall the agent, the tag ist reset to "TAG1".
(Changing the tag of a windows PC works fine changing the tag in the file admininfo.conf)
Can anybody help me?