Description

Sometimes, the Security director doesn't show its tabs due to the missing files in the Slipstream directory. Here is the issue with the screenshot:

Screenshot 2024-02-24 at 6.32.47 PM.png
 

Solution

To resolve the issue, please follow the below steps:

  • Compare the files with Lab/working server to check if the files respective to tabs are missing under /usr/local/slipstream/public/installed_plugins
  • If yes, please take the backup of the directory installed_plugins using the below command
cp  /usr/local/slipstream/public/installed_plugins /home/admin
  • Please replace the directory from the working Junos space server from the Lab/working

From Working Lab setup with Security director:
            (i) Follow the below steps to compress the directory from the Lab setup

cd /usr/local/slipstream/public/
tar -czvf /home/admin/installed_plugins.tgz installed_plugins/
chown admin:admin /home/admin/installed_plugins.tgz



            (ii) Download the installed_plugins.tgz file from the Lab setup using WINSCP or any SCP method.
                 Refer to How-to-configure-WinSCP-to-connect-to-Junos-Space
            (iii) Upload the file installed_plugins.tgz to the case

From PROD/Customer setup:
             (i) Download the file installed_plugins.tgz from the case
             (ii) Upload the installed_plugins.tgz file to the PROD/Customer setup using WINSCP or any SCP method to /home/admin directory
             (iii) Follow the below steps to extract the file installed_plugins.tgz  in customer/PROD setup
                        

cd /home/admin

mkdir SD_tabs

mv installed_plugins.tgz SD_tabs

cd SD_tabs

tar -xzvf installed_plugins.tgz

mv /usr/local/slipstream/public/installed_plugins /home/admin/installed_plugins.bk

cp installed_plugins /usr/local/slipstream/public/

chown slipstream:slipstream /usr/local/slipstream/public/installed_plugins

chmod 755 /usr/local/slipstream/public/installed_plugins


             (iv) Please clear the slipstream cache using the below command:

mysql -ujboss -p$(grep mysql.jboss /etc/sysconfig/JunosSpace/pwd | awk -F= '{print $2}') build_db -e "delete from UserPreferenceState where stateName = 'slipstream-user-preferences'"


             (v) Restart the slipstream service using the below command:        

 systemctl restart slipstream

 

Modification History

7th March 2024: Modified and published