User Tools

Site Tools


en:tvip_tms_faq_new

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
en:tvip_tms_faq_new [2022/11/08 16:47]
Виталий Журавлев
en:tvip_tms_faq_new [2023/01/10 16:03] (current)
Виталий Журавлев [How to enable logs at TMS]
Line 308: Line 308:
  
  
 +===== Channel selection priority =====
 +
 +
 +For a specific channel, you can set a priority - this allows you to show a specific channel after the set-top box goes into standby mode or reboots.\\
 +This is configurable via TMS: create a new channel and in the "​Extra"​ section in the "​Channel Selection Priority"​ field, set the value.\\
 +You could to possible to assign different priorities for channels, the highest priority is selected by default, the use of different priority values ​​allows you to make tariffs with different priority channels.\\
 +
 +{{:​en:​channelprorityen.png?​600|}}
 ===== How to enable logs at TMS ===== ===== How to enable logs at TMS =====
  
  
 +You should enable logging for each micro-service.\\
 +All log files located in /​var/​log/​tvip-tms folder
 +
 +    * application.log - general log file of application
 +    * framework.log - service log file
 +    * access.log - information of external operation
 +    * audit.log - extended information of external operation
 +
 +Enabling logs to configure file: **/​opt/​tvip-tms/​*/​manager-tvip-tms-//​*name///​application-prod.yml**
 +<​code>​
 +logging:
 +    config: log4j2-example.yml
 +</​code>​
 +
 +
 +Then you should restart micro-service .
 +<​code>​
 +systemctl restart manager-tvip-*name.service
 +</​code>​
 +
 +
 +:!: Where  //*name// - the micro-service name
 +
 +
 +
 +===== How to Reset password for Administrator in TVIP-TMS =====
 +
 +You could reset password for admin user in TVIP-TMS ​
 +
 +  * Connect to your TVIP-TMS server via ssh:
 +<​code>​
 +$ ssh login@tms.example.com
 +</​code>​
 +  *  Connect to TMS database:
 +<​code>​
 +# psql -U tvip-tms tvip-tms
 +</​code>​
 +  * Replace password for user admin, in example used password is **admin**
 +<​code>​
 +tvip-tms=>​ UPDATE admin SET md5pw = '​21232f297a57a5a743894a0e4a801fc3'​ WHERE login = '​admin';​
 +</​code>​
 +  * Leave database console
 +<​code>​
 +tvip-tms=>​ \q;
 +</​code>​
  
 ===== Recommended parameters for icons ===== ===== Recommended parameters for icons =====
en/tvip_tms_faq_new.1667915278.txt.gz · Last modified: 2022/11/08 16:47 by Виталий Журавлев