Help with Helpy
-
@tiagom said in Help with Helpy:
Ill take a look at it when i get home, see if i can help you out.
The closest I got was CentOS 6. I went through the whole tutorial. I just had to change the version on passenger in one of the config files they made. I felt prettty confident I did everything right, but nada.
-
@JaredBusch said in Help with Helpy:
@Veet said in Help with Helpy:
Heard of it last year, and Demo'ed it a couple of months back .. Nice GUI ...
btw, it's developed by a guy named "Scott Miller" ...
How is the reporting side? there is nothing listed except "google analytics" blasted on every page.
As I said ... "The UI is nice" ... and that's that.
-
@IRJ said in Help with Helpy:
I've used osTicket before and it works fine, but the interface on Helpy looks nice. I wont be handling hundreds of tickets a week. Maybe 10-15 a month so I am more worried about looks then something that is powerful. So helpy seems like a good solution
You can easily skin the user-facing portion of osTicket .. If you don't mind putting in the effort, you could even make it look somewhat like Helpy ...
-
Tried twice both didn't work, very strange. will try again later.
-
Ok got it working using the CentOS guild. Here is what differed from the guild and what i found unclear.
rails user needs to added to sudoers using visudo under
root ALL=(ALL) ALL
I added
rails ALL=(ALL) ALL
The following command fails because the latest activesupport requires Ruby version >= 2.2.2
gem install rails --no-ri --no-rdoc
Had to install v4.2.7 instead of the latest. I used:
gem install activesupport -v 4.2.7 gem install rails -v 4.2.7 --no-ri --no-rdoc
To clear up a question from earlier when you run
rake secret
The output needs to be put in /config/secrets.yml under production: secret_key_base:
The postgresql password needs to be edited in /config/database.yml under production: password:
The following command doesn't work
rails s -e production -b your.ip.add.ress:3000
It should be
rails s -e production -b your.ip.add.ress
The /etc/rc.d/init.d/nginx script has a typo, line 92 is Esac it should be esac
For /opt/nginx/conf/nginx.conf i did not replace the contents with what was provided as the versions differed, instead i just added the following under location
root /home/rails/helpy/public; passenger_enabled on; rails_env production;
I commented out the index index.html index.htm
I can provide my /opt/nginx/conf/nginx.conf and /etc/rc.d/init.d/nginx if needed. I could give you the whole vm if needed, i run it under hyper-v.
Also i needed to stop the firewall
service iptables stop
-
@tiagom Wow, I've seen some bad/outdated docs before, but that's really pushing things. Good job figuring it out.
-
@tiagom said in Help with Helpy:
Ok got it working using the CentOS guild. Here is what differed from the guild and what i found unclear.
rails user needs to added to sudoers using visudo under
root ALL=(ALL) ALL
I added
rails ALL=(ALL) ALL
The following command fails because the latest activesupport requires Ruby version >= 2.2.2
gem install rails --no-ri --no-rdoc
Had to install v4.2.7 instead of the latest. I used:
gem install activesupport -v 4.2.7 gem install rails -v 4.2.7 --no-ri --no-rdoc
To clear up a question from earlier when you run
rake secret
The output needs to be put in /config/secrets.yml under production: secret_key_base:
The postgresql password needs to be edited in /config/database.yml under production: password:
The following command doesn't work
rails s -e production -b your.ip.add.ress:3000
It should be
rails s -e production -b your.ip.add.ress
The /etc/rc.d/init.d/nginx script has a typo, line 92 is Esac it should be esac
For /opt/nginx/conf/nginx.conf i did not replace the contents with what was provided as the versions differed, instead i just added the following under location
root /home/rails/helpy/public; passenger_enabled on; rails_env production;
I commented out the index index.html index.htm
I can provide my /opt/nginx/conf/nginx.conf and /etc/rc.d/init.d/nginx if needed. I could give you the whole vm if needed, i run it under hyper-v.
Also i needed to stop the firewall
service iptables stop
Awesome work. I was able to solve some of that, but not enough to get everything working.
-
@tiagom I am still having trouble. Here are my commands. I know there is more, but I should be able to hit the web server at this point.
adduser rails passwd rails gpasswd -a rails wheel ssh-keygen ssh-copy-id rails@SERVER_IP_ADDRESS #Change PermitRootLogin to no nano /etc/ssh/sshd_config service sshd restart yum -y update yum groupinstall -y development yum install -y epel-release pygpgme curl libcurl-devel nano yum install -y postgresql-server postgresql-contrib postgresql-devel git nodejs npm #Add rails to sudoers add rails ALL=(ALL) ALL chkconfig postgresql on service postgresql initdb service postgresql start su - postgres createuser -s rails createdb helpy_production psql \password rails \q exit service postgresql restart #login as rails gpg2 --keyserver hkp://keys.gnupg.net --recv-keys 409B6B1796C275462A1703113804BB82D39DC0E3 curl -L get.rvm.io | bash -s stable source /home/rails/.rvm/scripts/rvm rvm requirements rvm install 2.2.1 rvm use 2.2.1 --default rvm rubygems current gem install activesupport -v 4.2.7 gem install rails -v 4.2.7 --no-ri --no-rdoc sudo dd if=/dev/zero of=/swap bs=1M count=1024 sudo mkswap /swap sudo swapon /swap git clone https://github.com/helpyio/helpy.git cd helpy nano Gemfile # Comment out #gem 'rails_12factor' bundle install cp config/database.do.yml config/database.yml rake secret # copy key to production field in secrets and password feild in database nano config/secrets.yml nano config/database.yml touch /home/rails/helpy/log/production.log chmod 0664 /home/rails/helpy/log/production. RAILS_ENV=production rake assets:precompile RAILS_ENV=production rake db:migrate RAILS_ENV=production rake db:seed rails s -e production -b your.ip.add.ress
-
What is the output of the following commands
rails s -e production -b your.ip.add.ress curl your.ip.add.ress
Quickly looking over the list of commands i see
chmod 0664 /home/rails/helpy/log/production.
Should be
chmod 0664 /home/rails/helpy/log/production.log
-
Thanks @tiagom for all your help!
-
No problem, any time @IRJ
-
Here is the finished tutorial.
http://joelradon.com/installing-helpy-open-source-help-desk-on-centos-6/
-
@IRJ said in Help with Helpy:
Here is the finished tutorial.
http://joelradon.com/installing-helpy-open-source-help-desk-on-centos-6/
booked marked as this is one i'm looking at to replace spiceworks.
-
@IRJ said in Help with Helpy:
Here is the finished tutorial.
http://joelradon.com/installing-helpy-open-source-help-desk-on-centos-6/
I quit reading the tutorial early on. There are some clunky things still in those instructions.
You show using nano at one point but then in a follow up step you show installing nano with yum. So how would you have used nano?
Then you show adding the rails user to the sudo file with vi after adding nano.
Also, once you add a user to the wheel group, you should not need to add to the sudo file, isn't that the point of the wheel group?
Were these some of the inconsistencies that you found in the original instructions bleeding through into yours?
-
sudoers file should be edited using visudo as it checks syntax and whatnot.
In a fresh install of CentOS 6.8 wheel group is commented out in sudoers
## Allows people in group wheel to run all commands # %wheel ALL=(ALL) ALL
-
@JaredBusch said in Help with Helpy:
@IRJ said in Help with Helpy:
Here is the finished tutorial.
http://joelradon.com/installing-helpy-open-source-help-desk-on-centos-6/
Then you show adding the rails user to the sudo file with vi after adding nano.
Also, once you add a user to the wheel group, you should not need to add to the sudo file, isn't that the point of the wheel group?
you are supposed to use visudo to edit that sudoers file.
As far as installing nano twice, I may have missed that and copied it from the original.
I am not sure what the big deal is...