You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@clerezza.apache.org by "Daniel Spicar (JIRA)" <ji...@apache.org> on 2012/05/27 12:03:22 UTC

[jira] [Created] (CLEREZZA-706) Clerezza site deployment not working

Daniel Spicar created CLEREZZA-706:
--------------------------------------

             Summary: Clerezza site deployment not working
                 Key: CLEREZZA-706
                 URL: https://issues.apache.org/jira/browse/CLEREZZA-706
             Project: Clerezza
          Issue Type: Bug
            Reporter: Daniel Spicar
            Assignee: Daniel Spicar


There are some issues in deploy.sh:
- The script tries to connect to people.apache.org via SSH but does not specify the SSH user. Probabaly the system user name is used but that may be wrong.
- The script tries to deploy the site to  '/www/incubator.apache.org/clerezza' but the correct location is '/www/incubator.apache.org/content/clerezza'

Issues probably related to offline site generator:
- The site<id>.zip contains the old version of the page as *.html file (e.g. index.html) and the new version of the page as *.xhtml file (e.g. index.xhtml). By default the apache webserver configuration will use the index.html file and thus ignore changes. (not sure if this happens under all circumstances but it happened when I tried to update the website)

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Assigned] (CLEREZZA-706) Clerezza site deployment not working

Posted by "Reto Bachmann-Gmür (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/CLEREZZA-706?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Reto Bachmann-Gmür reassigned CLEREZZA-706:
-------------------------------------------

    Assignee: Reto Bachmann-Gmür  (was: Daniel Spicar)
    
> Clerezza site deployment not working
> ------------------------------------
>
>                 Key: CLEREZZA-706
>                 URL: https://issues.apache.org/jira/browse/CLEREZZA-706
>             Project: Clerezza
>          Issue Type: Bug
>            Reporter: Daniel Spicar
>            Assignee: Reto Bachmann-Gmür
>         Attachments: zz-706-wireshark.pcap
>
>
> There are some issues in deploy.sh:
> - The script tries to connect to people.apache.org via SSH but does not specify the SSH user. Probabaly the system user name is used but that may be wrong.
> - The script tries to deploy the site to  '/www/incubator.apache.org/clerezza' but the correct location is '/www/incubator.apache.org/content/clerezza'
> Issues probably related to offline site generator:
> - The site<id>.zip contains the old version of the page as *.html file (e.g. index.html) and the new version of the page as *.xhtml file (e.g. index.xhtml). By default the apache webserver configuration will use the index.html file and thus ignore changes. (not sure if this happens under all circumstances but it happened when I tried to update the website)

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

[jira] [Commented] (CLEREZZA-706) Clerezza site deployment not working

Posted by "Reto Bachmann-Gmür (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CLEREZZA-706?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13288453#comment-13288453 ] 

Reto Bachmann-Gmür commented on CLEREZZA-706:
---------------------------------------------

I've just created a zip with curl -u admin:admin "http://localhost:8080/admin/offline/download?baseUri=http://localhost:8080/&targetUri=http://incubator.apache.org/clerezza/&formatExtension=xhtml&formatExtension=rdf&formatExtension=png&formatExtension=html&formatExtension=js&formatExtension=jpeg&formatExtension=css&rootLinkPrefix=/clerezza" > myzip.zip

The zip contain both an xhtml and html version and both conatin the latest schanges. 

It is true that the script assumes the local username to be identical to the one on people.apache.org, you could fix the script to use the value of environment var and only fall back to the local user wehn this var is not set.
                
> Clerezza site deployment not working
> ------------------------------------
>
>                 Key: CLEREZZA-706
>                 URL: https://issues.apache.org/jira/browse/CLEREZZA-706
>             Project: Clerezza
>          Issue Type: Bug
>            Reporter: Daniel Spicar
>            Assignee: Daniel Spicar
>
> There are some issues in deploy.sh:
> - The script tries to connect to people.apache.org via SSH but does not specify the SSH user. Probabaly the system user name is used but that may be wrong.
> - The script tries to deploy the site to  '/www/incubator.apache.org/clerezza' but the correct location is '/www/incubator.apache.org/content/clerezza'
> Issues probably related to offline site generator:
> - The site<id>.zip contains the old version of the page as *.html file (e.g. index.html) and the new version of the page as *.xhtml file (e.g. index.xhtml). By default the apache webserver configuration will use the index.html file and thus ignore changes. (not sure if this happens under all circumstances but it happened when I tried to update the website)

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

[jira] [Commented] (CLEREZZA-706) Clerezza site deployment not working

