[ 
https://issues.apache.org/jira/browse/TC-232?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15968175#comment-15968175
 ] 

ASF GitHub Bot commented on TC-232:
-----------------------------------

GitHub user dangogh opened a pull request:

    https://github.com/apache/incubator-trafficcontrol/pull/468

    [TC-232] Wrap postinstall

    renamed Perl `postinstall` to `_postinstall` --
    
    `postinstall` is now a bash wrapper that installs the Perl modules prior to 
kicking off the `_postinstall` Perl script,  which allows it to use all the 
modules previously installed.
    
    This eliminates the chicken vs egg problem we've seen with `postinstall` on 
a fresh system.

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/dangogh/incubator-trafficcontrol 
wrap-postinstall

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/incubator-trafficcontrol/pull/468.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #468
    
----
commit 3067dab4dad03139de9762375753910429687f3f
Author: Dan Kirkwood <[email protected]>
Date:   2017-04-13T19:28:46Z

    add postinstall wrapper

commit d9c41d9f3963ffc4101b5e4e3aa2290d7aacce72
Author: Dan Kirkwood <[email protected]>
Date:   2017-04-13T19:53:26Z

    chown now done by wrapper

commit f87aae625b7e2d6ecfb54cb132bdb9215c39ae59
Author: Dan Kirkwood <[email protected]>
Date:   2017-04-13T20:01:17Z

    remove BuildPerlDeps -- done by carton in wrapper

commit 3511580053ea4713ab31eba0f33c257ee191228f
Author: Dan Kirkwood <[email protected]>
Date:   2017-04-13T20:14:18Z

    POSTGRES_HOME before carton

commit 865d152ae1e8aacee89aaa4d15b1936176935bb4
Author: Dan Kirkwood <[email protected]>
Date:   2017-04-13T20:15:43Z

    fix missing decls

----


> TO postinstall fails with 401 Unauthorized
> ------------------------------------------
>
>                 Key: TC-232
>                 URL: https://issues.apache.org/jira/browse/TC-232
>             Project: Traffic Control
>          Issue Type: Bug
>          Components: Traffic Ops
>    Affects Versions: 2.0.0
>            Reporter: Dan Kirkwood
>             Fix For: 2.0.0
>
>
> Running postinstall immediately after initial  traffic_ops install,  I get 
> this error after traffic_ops is started:
> Checking profiles at https://localhost using username admin
> Error checking if profiles exist: 401 Unauthorized



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Reply via email to