Code Monkey home page Code Monkey logo

jss-in-a-box's People

Contributors

flyingdutchsysadmin avatar franton avatar rderewianko avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

jss-in-a-box's Issues

New Installation Ubuntu not working

Hello,

as requested here is the issue I am having:

On a fresh install of Ubuntu 16.04.2 LTS (GNU/Linux 4.4.0-81-generic x86_64)

after downloading and running the latest version of the script, it installs all files without error but I am unable to browse the address https://:8443

Looking in the catalina.out logs I can see:

22-Jun-2017 18:51:22.733 SEVERE [main] org.apache.tomcat.util.digester.Digester.fatalError Parse Fatal Error at line 95 column 5: Element type "Connector" must be followed by either attribute specifications, ">" or "/>".
org.xml.sax.SAXParseException; systemId: file:/opt/tomcat8/conf/server.xml; lineNumber: 95; columnNumber: 5; Element type "Connector" must be followed by either attribute specifications, ">" or "/>".

Adding /> to the end of the https section of the server.xml allows it to load.

Another problem is that MySQL will install then if you check again, it will report that it's not installed and attempt to reinstall.

running the check after it installs shows the following:

$ dpkg -l | grep mysql
ii mysql-apt-config 0.8.3-1 all Auto configuration for MySQL APT Repo.
ii mysql-client 5.7.18-1ubuntu16.04 amd64 MySQL Client meta package depending on latest version
ii mysql-common 5.7.18-1ubuntu16.04 amd64 MySQL Common
ii mysql-community-client 5.7.18-1ubuntu16.04 amd64 MySQL Client
ii mysql-community-server 5.7.18-1ubuntu16.04 amd64 MySQL Server
ii mysql-server 5.7.18-1ubuntu16.04 amd64 MySQL Server meta package depending on latest version

Thanks!

Connection Timeout with fresh ubuntu 14.04 install

Installed the script with on a fresh 14.04 install with Letsencrypt enabled. Letsencrypt reported success updating certs etc.
Everything with the script was successful.
After script is finished, browser connections to https://mydomain.com:8443 always get connection timeouts.
UFW logs report UFW Blocks from connections from my address. If I disable UFW, browser connections report an immediate Unable to Connect message.
Not sure where to proceed from here. TIA for any input.

JSS not running after running the Script

Hi,
i did a fresh Ubuntu 16.04 installation and run the script. It was running nicely.
Fort the Option 1) to install
then Option 3) to setup ROOT Instance

Unfortunately if i try to access the URL, there is nothing answering. So i assume something went wrong. Before i start searching for hours - is there any log or something i could provide to identify the issue?

Does not correctly detect CentOS 7

Current code for detecting CentOS 7 does not work.

Actual output:

cat /etc/redhat-release
CentOS Linux release 7.3.1611 (Core)

Line reading:
cat /etc/redhat-release | awk '{ print $7 }' | cut -c 1
changed to:
cat /etc/redhat-release | awk '{ print $4 }' | cut -c 1

pulls correct version.

Won't start..

I love the product you've created. It was really easy to install and I'm excited how much time it will save me to bring up JSS environments in a flash. I am having trouble however starting up the web page. Since this instance wasn't set up the same way as the jar file from JAMF I'm not sure what to look for. Tomcat appears to be running as well as MySQL and nothing gave me an error when you're installer ran. Can you help me out?

Curling Tomcat Version adding White space Ubuntu 16.04.3

OS: Ubuntu 16.04.3 (inline upgrade from 14.10)

Line 671 version=$( curl -s http://tomcat.apache.org/download-80.cgi | grep "<h3 id="8.0" | head -n1 | awk '{gsub("<[^>]*>", "")}1')

Version: 8.0.47

Downloading and installing latest Tomcat 8
--2017-10-04 11:56:40-- http://www.apache.org/dist/tomcat/tomcat-8/v%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%208.0.47/bin/apache-tomcat-%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%208.0.47.tar.gz
Resolving www.apache.org (www.apache.org)... 88.198.26.2, 140.211.11.105, 62.210.60.236, ...
Connecting to www.apache.org (www.apache.org)|88.198.26.2|:80... connected.
HTTP request sent, awaiting response... 404 Not Found
2017-10-04 11:56:40 ERROR 404: Not Found.

tar (child): /opt/apache-tomcat- 8.0.47.tar.gz: Cannot open: No such file or directory
tar (child): Error is not recoverable: exiting now
tar: Child returned status 2
tar: Error is not recoverable: exiting now
mv: cannot stat ‘/opt/apache-tomcat- 8.0.47’: No such file or directory
rm: cannot remove ‘/opt/apache-tomcat- 8.0.47.tar.gz’: No such file or directory

adding | awk ‘{print $NF’} ) to the end of line 671 as a temporary fix

LetsEncrypt Challenge

Not so much a Issue, but a note/question: in order to get LetsEncrypt to run through without error, i had to forward 443 to the Server as well.

Can this be avoided?

Does this portforward need to remain in place for the Cert-Update to happen?

Tomcat 8 keeps crashing..

I don't think that Tomcat is actually running. How can I troubleshoot this with regard to your installation?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.