Posted by "Reto Bachmann-Gmür (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CLEREZZA-706?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13397335#comment-13397335 ] 

Reto Bachmann-Gmür commented on CLEREZZA-706:
---------------------------------------------

It seems that things are basically working but that a change since the release caused a massive performance degradation. The 500 error "no suitable renderer found" are due by the offline generator requesting every uri with different accept-headers to generate the different media-type files.
                
> Clerezza site deployment not working
> ------------------------------------
>
>                 Key: CLEREZZA-706
>                 URL: https://issues.apache.org/jira/browse/CLEREZZA-706
>             Project: Clerezza
>          Issue Type: Bug
>            Reporter: Daniel Spicar
>            Assignee: Daniel Spicar
>         Attachments: zz-706-wireshark.pcap
>
>
> There are some issues in deploy.sh:
> - The script tries to connect to people.apache.org via SSH but does not specify the SSH user. Probabaly the system user name is used but that may be wrong.
> - The script tries to deploy the site to  '/www/incubator.apache.org/clerezza' but the correct location is '/www/incubator.apache.org/content/clerezza'
> Issues probably related to offline site generator:
> - The site<id>.zip contains the old version of the page as *.html file (e.g. index.html) and the new version of the page as *.xhtml file (e.g. index.xhtml). By default the apache webserver configuration will use the index.html file and thus ignore changes. (not sure if this happens under all circumstances but it happened when I tried to update the website)

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

[jira] [Updated] (CLEREZZA-706) Clerezza site deployment not working

Posted by "Daniel Spicar (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/CLEREZZA-706?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Daniel Spicar updated CLEREZZA-706:
-----------------------------------

    Attachment: zz-706-wireshark.pcap

 I attached the wireshark log.
                
> Clerezza site deployment not working
> ------------------------------------
>
>                 Key: CLEREZZA-706
>                 URL: https://issues.apache.org/jira/browse/CLEREZZA-706
>             Project: Clerezza
>          Issue Type: Bug
>            Reporter: Daniel Spicar
>            Assignee: Daniel Spicar
>         Attachments: zz-706-wireshark.pcap
>
>
> There are some issues in deploy.sh:
> - The script tries to connect to people.apache.org via SSH but does not specify the SSH user. Probabaly the system user name is used but that may be wrong.
> - The script tries to deploy the site to  '/www/incubator.apache.org/clerezza' but the correct location is '/www/incubator.apache.org/content/clerezza'
> Issues probably related to offline site generator:
> - The site<id>.zip contains the old version of the page as *.html file (e.g. index.html) and the new version of the page as *.xhtml file (e.g. index.xhtml). By default the apache webserver configuration will use the index.html file and thus ignore changes. (not sure if this happens under all circumstances but it happened when I tried to update the website)

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Resolved] (CLEREZZA-706) Clerezza site deployment not working

Posted by "Reto Bachmann-Gmür (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/CLEREZZA-706?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Reto Bachmann-Gmür resolved CLEREZZA-706.
-----------------------------------------

    Resolution: Fixed

- Added option in bundle-dev-tool (in CLEREZZA-705) to disable FastUpdateMode for a source-bundle and changed readme to use this option
- Adapted script to changed path
                
> Clerezza site deployment not working
> ------------------------------------
>
>                 Key: CLEREZZA-706
>                 URL: https://issues.apache.org/jira/browse/CLEREZZA-706
>             Project: Clerezza
>          Issue Type: Bug
>            Reporter: Daniel Spicar
>            Assignee: Reto Bachmann-Gmür
>         Attachments: zz-706-wireshark.pcap
>
>
> There are some issues in deploy.sh:
> - The script tries to connect to people.apache.org via SSH but does not specify the SSH user. Probabaly the system user name is used but that may be wrong.
> - The script tries to deploy the site to  '/www/incubator.apache.org/clerezza' but the correct location is '/www/incubator.apache.org/content/clerezza'
> Issues probably related to offline site generator:
> - The site<id>.zip contains the old version of the page as *.html file (e.g. index.html) and the new version of the page as *.xhtml file (e.g. index.xhtml). By default the apache webserver configuration will use the index.html file and thus ignore changes. (not sure if this happens under all circumstances but it happened when I tried to update the website)

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

[jira] [Commented] (CLEREZZA-706) Clerezza site deployment not working

Posted by "Reto Bachmann-Gmür (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CLEREZZA-706?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13397343#comment-13397343 ] 

Reto Bachmann-Gmür commented on CLEREZZA-706:
---------------------------------------------

