New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
adjust rasdaman to the latest installer and force shutdown of service… #92
Conversation
… at the end of installation
Hey Angelos, could you test this version? It seems to build successfully the iso on my test environment. |
Testing now. |
@woland84 unfortunately, the live session is still not working |
Hey, I just tested the iso creation in the following way:
For both the master branch and this branch the process fails with the same error, the /proc and /dev folders cannot be unmounted. So i just removed all installation scripts ( kept install_service and all core installs untill install_tomcat and setdown.sh) and added only install_rasdaman.sh. Before and after calling install_rasdaman I call lsof and fuser. The processes and file handles open before installing rasdaman and after are identical, the only new process is postgres, and that is closed in setdown as i see. Could you let me know how a reproducible valid build system can be created? Meanwhile I'll try to adapt the old install_rasdaman just so that we have a fallback. |
Hi Alex, See here: I also did a new build and echoed the rasdaman log in the main log: Can you please have a look? I will do too. |
@woland84 perhaps this message is suspicious: Or this: Can the script not create the rasdaman user and assign database and file ownership to the "user" or the "root" account? |
Can we give it one more try? I've made the "user" user account as the default rasdaman user and removed the init.d auto-start. The generated iso boots up correctly when building only with rasdaman, unfortunately I couldn't test with all the installation scripts as apt-get seems to break in one of the other install scripts. |
I will make a new build, thanks |
@woland84 progress! |
Ok, that is easy to fix, could you give me a link to the iso so I can test on top of it? |
Hi Angelos, Can we give it one more try? The problems with start_rasdaman and the missing icons were caused by a failure of the script, there was psql query that was using the username (in our case "user") without quotes and it failed due to it being a reserved keyword. Thanks, |
ok, trying again |
ok, /opt/rasdaman now belongs to root, so this should be the final version. Let me know if you can restart the build, if not, just run it once more when this is done. Thanks! |
new build has just started, I threw away the previous one |
http://aiolos.survey.ntua.gr/gisvm/dev/osgeo-live-nightly-pr92-amd64-e658616.iso still the permission issue, and the launchers are not there... |
Could you attach the logs as well please? |
I see the application files are created in '/usr/local/share/applications/', should they be anywhere else? Also, how are you starting rasdaman? It should be 'sudo service rasdaman start', do not start it directly using start_rasdaman.sh. |
The application launchers should be in /usr/local/share/applications/ and copied to Desktop before the installer finishes. Check here: Also the launcher should:
|
Yes, it does that already (check /opt/rasdaman/rasdaman-start.sh), the only issue is that it does not copy to desktop(it used to, but at one point you mentioned it only needs to be in /usr, or i misunderstood). I'll have a fix in 10 minutes, could you build once more, please? |
ok, in the iso after starting tomcat and rasdaman services, it works |
regarding copy, we can do in the install_rasdaman.sh |
ok, fix is in, could you please build once more? Thanks a lot for all the support, really appreciate you bearing with me here :) |
no worries, starting another build |
@woland84 I confirm that now it works as expected. |
adjust rasdaman to the latest installer and force shutdown of service…
… at the end of installation