curl -XDELETED http://search1.oae.esup-portail.org:9200/oae -v * Adding handle: conn: 0x7f9043003a00 * Adding handle: send: 0 * Adding handle: recv: 0 * Curl_addHandleToPipeline: length: 1 * - Conn 0 (0x7f9043003a00) send_pipe: 1, recv_pipe: 0 * About to connect() to search1.oae.esup-portail.org port 9200 (#0) * Trying 172.16.66.48... * Connected to search1.oae.esup-portail.org (172.16.66.48) port 9200 (#0) > DELETED /oae HTTP/1.1 > User-Agent: curl/7.30.0 > Host: search1.oae.esup-portail.org:9200 > Accept: */* > < HTTP/1.1 400 Bad Request < Content-Type: text/plain; charset=UTF-8 < Content-Length: 48 < * Connection #0 to host search1.oae.esup-portail.org left intact No handler found for uri [/oae] and method [GET]M
???? Le 13 mars 2014 à 18:26, Branden Visser <mrvis...@gmail.com> a écrit : > The log indicates the index wasn't deleted. Was the curl request to > delete the search index successful? > > On Thu, Mar 13, 2014 at 1:22 PM, frederic dooremont > <frederic.doorem...@univ-littoral.fr> wrote: >> >> this is hilary log : >> >> >> {"name":"oae","hostname":"angel","pid":14043,"level":30,"msg":"Starting >> OAE","time":"2014-03-13T17:21:15.647Z","v":0} >> {"name":"oae-modules","hostname":"angel","pid":14043,"level":30,"msg":"Starting >> modules: oae-util, oae-logger, oae-telemetry, oae-tenants, oae-config, >> oae-authentication, oae-search, oae-discussions, oae-email, oae-following, >> oae-google-analytics, oae-library, oae-activity, oae-content, >> oae-messagebox, oae-preview-processor, oae-principals, oae-profiles, >> oae-release-tools, oae-rest, oae-context, oae-authz, oae-doc, oae-tests, >> oae-tincanapi, oae-ui, >> oae-mediacore","time":"2014-03-13T17:21:15.762Z","v":0} >> {"name":"signature","hostname":"angel","pid":14043,"level":40,"msg":"You are >> using the default key to sign URLs, this is *NOT* secure and should be >> changed immediately.\nThe system will continue to function, but it is >> strongly recommended that you change your >> key.\n","time":"2014-03-13T17:21:16.002Z","v":0} >> {"name":"oae-cleaner","hostname":"angel","pid":14043,"level":30,"interval":7200,"directory":"/tmp/oae","msg":"Starting >> clean job.","time":"2014-03-13T17:21:16.002Z","v":0} >> {"name":"mq","hostname":"angel","pid":14043,"level":30,"msg":"Initializing >> RabbitMQ connector","time":"2014-03-13T17:21:16.003Z","v":0} >> {"name":"mq","hostname":"angel","pid":14043,"level":30,"msg":"Connection to >> RabbitMQ established.","time":"2014-03-13T17:21:16.052Z","v":0} >> {"name":"mq","hostname":"angel","pid":14043,"level":30,"queueName":"oae-util-mq-redeliverqueue","msg":"Created/Retrieved >> a RabbitMQ queue","time":"2014-03-13T17:21:16.056Z","v":0} >> {"name":"oae-modules","hostname":"angel","pid":14043,"level":30,"msg":"Initialized >> module oae-util","time":"2014-03-13T17:21:16.059Z","v":0} >> {"name":"oae-logger","hostname":"angel","pid":14043,"level":30,"msg":"Refreshing >> log configuration","time":"2014-03-13T17:21:16.062Z","v":0} >> {"name":"oae-modules","hostname":"angel","pid":14043,"level":30,"msg":"Initialized >> module oae-logger","time":"2014-03-13T17:21:16.062Z","v":0} >> {"name":"oae-modules","hostname":"angel","pid":14043,"level":30,"msg":"Initialized >> module oae-telemetry","time":"2014-03-13T17:21:16.065Z","v":0} >> {"name":"oae-modules","hostname":"angel","pid":14043,"level":30,"msg":"Initialized >> module oae-tenants","time":"2014-03-13T17:21:16.118Z","v":0} >> {"name":"oae-modules","hostname":"angel","pid":14043,"level":30,"msg":"Initialized >> module oae-config","time":"2014-03-13T17:21:16.197Z","v":0} >> {"name":"oae-authentication","hostname":"angel","pid":14043,"level":30,"msg":"Registered >> authentication strategy \"cas\"","time":"2014-03-13T17:21:16.486Z","v":0} >> {"name":"oae-authentication","hostname":"angel","pid":14043,"level":30,"msg":"Registered >> authentication strategy >> \"facebook\"","time":"2014-03-13T17:21:16.505Z","v":0} >> {"name":"oae-authentication","hostname":"angel","pid":14043,"level":30,"msg":"Registered >> authentication strategy \"google\"","time":"2014-03-13T17:21:16.531Z","v":0} >> {"name":"oae-authentication","hostname":"angel","pid":14043,"level":30,"msg":"Registered >> authentication strategy \"ldap\"","time":"2014-03-13T17:21:16.643Z","v":0} >> {"name":"oae-authentication","hostname":"angel","pid":14043,"level":30,"msg":"Registered >> authentication strategy \"local\"","time":"2014-03-13T17:21:16.657Z","v":0} >> {"name":"oae-authentication","hostname":"angel","pid":14043,"level":30,"msg":"Registered >> authentication strategy >> \"shibboleth\"","time":"2014-03-13T17:21:16.726Z","v":0} >> {"name":"oae-authentication","hostname":"angel","pid":14043,"level":30,"msg":"Registered >> authentication strategy \"signed\"","time":"2014-03-13T17:21:16.746Z","v":0} >> {"name":"oae-authentication","hostname":"angel","pid":14043,"level":30,"msg":"Registered >> authentication strategy >> \"twitter\"","time":"2014-03-13T17:21:16.775Z","v":0} >> {"name":"oae-modules","hostname":"angel","pid":14043,"level":30,"msg":"Initialized >> module oae-authentication","time":"2014-03-13T17:21:16.775Z","v":0} >> {"name":"elasticsearchclient","hostname":"angel","pid":14043,"level":30,"config":{"index":"oae","serverOpts":{"hosts":[{"host":"search1.oae.esup-portail.org","port":9200},{"host":"search2.oae.esup-portail.org","port":9200}]}},"msg":"Refreshed >> search configuration.","time":"2014-03-13T17:21:16.788Z","v":0} >> {"name":"mq","hostname":"angel","pid":14043,"level":30,"queueName":"oae-search/index","msg":"Created/Retrieved >> a RabbitMQ queue","time":"2014-03-13T17:21:16.791Z","v":0} >> {"name":"mq","hostname":"angel","pid":14043,"level":30,"queueName":"oae-search/delete","msg":"Created/Retrieved >> a RabbitMQ queue","time":"2014-03-13T17:21:16.795Z","v":0} >> {"name":"mq","hostname":"angel","pid":14043,"level":30,"queueName":"oae-search/reindex","msg":"Created/Retrieved >> a RabbitMQ queue","time":"2014-03-13T17:21:16.799Z","v":0} >> {"name":"oae-modules","hostname":"angel","pid":14043,"level":30,"msg":"Initialized >> module oae-search","time":"2014-03-13T17:21:16.823Z","v":0} >> {"name":"elasticsearchclient","hostname":"angel","pid":14043,"level":30,"typeData":{"discussion_message":{"_source":{"enabled":false},"properties":{"body":{"type":"string","store":"no","index":"analyzed","analyzer":"message"}},"_parent":{"type":"resource"}}},"msg":"Creating >> new search type mapping.","time":"2014-03-13T17:21:17.002Z","v":0} >> {"name":"oae-modules","hostname":"angel","pid":14043,"level":50,"err":{"error":"MapperParsingException[Analyzer >> [message] not found for field [body]]","status":400},"msg":"Error >> initializing module >> oae-discussions","time":"2014-03-13T17:21:17.008Z","v":0} >> {"name":"oae","hostname":"angel","pid":14043,"level":30,"msg":"All modules >> are bootstrapped, initializing >> servers.","time":"2014-03-13T17:21:17.008Z","v":0} >> {"name":"system","hostname":"angel","pid":14043,"level":50,"err":{"error":"MapperParsingException[Analyzer >> [message] not found for field [body]]","status":400},"msg":"Error >> initializing server.","time":"2014-03-13T17:21:17.008Z","v":0} >> {"name":"system","hostname":"angel","pid":14043,"level":30,"msg":"Initialization >> all done ... Firing up tenants ... >> Enjoy!","time":"2014-03-13T17:21:17.008Z","v":0} >> >> >> >> >> >> Le 13 mars 2014 à 18:12, Branden Visser <mrvis...@gmail.com> a écrit : >> >> Hi Frederic, the log lines being shown indicate that the server did >> not start up properly. >> >> Can you share the log during startup? >> >> Thanks, >> Branden >> >> On Thu, Mar 13, 2014 at 1:03 PM, frederic dooremont >> <frederic.doorem...@univ-littoral.fr> wrote: >> >> Hi all, >> >> I followed your cookbook but i have the same error : >> >> >> in log hilary : >> [2014-03-13T16:52:52.482Z] INFO: oae-server/10242 on polaris: Rejecting >> request during shutdown with 502 error. (path=/api/ui/skin) >> [2014-03-13T16:52:52.752Z] INFO: oae-server/10242 on polaris: Rejecting >> request during shutdown with 502 error. (path=/api/me) >> >> in log nginx : >> >> ==> /var/log/nginx/error.log <== >> 2014/03/13 17:53:09 [error] 3536#0: *84 open() >> "/usr/share/nginx/html/unavailable" failed (2: No such file or directory), >> client: 172.19.195.69, server: admin.oae.esup-portail.org, request: "GET >> /unavailable HTTP/1.1", host: "admin.oae.esup-portail.org", referrer: >> "https://admin.oae.esup-portail.org/" >> >> ==> /var/log/nginx/access.log <== >> 172.19.195.69 - - [13/Mar/2014:17:53:09 +0100] "GET /unavailable HTTP/1.1" >> 404 168 "https://admin.oae.esup-portail.org/" "Mozilla/5.0 (Macintosh; Intel >> Mac OS X 10_9_2) AppleWebKit/537.74.9 (KHTML, like Gecko) Version/7.0.2 >> Safari/537.74.9" >> 127.0.0.1 - - [13/Mar/2014:17:55:00 +0100] "GET / HTTP/1.1" 301 184 "-" >> "Wget/1.13.4 (linux-gnu)" >> >> >> >> if i start https://admin.oae.esup-portail.org my browser url , my browser >> indicate https://admin.oae.esup-portail.org/unavailable url >> >> >> my process is : >> nginx stop update 3sakai server WEB >> hilary stop update 3sakai and hilary server APP >> curl -XDELETE http://search:9200/oae >> I restarted server search >> i start APP >> I start WEB >> >> >> >> thanks for your help >> >> >> >> >> >> Le 13 mars 2014 à 17:50, Branden Visser <mrvis...@gmail.com> a écrit : >> >> I just wanted to point out that the request in step [3] is a regular >> x-www-urlencoded request >> >> >> Oops! Thanks for the correction. >> >> On Thu, Mar 13, 2014 at 12:44 PM, Simon Gaeremynck >> <gaeremyn...@gmail.com> wrote: >> >> All that is correct, I just wanted to point out that the request in step [3] >> is a regular x-www-urlencoded request. >> jQuery just converts the `data` object into the appropriate HTTP request. >> The `revision_mime` array results in a POST parameter of the form >> `revision_mime=<value>` for each value. >> See http://cl.ly/image/3U1g340M322C as to how that may look like >> >> You could do it with curl if you really wanted to: >> curl http://admin.oae.com/api/content/reprocessPreviews >> -d"revision_mime=application/msword" -d"revision_mime=application/rdf+xml" >> -d ... >> >> As Branden said though, it's often much easier to do it from the browser >> console. >> >> Simon >> >> On 13 Mar 2014, at 15:54, Branden Visser <mrvis...@gmail.com> wrote: >> >> Hi Frederic, >> >> For upgrading from 4.3 to 4.4, you'll need to: >> >> * Delete the 'oae' elasticsearch index [1], restart your application >> servers and then reindex [2] >> * Reprocess all PDF Document / MS Word previews [3] >> >> [1] >> http://www.elasticsearch.org/guide/en/elasticsearch/reference/current/docs-delete.html >> (e.g., curl -XDELETE http://search:9200/oae) >> >> [2] To reindex, send a POST request as global admin to the global >> admin server: http://admin.oae.com/api/search/reindexAll >> >> [3] Use the reprocessPreviews API to reprocess all revisions filtering >> to the applicable mime-types. This is what we reprocessed with in our >> production deployment: >> >> $.ajax({ >> 'type': 'POST', >> 'url': '/api/content/reprocessPreviews', >> 'data': { >> 'revision_mime': [ >> 'application/msword', >> 'application/rdf+xml', >> 'application/vnd.ms-excel', >> 'application/vnd.ms-powerpoint', >> 'application/vnd.oasis.opendocument.presentation', >> 'application/vnd.oasis.opendocument.spreadsheet', >> 'application/vnd.oasis.opendocument.text', >> >> 'application/vnd.openxmlformats-officedocument.presentationml.presentation', >> 'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet', >> >> 'application/vnd.openxmlformats-officedocument.wordprocessingml.document', >> 'application/x-mspowerpoint', >> 'application/x-pdf', >> 'application/x-powerpoint', >> 'text/plain', >> 'application/pdf' >> ] >> } >> }); >> >> Note for this query it isn't x-www-urlencoded data, I believe it's a >> JSON data request body. I'd recommend using the web browser developer >> console to invoke this request as global admin using jQuery rather >> than using cURL. The benefit to this technique is that you don't have >> to acquire a session using cURL and store it in an environment >> variable, the web developer console will use your current web browsing >> cookies. >> >> Thanks, >> Branden >> >> >> On Thu, Mar 13, 2014 at 11:34 AM, Frédéric Dooremont >> <frederic.doorem...@univ-littoral.fr> wrote: >> >> hi, >> >> I have update my hosting in 4.4 but i have lot of error in hilary log file : >> >> [2014-03-13T15:27:14.293Z] ERROR: system/1884 on iceberg: Error initializing >> server. >> err: { >> "error": >> "RemoteTransportException[[N'Garai][inet[/172.16.66.48:9300]][indices/mapping/put]]; >> nested: MapperParsingException[Analyzer [message] not found for field >> [body]]; ", >> "status": 400 >> } >> [2014-03-13T15:27:14.293Z] INFO: system/1884 on iceberg: Initialization all >> done ... Firing up tenants ... Enjoy! >> [2014-03-13T15:30:05.132Z] INFO: oae-server/1884 on iceberg: Rejecting >> request during shutdown with 502 error. (path=/api/ui/skin) >> [2014-03-13T15:30:05.663Z] INFO: oae-server/1884 on iceberg: Rejecting >> request during shutdown with 502 error. (path=/api/me) >> [2014-03-13T15:30:14.694Z] INFO: oae-server/1884 on iceberg: Rejecting >> request during shutdown with 502 error. (path=/api/ui/skin) >> [2014-03-13T15:30:14.955Z] INFO: oae-server/1884 on iceberg: Rejecting >> request during shutdown with 502 error. (path=/api/me) >> [2014-03-13T15:33:33.639Z] INFO: oae-server/1884 on iceberg: Rejecting >> request during shutdown with 502 error. (path=/api/ui/skin) >> [2014-03-13T15:33:33.877Z] INFO: oae-server/1884 on iceberg: Rejecting >> request during shutdown with 502 error. (path=/api/me) >> [2014-03-13T15:33:34.000Z] INFO: oae-server/1884 on iceberg: Rejecting >> request during shutdown with 502 error. (path=/api/ui/skin) >> [2014-03-13T15:33:34.150Z] INFO: oae-server/1884 on iceberg: Rejecting >> request during shutdown with 502 error. (path=/api/me) >> >> >> >> >> and in nginx log i have : >> >> 172.19.195.69 - - [13/Mar/2014:16:33:30 +0100] "GET / HTTP/1.1" 200 1318 "-" >> "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_9_2) AppleWebKit/537.36 (KHTML, >> like Gecko) Chrome/33.0.1750.146 Safari/537.36" >> 172.19.195.69 - - [13/Mar/2014:16:33:31 +0100] "GET >> /shared/oae/css/oae.core.85afb776.css HTTP/1.1" 200 27055 >> "https://oae.esup-portail.org/" "Mozilla/5.0 (Macintosh; Intel Mac OS X >> 10_9_2) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/33.0.1750.146 >> Safari/537.36" >> 172.19.195.69 - - [13/Mar/2014:16:33:31 +0100] "GET >> /ui/css/oae.index.ae10bee6.css HTTP/1.1" 200 542 >> "https://oae.esup-portail.org/" "Mozilla/5.0 (Macintosh; Intel Mac OS X >> 10_9_2) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/33.0.1750.146 >> Safari/537.36" >> 172.19.195.69 - - [13/Mar/2014:16:33:31 +0100] "GET /api/ui/skin HTTP/1.1" >> 502 38 "https://oae.esup-portail.org/" "Mozilla/5.0 (Macintosh; Intel Mac OS >> X 10_9_2) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/33.0.1750.146 >> Safari/537.36" >> 172.19.195.69 - - [13/Mar/2014:16:33:31 +0100] "GET >> /shared/oae/api/oae.bootstrap.e0694d70.js HTTP/1.1" 200 1255 >> "https://oae.esup-portail.org/" "Mozilla/5.0 (Macintosh; Intel Mac OS X >> 10_9_2) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/33.0.1750.146 >> Safari/537.36" >> 172.19.195.69 - - [13/Mar/2014:16:33:31 +0100] "GET >> /shared/oae/api/oae.core.8e544aa1.js HTTP/1.1" 200 84301 >> "https://oae.esup-portail.org/" "Mozilla/5.0 (Macintosh; Intel Mac OS X >> 10_9_2) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/33.0.1750.146 >> Safari/537.36" >> 172.19.195.69 - - [13/Mar/2014:16:33:31 +0100] "GET /api/me HTTP/1.1" 502 38 >> "https://oae.esup-portail.org/" "Mozilla/5.0 (Macintosh; Intel Mac OS X >> 10_9_2) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/33.0.1750.146 >> Safari/537.36" >> 172.19.195.69 - - [13/Mar/2014:16:33:31 +0100] "GET /unavailable HTTP/1.1" >> 200 727 "https://oae.esup-portail.org/" "Mozilla/5.0 (Macintosh; Intel Mac >> OS X 10_9_2) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/33.0.1750.146 >> Safari/537.36" >> 172.19.195.69 - - [13/Mar/2014:16:33:31 +0100] "GET >> /shared/oae/css/oae.skin.static.37f7bd08.css HTTP/1.1" 200 402 >> "https://oae.esup-portail.org/unavailable" "Mozilla/5.0 (Macintosh; Intel >> Mac OS X 10_9_2) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/33.0.1750.146 >> Safari/537.36" >> 172.19.195.69 - - [13/Mar/2014:16:33:31 +0100] "GET >> /shared/oae/errors/css/oae.error.afdd4559.css HTTP/1.1" 200 781 >> "https://oae.esup-portail.org/unavailable" "Mozilla/5.0 (Macintosh; Intel >> Mac OS X 10_9_2) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/33.0.1750.146 >> Safari/537.36" >> 172.19.195.69 - - [13/Mar/2014:16:33:31 +0100] "GET /api/ui/skin HTTP/1.1" >> 502 38 "https://oae.esup-portail.org/unavailable" "Mozilla/5.0 (Macintosh; >> Intel Mac OS X 10_9_2) AppleWebKit/537.36 (KHTML, like Gecko) >> Chrome/33.0.1750.146 Safari/537.36" >> 172.19.195.69 - - [13/Mar/2014:16:33:31 +0100] "GET >> /shared/vendor/css/opensans/font/opensans-lightitalic-webfont.2dd61097.woff >> HTTP/1.1" 200 27396 "https://oae.esup-portail.org/" "Mozilla/5.0 (Macintosh; >> Intel Mac OS X 10_9_2) AppleWebKit/537.36 (KHTML, like Gecko) >> Chrome/33.0.1750.146 Safari/537.36" >> 172.19.195.69 - - [13/Mar/2014:16:33:31 +0100] "GET >> /shared/oae/errors/js/unavailable.a860d0d2.js HTTP/1.1" 200 139 >> "https://oae.esup-portail.org/unavailable" "Mozilla/5.0 (Macintosh; Intel >> Mac OS X 10_9_2) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/33.0.1750.146 >> Safari/537.36" >> >> ==> /var/log/nginx/error.log <== >> 2014/03/13 16:33:31 [error] 27272#0: *32 no live upstreams while connecting >> to upstream, client: 172.19.195.69, server: oae.esup-portail.org, request: >> "GET /api/me HTTP/1.1", upstream: "http://tenantworkers/api/me", host: >> "oae.esup-portail.org", referrer: "https://oae.esup-portail.org/unavailable" >> >> ==> /var/log/nginx/access.log <== >> 172.19.195.69 - - [13/Mar/2014:16:33:31 +0100] "GET /api/me HTTP/1.1" 502 >> 1827 "https://oae.esup-portail.org/unavailable" "Mozilla/5.0 (Macintosh; >> Intel Mac OS X 10_9_2) AppleWebKit/537.36 (KHTML, like Gecko) >> Chrome/33.0.1750.146 Safari/537.36" >> >> >> >> can you help me please ? >> >> kings >> frederic >> >> >> >> _______________________________________________ >> oae-dev mailing list >> oae-dev@collab.sakaiproject.org >> http://collab.sakaiproject.org/mailman/listinfo/oae-dev >> >> _______________________________________________ >> oae-dev mailing list >> oae-dev@collab.sakaiproject.org >> http://collab.sakaiproject.org/mailman/listinfo/oae-dev >> >> >> >>
_______________________________________________ oae-dev mailing list oae-dev@collab.sakaiproject.org http://collab.sakaiproject.org/mailman/listinfo/oae-dev