I'm guilty. replacing platform.content.fsadaptor with the released version make things fast again. My changes to the fsadaptor for CLEREZZA-705 should only affect perfomance when an immediate change folder is registered. Actually one is registered: the one of the clerezza-site project. 
                
> Clerezza site deployment not working
> ------------------------------------
>
>                 Key: CLEREZZA-706
>                 URL: https://issues.apache.org/jira/browse/CLEREZZA-706
>             Project: Clerezza
>          Issue Type: Bug
>            Reporter: Daniel Spicar
>            Assignee: Daniel Spicar
>         Attachments: zz-706-wireshark.pcap
>
>
> There are some issues in deploy.sh:
> - The script tries to connect to people.apache.org via SSH but does not specify the SSH user. Probabaly the system user name is used but that may be wrong.
> - The script tries to deploy the site to  '/www/incubator.apache.org/clerezza' but the correct location is '/www/incubator.apache.org/content/clerezza'
> Issues probably related to offline site generator:
> - The site<id>.zip contains the old version of the page as *.html file (e.g. index.html) and the new version of the page as *.xhtml file (e.g. index.xhtml). By default the apache webserver configuration will use the index.html file and thus ignore changes. (not sure if this happens under all circumstances but it happened when I tried to update the website)

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

[jira] [Commented] (CLEREZZA-706) Clerezza site deployment not working

Posted by "Daniel Spicar (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CLEREZZA-706?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13396708#comment-13396708 ] 

Daniel Spicar commented on CLEREZZA-706:
----------------------------------------

Currently I have a different proble,. I am using latest clerezza build from svn trunk and tdb launcher.

I am following the instructions in readme.txt except I do not execute deploy.sh but instead try to manually get the site.zip.

When I request the site.zip at http://localhost:8080/admin/offline/download?baseUri=http://localhost:8080/&targetUri=http://incubator.apache.org/clerezza/&formatExtension=xhtml&formatExtension=rdf&formatExtension=png&formatExtension=html&formatExtension=js&formatExtension=jpeg&formatExtension=css&rootLinkPrefix=/clerezza via web browser or curl i don't get a response in a meaningful time (longest run I let it run for almost 40 min).

Looking at wireshark log I see that the process seems to do many other HTTP requests and gets many 500 error "no suitable renderer found".
                
> Clerezza site deployment not working
> ------------------------------------
>
>                 Key: CLEREZZA-706
>                 URL: https://issues.apache.org/jira/browse/CLEREZZA-706
>             Project: Clerezza
>          Issue Type: Bug
>            Reporter: Daniel Spicar
>            Assignee: Daniel Spicar
>         Attachments: zz-706-wireshark.pcap
>
>
> There are some issues in deploy.sh:
> - The script tries to connect to people.apache.org via SSH but does not specify the SSH user. Probabaly the system user name is used but that may be wrong.
> - The script tries to deploy the site to  '/www/incubator.apache.org/clerezza' but the correct location is '/www/incubator.apache.org/content/clerezza'
> Issues probably related to offline site generator:
> - The site<id>.zip contains the old version of the page as *.html file (e.g. index.html) and the new version of the page as *.xhtml file (e.g. index.xhtml). By default the apache webserver configuration will use the index.html file and thus ignore changes. (not sure if this happens under all circumstances but it happened when I tried to update the website)

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (CLEREZZA-706) Clerezza site deployment not working

Posted by "Daniel Spicar (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CLEREZZA-706?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13288477#comment-13288477 ] 

Daniel Spicar commented on CLEREZZA-706:
----------------------------------------

Fixing the script is the easy part but I could not comprehend why I end up with the old versions of the *.html files. Is there something about the workflow that is required but not documented in the readme file?
                
> Clerezza site deployment not working
> ------------------------------------
>
>                 Key: CLEREZZA-706
>                 URL: https://issues.apache.org/jira/browse/CLEREZZA-706
>             Project: Clerezza
>          Issue Type: Bug
>            Reporter: Daniel Spicar
>            Assignee: Daniel Spicar
>
> There are some issues in deploy.sh:
> - The script tries to connect to people.apache.org via SSH but does not specify the SSH user. Probabaly the system user name is used but that may be wrong.
> - The script tries to deploy the site to  '/www/incubator.apache.org/clerezza' but the correct location is '/www/incubator.apache.org/content/clerezza'
> Issues probably related to offline site generator:
> - The site<id>.zip contains the old version of the page as *.html file (e.g. index.html) and the new version of the page as *.xhtml file (e.g. index.xhtml). By default the apache webserver configuration will use the index.html file and thus ignore changes. (not sure if this happens under all circumstances but it happened when I tried to update the website)

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira