Help with Helpy



  • I am on step 6 of installing Helpy and I am unsure what the section is having me do. Can anyone explain this to me?

    http://support.helpy.io/en/knowledgebase/11-installing-helpy-yourself/docs/27-installing-helpy-on-ubuntu-14-04-using-passenger-and-nginx

    0_1470411458535_upload-fd884dfd-a5ea-46c1-b3a0-3589b1078725



  • It wants you to make a backup of the existing "stock" file.



  • rake is like make but for Ruby instead of C.



  • And then to create a database key, and copy that key to the actual database.



  • Create a secret token for rails apps and copy it into those two files.



  • Ok so I run
    rake secret

    Then it gives me a key. Then I copy that key to those two files?



  • Do I just add it to the bottom of both of those files?



  • Never heard of helpy before, looks interesting!



  • I have been looking for something like this for a long time. Sweet.



  • I am on my 4th attempt of the install. The ruby stuff is definitely screwing me up.



  • @IRJ I wouldn't have the foggiest either man. That's what learning is though!



  • @wirestyle22 said in Help with Helpy:

    @IRJ I wouldn't have the foggiest either man. That's what learning is though!

    I am getting a little further each time now. Maybe this next install attempt will work 🙂



  • The installation guide definitely isn't the best.



  • @IRJ said in Help with Helpy:

    @wirestyle22 said in Help with Helpy:

    @IRJ I wouldn't have the foggiest either man. That's what learning is though!

    I am getting a little further each time now. Maybe this next install attempt will work 🙂

    One thing I noticed with Linux is most guides have you run commands but don't explain what the commands are actually doing very well. I end up looking up every command that is run in a guide and create a definitions list for myself so I can learn the concepts of what I'm actually doing and why. I try to compare guides too and ask questions so I can determine what best practice really means with this stuff.



  • @wirestyle22 said in Help with Helpy:

    @IRJ said in Help with Helpy:

    @wirestyle22 said in Help with Helpy:

    @IRJ I wouldn't have the foggiest either man. That's what learning is though!

    I am getting a little further each time now. Maybe this next install attempt will work 🙂

    One thing I noticed with Linux is most guides have you run commands but don't explain what the commands are actually doing very well. I end up looking up every command that is run in a guide and create a definitions list for myself so I can learn the concepts of what I'm actually doing and why. I try to compare guides too and ask questions so I can determine what best practice really means with this stuff.

    I am trying to learn ruby.



  • 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" ...



  • @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.



  • @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" ...

    Their on to me.



  • The tutorial is definitely outdated and needs to be updated.



  • Do you just want to play with it or run it in a live environment?



  • @tiagom said in Help with Helpy:

    Do you just want to play with it or run it in a live environment?

    I want to use it for personal use and have an area to submit tickets on my website.



  • Ill take a look at it when i get home, see if i can help you out.



  • 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.



  • @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.