TWCable / grabbit

Grabbit - Fast Content Sync tool for AEM/CQ
Apache License 2.0
125 stars 64 forks source link

Not able to copy from one author to another getting no job id #204

Open ansbhatt opened 6 years ago

ansbhatt commented 6 years ago

Thanks for taking the time to fill out an issue! To help the community solve your issue, please provide answers to the following questions, along with supporting log and configuration files.

What version of AEM are you running? Version 6.0.0.SP3

How do you produce the issue?

Does the issue occur consistently?

Any additional details? @here, I have installed grabbit 3.0.5 on both client and server also installed Sun-Misc-Fragment-Bundle-1.0.0 on the server form where am transferring. Checked the way shown above it is running fine. But when i am running grabbit.sh, it is showing an html page like below with no job id and transaction id

Processing.....


"
Transaction ID:
Job IDs: <html>
<head>
    <title>Content modified /grabbit/job</title>
</head>
    <body>
    <h1>Content modified /grabbit/job</h1>
    <table>
        <tbody>
            <tr>
                <td>Status</td>
                <td><div id="Status">200</div></td>
            </tr>
            <tr>
                <td>Message</td>
                <td><div id="Message">OK</div></td>
            </tr>
            <tr>
                <td>Location</td>
                <td><a href="/grabbit/job" id="Location">/grabbit/job</a></td>
            </tr>
            <tr>
                <td>Parent Location</td>
                <td><img src="/libs/cq/linkchecker/resources/linkcheck_o.gif" alt="invalid link: /grabbit" title="invalid link: /grab                                   bit" border="0">/grabbit<img src="/libs/cq/linkchecker/resources/linkcheck_c.gif" border="0"></td>
            </tr>
            <tr>
                <td>Path</td>
                <td><div id="Path">/grabbit/job</div></td>
            </tr>
            <tr>
                <td>Referer</td>
                <td><div id="Referer"></div></td>
            </tr>
            <tr>
                <td>ChangeLog</td>
                <td><div id="ChangeLog">&lt;pre&gt;&lt;/pre&gt;</div></td>
            </tr>
        </tbody>
    </table>
    <p><a href="/grabbit/job">Modified Resource</a></p>
    <p><img src="/libs/cq/linkchecker/resources/linkcheck_o.gif" alt="invalid link: /grabbit" title="invalid link: /grabbit" border="                                   0">Parent of Modified Resource<img src="/libs/cq/linkchecker/resources/linkcheck_c.gif" border="0"></p>
    </body>
</html>
"
and in the client error.log am getting 

1.  22.03.2018 05:26:41.910 *WARN* [xxx.xx.xxx.xxx [1521710801904] POST /grabbit/job HTTP/1.1] com.twcable.grabbit.resources.GrabbitResourceProvider Unable to find resource for path: /grabbit.
2.  22.03.2018 05:26:41.910 *WARN* [xxx.xx.xxx.xxx [1521710801904] POST /grabbit/job HTTP/1.1] com.twcable.grabbit.resources.GrabbitResourceProvider Unable to find resource for path: /grabbit.

What can be the issue?

I am running grabbit.sh from the client, though have tried it running from server as well, it says job started but does not give any job id rather gives the above html page. 

Thanks in advance . I am using adobe Version 6.0.0.SP3
screenshot of grabbit/job/all.json on the both servers
![image](https://user-images.githubusercontent.com/37697060/37843190-3abc9980-2eea-11e8-8ce9-3b553a7cb5f9.png)

The output is like below:
![image](https://user-images.githubusercontent.com/37697060/37846398-82bbcdf6-2ef3-11e8-90f7-fd0f33fcfd53.png)
mzgubin commented 6 years ago

Seems like grabbit servlet isn't running. If the servlet is running it wouldn't show the page modified message. Check the components for grabbit under /system/console/components and make sure they are all set to 'Active'

sagarsane commented 6 years ago

@ansbhatt yeah it looks like Grabbit isn't running. Can you please check that all the grabbit components like @mzgubin mentioned are running and also check the Grabbit bundler under /system/console/bundles ?

If the Grabbit bundle is active, could you stop & start the Grabbit bundle and provide the logs for com.twcable.grabbit package?

Thanks!