-
Notifications
You must be signed in to change notification settings - Fork 198
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
Installing jobsworth does not work like described in README.rdoc #641
Comments
Thanks for your detailed notes. To be honest it has been a long time since I've tried to install it all from scratch since our production system has been continuously updated for about 10 years. But we'll make some time and try and reproduce your process. |
I've released https://github.com/ari/jobsworth/releases/tag/5.0b1 so please try again. Let's look at your problems:
@robert-scheck Please try again and let me know if it now works more smoothly. |
I am sorry, but this is not correct. You depend on Unfortunately database related stuff is still somehow broken, 5.0 beta 1 simply leads to:
File
Changing at least Please reopen for the remaining issue, thank you. |
By the way, removing |
Opening to see what is happening with
|
I am almost 100% sure that it cannot be installed on a standalone server. I've tried Debian, FreeBSD, Ubuntu, etc....impossible. At some random point it errors out. The fact that the author for some reason refuses to make a decent install guide, makes me suspicious. |
@riahc3 Suspicious of what? There is an install guide in the README. Are you expecting me to come around to your place and install it for you? |
@robert-scheck Sure. Actually I thought we solved that one. @k41n Did we need to downgrade a gem to fix this, or did you already sort it out? |
@ari I ment suspicious in the sense of wanting to use your servers instead of a standalone server. Im not sure how you took the comment...I just ment that. Its very frustrating not being able to run this on a standalone server. |
@ari Also that README file has not been updated in a long time because as you can see users posting out errors in the documentation. |
@riahc3 Please don't hijack this task. Either be constructive with requests for specific assistance or details of your problems or go away. |
Ari, Thank you for writing. I dont mean to hijack or be rude...Its frustrating just searching for ways how to install this (or ClockingIT) and find so many roadblocks and so little solutions. Im actually suprised there isnt any up to date information as I would have thought you would have liked more people to use your project. I apoligize for any inconvience From: Ari Maniatis [email protected] @riahc3https://github.com/riahc3 Please don't hijack this task. Either be constructive with requests for specific assistance or details of your problems or go away. You are receiving this because you were mentioned. |
The only issue that appears to remain here is #670 so I'll close this task now. Let's continue anything specific to JDBC adapter in the other more focussed task. |
Honestly, I am not sure if somebody has been really able before to install jobsworth like described in README.rdoc – for me it did simply not work as described. For the sake of completeness, I am listing my steps here, run at CentOS 7:
yum install postgresql-server tomcat
postgresql-setup initdb
/var/lib/pgsql/data/pg_hba.conf
:systemctl enable --now postgresql.service
createuser -P jobsworth
and set a password, e.g.tux
createdb -O jobsworth jobsworth
cd /var/lib/tomcat/webapps/
wget https://github.com/ari/jobsworth/releases/download/5.0M3/ROOT.war
wget https://raw.githubusercontent.com/ari/jobsworth/master/config/context.example.xml -O /etc/tomcat/context.xml
<Resource>
tag in/etc/tomcat/context.xml
as follows:systemctl enable --now tomcat.service
http://localhost:8080
and get welcome with:factory="org.apache.commons.dbcp.BasicDataSourceFactory"
should be added iforg.apache.tomcat.dbcp.dbcp.BasicDataSourceFactory
does not exist (which is the default on CentOS 7 at least, thus might be a CentOS specific issue)<Resource>
tag in/etc/tomcat/context.xml
again, now as follows:systemctl restart tomcat.service
http://localhost:8080
and get welcome with:/var/lib/tomcat/webapps/ROOT/WEB-INF/config/database.yml
contains/var/lib/tomcat/webapps/ROOT/WEB-INF/config/database.yml
by something more suitable (inspired by/var/lib/tomcat/webapps/ROOT/WEB-INF/config/database.postgres.yml
):systemctl restart tomcat.service
http://localhost:8080
and get welcome with the login pageThe question that still remains is whether hacking the
/var/lib/tomcat/webapps/ROOT/WEB-INF/config/database.yml
file was correct. It was definately needed to get something working at all, but is the newproduction
section correct through?Last but not least: There is a tiny difference between above and README.rdoc (points such as PostgreSQL and Tomcat installation/configuration are indeed out of scope).
The text was updated successfully, but these errors were encountered: