-
Notifications
You must be signed in to change notification settings - Fork 478
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
Installer - database error detection, MacOS-specific config cases. #4966
Comments
Something else to consider rolling into this one: it appears (from https://groups.google.com/forum/#!topic/dataverse-community/34FWJIlYXNo and elsewhere) that there are cases where the installer should be aborting (due to problems with database configuration, application deployment, etc), but doesn't actually abort. |
ping @4tikhonov - you mentioned on the call that you were having some installer issues and I pointed you to this issue as a place to put some specifics. |
We're having trouble to run on Google Cloud new SOLR Docker image created from this build https://github.com/IQSS/dataverse-docker/tree/master/solr7 |
We've found the solution for this problem with new SOLR.
Without SOLR_PORT we're getting error messages as somehow SOLR_PORT is coming from cloud configuration: |
@4tikhonov could you let us know which version (or which commit) you're using the installer from? |
@pameyer it's latest one, 4.9.2 |
@4tikhonov thanks |
…ain install script in the postgres-only mode, instead of calling the standalone postgres script. (#4966)
@pdurbin where are you seeing that path? |
@landreev this was as of c90f762 on my Mac. I'll attach the output from the run: installer-run-c90f762-pdurbin-mac.txt |
with the smtp port - i can add that easily; to get it to work with smtp.google though, doesn't it need more configuration, other than the different port? |
@pdurbin Do you have a default.config file sitting around? |
(but yeah, I'm willing to invest a bit of extra work into making it possible to have the installer work with google's smtp out of the box; it would be useful to a lot of people...) |
@landreev whoops! I do. Sorry! Here it is:
|
As you're changing installation folders please consider to move files folder to docroot containing logos. We've discovered limitation of Google Cloud to mount 2 persistent volumes in the same time (one to keep files and second to keep pictures from logos folder). After I moved files and logos to docroot it's started to work with persistent volume to keep all stuff that users/admins creating. |
@4tikhonov sorry, this was my mistake. We are not changing the default installation folder. I had a default.config file that was being read. |
the ability to enter a non-default port for the smtp server. (#4966)
Hello ! I just ran into this problem (I am on Linux). I tried pulling the last version of develop, but had this problem, so @pdurbin asked me to use the 4966-installer-fixes branch and ... I still has the issue. I attach my glassfish logs. And an extract of the script error:
|
@landreev I asked @rmo-cdsp to try the "installer fixes" branch because it worked for me. He's on Linux, if it matters. He (Romain) has code written for NESSTAR import (#4593) and is trying to merge the latest from develop before making a pull request. In IRC I've been trying and failing to help him get a working dev environment set up. |
I made a couple tiny tweaks to docs and comments (no code changes) and I'm moving this to code review. I didn't execute any code but I did try this branch last week on my Mac (I don't think I wrote down the commit) and it worked fine. @rmo-cdsp and I with help from @pameyer and @donsizemore worked through his installation woes in IRC and he's all set now. Phew. |
(the name is a placeholder; if anyone can think of a better one, please rename)
It appears that the installer has some issues now, due to the work that was done to accommodate openshift installs.
Most importantly, the installer was supposed to fail if postgres user, database etc. could not be properly configured, with a clear message explaining what happened. Now it just keeps on going - with everything else failing in increasingly confusing ways.
Some MacOS-specific things appear to have been lost.
For example, in order to md5-encode the database password, we used to do
but currently, it looks like it just tries to
which of course fails on MacOS... but that failure is in turn not properly intercepted etc., as described above.
Finally, it kinda looks like when the postgres install was separated from the rest of the script, lots of postgres-specific code was actually left in the main "install" script - which is confusing and otherwise not awesome.
There may have been a report from an outside user trying to install where they were seeing the "We must be running in Docker! Fancy!" message - even though they were not in fact running under Docker...
There may be more issues - so it looks like we need to make another pass at cleaning it up.
The text was updated successfully, but these errors were encountered: