Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Component/s: core
    • Labels:
      None
    • Environment:
      Mac OS X 10.7.2

      Description

      Running the Jenkins 1.438 installer on Mac OS X 10.7.2 does not result in a working Jenkins installation.

      Pointing a browser to http://localhost:8080/ results in a response indicating a 404 file not found error. It appears that the installer is not creating files in the '/Users/Shared/Jenkins/Home' directory, which are expected to be there, resulting in the app failing to initialise correctly.

      If I `sudo launchctl unload /Library/LaunchDaemons/org.jenkins-ci.plist` and then `java -jar /Applications/Jenkins/jenkins.war`, then I can get Jenkins to appear, but clicking on "New Job" returns a 500 Server error with a long java stack trace. (attached)

      MattBookPro:~ matt$ java -version
      java version "1.6.0_29"
      Java(TM) SE Runtime Environment (build 1.6.0_29-b11-402-11M3527)
      Java HotSpot(TM) 64-Bit Server VM (build 20.4-b02-402, mixed mode)

      1. Error 500.html
        9 kB
        Matt Connolly
      2. jenkins-log.txt
        5 kB
        Matt Connolly
      3. jenkins-system-info.html
        0.3 kB
        Matt Connolly

        Activity

        mattskic Matt Connolly created issue -
        Show
        kutzi kutzi added a comment - https://wiki.jenkins-ci.org/display/JENKINS/Issue+Tracking#IssueTracking-Whattoputinthedescriptionofanissuereport%3F
        Hide
        mattskic Matt Connolly added a comment -

        Added more attachments and details to bug description.

        Show
        mattskic Matt Connolly added a comment - Added more attachments and details to bug description.
        mattskic Matt Connolly made changes -
        Field Original Value New Value
        Attachment jenkins-system-info.html [ 21044 ]
        Attachment jenkins-log.txt [ 21045 ]
        Description Running the installer on Mac OS X 10.7.2 does not result in a working Jenkins installation.

        Pointing a browser to http://localhost:8080/ results in a response indicating a 404 file not found error. There is no useful information in the console log indicating what file is missing.

        If I `sudo launchctl unload /Library/LaunchDaemons/org.jenkins-ci.plist` and then `java -jar /Applications/Jenkins/jenkins.war`, then I can get Jenkins to appear, but clicking on "New Job" returns a 500 Server error with a long java stack trace. (attached)
        Running the Jenkins 1.438 installer on Mac OS X 10.7.2 does not result in a working Jenkins installation.

        Pointing a browser to http://localhost:8080/ results in a response indicating a 404 file not found error. It appears that the installer is not creating files in the '/Users/Shared/Jenkins/Home' directory, which are expected to be there, resulting in the app failing to initialise correctly.

        If I `sudo launchctl unload /Library/LaunchDaemons/org.jenkins-ci.plist` and then `java -jar /Applications/Jenkins/jenkins.war`, then I can get Jenkins to appear, but clicking on "New Job" returns a 500 Server error with a long java stack trace. (attached)
        mattskic Matt Connolly made changes -
        Description Running the Jenkins 1.438 installer on Mac OS X 10.7.2 does not result in a working Jenkins installation.

        Pointing a browser to http://localhost:8080/ results in a response indicating a 404 file not found error. It appears that the installer is not creating files in the '/Users/Shared/Jenkins/Home' directory, which are expected to be there, resulting in the app failing to initialise correctly.

        If I `sudo launchctl unload /Library/LaunchDaemons/org.jenkins-ci.plist` and then `java -jar /Applications/Jenkins/jenkins.war`, then I can get Jenkins to appear, but clicking on "New Job" returns a 500 Server error with a long java stack trace. (attached)
        Running the Jenkins 1.438 installer on Mac OS X 10.7.2 does not result in a working Jenkins installation.

        Pointing a browser to http://localhost:8080/ results in a response indicating a 404 file not found error. It appears that the installer is not creating files in the '/Users/Shared/Jenkins/Home' directory, which are expected to be there, resulting in the app failing to initialise correctly.

        If I `sudo launchctl unload /Library/LaunchDaemons/org.jenkins-ci.plist` and then `java -jar /Applications/Jenkins/jenkins.war`, then I can get Jenkins to appear, but clicking on "New Job" returns a 500 Server error with a long java stack trace. (attached)

        MattBookPro:~ matt$ java -version
        java version "1.6.0_29"
        Java(TM) SE Runtime Environment (build 1.6.0_29-b11-402-11M3527)
        Java HotSpot(TM) 64-Bit Server VM (build 20.4-b02-402, mixed mode)
        Hide
        mikefullerton Mike Fullerton added a comment -

        I'm seeing this same behavior on 10.7.2

        Show
        mikefullerton Mike Fullerton added a comment - I'm seeing this same behavior on 10.7.2
        Hide
        ooyama Hiroki Ooyama added a comment -

        The installer has created the wrong name of the HOME directory owner (/Users/Shares/Jenkins).
        I think, owner of this directory is "root" instead of "daemon".

        Show
        ooyama Hiroki Ooyama added a comment - The installer has created the wrong name of the HOME directory owner (/Users/Shares/Jenkins). I think, owner of this directory is "root" instead of "daemon".
        Hide
        scm_issue_link SCM/JIRA link daemon added a comment -

        Code changed in jenkins
        User: Kohsuke Kawaguchi
        Path:
        changelog.html
        osx/scripts/postinstall-launchd
        http://jenkins-ci.org/commit/jenkins/68a7f8e319472e680a8a329f5c9d94362bbbdc02
        Log:
        [FIXED JENKINS-11714] Fixed the problem in the find command operator priority.

        see https://groups.google.com/forum/#!topic/jenkinsci-ja/4FsDhryOwYE

        Show
        scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Kohsuke Kawaguchi Path: changelog.html osx/scripts/postinstall-launchd http://jenkins-ci.org/commit/jenkins/68a7f8e319472e680a8a329f5c9d94362bbbdc02 Log: [FIXED JENKINS-11714] Fixed the problem in the find command operator priority. see https://groups.google.com/forum/#!topic/jenkinsci-ja/4FsDhryOwYE
        scm_issue_link SCM/JIRA link daemon made changes -
        Status Open [ 1 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]
        Hide
        dogfood dogfood added a comment -

        Integrated in jenkins_main_trunk #1330
        [FIXED JENKINS-11714] Fixed the problem in the find command operator priority.

        Kohsuke Kawaguchi : 68a7f8e319472e680a8a329f5c9d94362bbbdc02
        Files :

        • changelog.html
        • osx/scripts/postinstall-launchd
        Show
        dogfood dogfood added a comment - Integrated in jenkins_main_trunk #1330 [FIXED JENKINS-11714] Fixed the problem in the find command operator priority. Kohsuke Kawaguchi : 68a7f8e319472e680a8a329f5c9d94362bbbdc02 Files : changelog.html osx/scripts/postinstall-launchd
        Hide
        zeljkofilipin Željko Filipin added a comment -

        I have just installed jenkins-1.441.pkg on a clean lion machine, and I still get 404 page at http://localhost:8080. Will the fix be in jenkins-1.442.pkg?

        Show
        zeljkofilipin Željko Filipin added a comment - I have just installed jenkins-1.441.pkg on a clean lion machine, and I still get 404 page at http://localhost:8080 . Will the fix be in jenkins-1.442.pkg?
        Hide
        scm_issue_link SCM/JIRA link daemon added a comment -

        Code changed in jenkins
        User: Kohsuke Kawaguchi
        Path:
        scripts/postinstall-launchd
        http://jenkins-ci.org/commit/packaging/20cc5e1dea216a201a4498171afcdfb85f02e89a
        Log:
        [FIXED JENKINS-11714] Fixed the problem in the find command operator priority.

        see https://groups.google.com/forum/#!topic/jenkinsci-ja/4FsDhryOwYE

        Originally-From: jenkins-ci.org/commit/core/68a7f8e319472e680a8a329f5c9d94362bbbdc02

        Show
        scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Kohsuke Kawaguchi Path: scripts/postinstall-launchd http://jenkins-ci.org/commit/packaging/20cc5e1dea216a201a4498171afcdfb85f02e89a Log: [FIXED JENKINS-11714] Fixed the problem in the find command operator priority. see https://groups.google.com/forum/#!topic/jenkinsci-ja/4FsDhryOwYE Originally-From: jenkins-ci.org/commit/core/68a7f8e319472e680a8a329f5c9d94362bbbdc02

          People

          • Assignee:
            Unassigned
            Reporter:
            mattskic Matt Connolly
          • Votes:
            4 Vote for this issue
            Watchers:
            6 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: