Closed qq854051086 closed 5 years ago
Hi, can you provide the following information so we can help diagnose the issue?
Are you performing a fresh VECTR install or an upgrade of an existing installation?
Installation target operating system?
User account permissions used when installing (are you running as sudo?)
Are there any other error messages seen in the console output during installation aside from the one you marked above?
Please provide log file entries surrounding 'verifyVectrReleaseHelper' in vectr-install.log. vectr-install.log should be in the same folder as the installer files. The log entries will look like this:
[Wed Jul 17 10:42:01 EDT 2019] [DEBUG] > printStatusMark FUNCENTRY
[Wed Jul 17 10:42:01 EDT 2019] [DEBUG] < printStatusMark FUNCEXIT
[Wed Jul 17 10:42:01 EDT 2019] [DEBUG] > verifyVectrReleaseHelper FUNCENTRY
[Wed Jul 17 10:42:01 EDT 2019] [DEBUG] > verifyVectrRelease FUNCENTRY
[Wed Jul 17 10:42:01 EDT 2019] [DEBUG] < verifyVectrRelease FUNCEXIT
[Wed Jul 17 10:42:01 EDT 2019] [DEBUG] < verifyVectrReleaseHelper FUNCEXIT
[Wed Jul 17 10:42:01 EDT 2019] [DEBUG] > printStatusMark FUNCENTRY
[Wed Jul 17 10:42:01 EDT 2019] [DEBUG] < printStatusMark FUNCEXIT
[Wed Jul 17 10:42:01 EDT 2019] [DEBUG] > dirExists FUNCENTRY
[Wed Jul 17 10:42:01 EDT 2019] [INFO] Directory /home/vectruser/deploydirectory/app/config does not exist on disk
[Wed Jul 17 10:42:01 EDT 2019] [DEBUG] < dirExists FUNCEXIT
[Wed Jul 17 10:42:01 EDT 2019] [DEBUG] > verifyVectrReleaseHelper FUNCENTRY
[Wed Jul 17 10:42:01 EDT 2019] [DEBUG] > verifyVectrRelease FUNCENTRY
[Wed Jul 17 10:42:01 EDT 2019] [ERROR] VECTR temp extract dir /home/vectruser/deploydirectory/app/backup folder does not exist.
[Wed Jul 17 10:42:01 EDT 2019] [DEBUG] < verifyVectrReleaseHelper FUNCEXIT
[Wed Jul 17 10:42:01 EDT 2019] [DEBUG] > copyFilesToFolder FUNCENTRY
[Wed Jul 17 10:42:01 EDT 2019] [INFO] Copying files from download_temp/sra-vectr-runtime-5.2.0-ce to /home/vectruser/deploydirectory/app
Edit: One additional quick note on this, github is having issues right now. I can't access our releases page on here. That may be contributing to the problems with the installer.
It's my problem, because the zip here is decompressed manually and there are some errors caused by missing some folders. Now it's installed, but there's a new problem. When I click on login, HTML tells me 404 look it
There are a couple configuration files that are modified by the installer scripts {DEPLOY_DIR}/app/config/auth.properties Verify that it shows something like
cas.server.url=https://YOUR_VECTR_HOSTNAME:8443/cas'
{DEPLOY_DIR}/app/cas/config/cas.properties Verify that it shows lines similar to
cas.server.name=https://YOUR_VECTR_HOSTNAME:8443
cas.server.prefix=https://YOUR_VECTR_HOSTNAME:8443/cas
*{DEPLOY_DIR}/app/cas/services/.json** Verify a line similar to
"serviceId" : "https://YOUR_VECTR_HOSTNAME:8081/sra-purpletools-webui/app\\?client_name=CasClient",
Did the installer script run successfully? If you're using a ubuntu, mint, or centOS host it should perform all of these modifications for you based on what you enter in the install questions.
There's a cas.war file in the wars folder that gets extracted. That should automatically be copied over and started by tomcat and if that's not happening something went wrong with the install process.
Yes, the installer has been successfully executed, and all of the above configurations are OK. I have done installation tests on CentOS and ubunto, all of which are the same 404. This is my wars folder
Are you using the latest version - 5.2.2? There are some *.war files missing and I wonder if that's due to the use of an older version.
I think the first thing we should do is try to find why there are missing *.war files
Your wars directory should like this before deploying:
root@144 ~/sra2/app/wars $ ls
cas.war sra-auth-rest.war sra-purpletools-webui.war
ROOT sra-purpletools-rest.war
And after deploying VECTR, the docker container should expand each of those wars into its own folder, like this:
root@144 ~/sra2/app/wars $ ls
cas sra-auth-rest sra-purpletools-rest.war
cas.war sra-auth-rest.war sra-purpletools-webui
ROOT sra-purpletools-rest sra-purpletools-webui.war
Also FYI, there is a video guide for the installation process here:
Thank you very much for your help. Now the project is available. It's really a zip file problem. download it manually and reinstall it after importing it.
I should have realized this stated during the github outage, we encountered issues with dependency downloads around that time. Thanks for sticking with it and getting it installed.
[X]Verify extracted VECTR release ERROR: VECTR Deployment can not continue. Please correct any issues marked above or check installation logs.
Can you tell me how to solve it?