Problem :- When Error 404 occur means page is not available on server / Director.


While troubleshooting we found error code in API response:-


login:5 GET https://203.19.37.222/versa/app/styles/css/error-page.css 404 (Not Found)



Solution :-


Check below Directory files and make sure all the files are present with the same permission


/opt/versa/vnms/apache-tomcat/webapps/versa/dist


& compare all files with local setup.


Upgrading the director to next release or even hotfix release could fix the problem if manually checking the below files doesnot help


admin@Primary-Director:/opt/versa/vnms/apache-tomcat/webapps/versa/dist$ ls -latr
total 352
-rw-r--r-- 1 versa versa 20968 Jul 17 18:14 .htaccess
-rw-r--r-- 1 versa versa 427 Aug 9 09:49 favicon.png
-rw-r--r-- 1 versa versa 4464 Aug 9 09:49 404.html
-rw-r--r-- 1 versa versa 2494 Aug 9 09:49 webpack.config.js
-rw-r--r-- 1 versa versa 138781 Aug 9 09:49 package-lock.json
-rw-r--r-- 1 versa versa 1104 Aug 9 09:49 package.json
-rw-r--r-- 1 versa versa 31 Aug 9 09:52 robots.txt
-rw-r--r-- 1 versa versa 14 Aug 9 09:52 logoName.txt
-rw-r--r-- 1 versa versa 49 Aug 9 09:52 footerName.txt
-rw-r--r-- 1 versa versa 6774 Aug 9 09:52 favicon.ico
-rw-r--r-- 1 versa versa 1402 Aug 9 09:52 a_console.jsp
-rw-r--r-- 1 versa versa 13706 Aug 9 09:52 changepassword.jsp
-rw-r--r-- 1 versa versa 14213 Aug 9 09:53 login.jsp
-rw-r--r-- 1 versa versa 1634 Aug 9 09:53 novnc.jsp
-rw-r--r-- 1 versa versa 13111 Aug 9 09:53 register.jsp
-rw-r--r-- 1 versa versa 9895 Aug 9 09:53 resetpassword.jsp
-rw-r--r-- 1 versa versa 10857 Aug 9 09:54 securecode.jsp
-rw-r--r-- 1 versa versa 9487 Aug 9 09:57 index.jsp
drwxr-xr-x 7 versa versa 4096 Aug 10 17:35 HTML Team
drwxr-xr-x 30 versa versa 4096 Aug 10 17:35 bower_components
drwxr-xr-x 3 versa versa 4096 Aug 10 17:35 mock
drwxr-xr-x 6 versa versa 4096 Aug 10 17:35 styles
drwxr-xr-x 325 versa versa 12288 Aug 10 17:35 node_modules
drwxr-xr-x 14 versa versa 4096 Aug 10 17:35 scripts
drwxr-xr-x 2 versa versa 4096 Aug 10 17:35 static-data
drwxr-xr-x 2 versa versa 4096 Aug 10 17:35 docs
drwxr-xr-x 2 versa versa 4096 Aug 10 17:35 images
drwxr-xr-x 2 versa versa 4096 Aug 10 17:35 jsp
drwxr-xr-x 2 versa versa 4096 Aug 10 17:35 i18n
drwxr-xr-x 13 versa versa 4096 Aug 10 17:35 .
drwxr-xr-x 7 versa versa 4096 Sep 3 16:52 ..
admin@Primary-Director:/opt/versa/vnms/apache-tomcat/webapps/versa/dist$