Hi Frederic,

What command did you use to try and POST to
/api/content/reprocessPreview? The CSRF validation error occurs when
the "Referrer" head of a request is not that of the same origin that
sent it. For cURL, you can bypass it by specifying the flag: "-e /",
which simply sets the referrer as the root path of the target origin.

Thanks,
Branden

On Fri, Mar 14, 2014 at 4:36 AM, frederic dooremont
<frederic.doorem...@univ-littoral.fr> wrote:
> Hi all,
> after the update i have an error with a process preview, in hilary log :
>  WARN: oae-server/27581 on angel: CSRF validation failed: attempted to
> execute unsafe operation from untrusted origin. (method=POST,
> host=admin.oae.esup-portail.org, targetPath=/api/content/reprocessPreviews)
> if i download a file, the process preview can not generate a file
> and in log nginx i see
>
> ==> /var/log/nginx/error.log <==
> 2014/03/14 09:27:33 [error] 10382#0: *1861 connect() failed (111: Connection
> refused) while connecting to upstream, client: 172.19.195.69, server:
> oae.esup-portail.org, request: "GET /api/push/658/rudfgcvc/websocket
> HTTP/1.1", upstream:
> "http://194.214.218.136:2001/api/push/658/rudfgcvc/websocket";, host:
> "oae.esup-portail.org"
> 2014/03/14 09:27:33 [error] 10382#0: *1861 connect() failed (111: Connection
> refused) while connecting to upstream, client: 172.19.195.69, server:
> oae.esup-portail.org, request: "GET /api/push/658/rudfgcvc/websocket
> HTTP/1.1", upstream:
> "http://194.214.218.135:2001/api/push/658/rudfgcvc/websocket";, host:
> "oae.esup-portail.org"
>
> thanks for your help
> frederic
>
>
> Le 13 mars 2014 à 21:17, frederic dooremont
> <frederic.doorem...@univ-littoral.fr> a écrit :
>
> Thanks branden for your answer and your help
>
> Kings regards
>
> Frédéric Dooremont
>
>
> Le 13 mars 2014 à 21:08, Branden Visser <mrvis...@gmail.com> a écrit :
>
> Hi Frederic,
>
> That's not always necessary. Most upgrades we do do not require search
> schema changes, so only perform that if you have been instructed to do
> so.
>
> The last couple releases are kind of the first where there were
> involved upgrade steps. You're upgrading right on the edge, as we've
> released 4.4 but I don't think we've announced it and set up upgrade
> instructions and release notes yet. I've been working on instructions
> today, actually [1] (draft).
>
> In future release announcements, there will be instructions on steps
> required to perform updates.
>
> Thanks,
> Branden
>
> [1] https://github.com/oaeproject/Hilary/wiki/OAE-Upgrade-Guide
>
> On Thu, Mar 13, 2014 at 3:52 PM, frederic dooremont
> <frederic.doorem...@univ-littoral.fr> wrote:
>
> thanks you very much
> it's all ok
>
> it's necessary, always do this method :
> curl -XDELETE http://search1:9200/oae -v
> ADMIN_COOKIE=$(curl -s -e << /" --cookie-jar - -d"username=administrator"
> -d"password=toto" https://admin.oae.org/api/auth/login  | grep connect.sess
> | cut -f 7)
> curl -X POST --cookie connect.sess=${ADMIN_COOKIE} -e "/"
> https://admin.oae.org/api/search/reindexAll -v
> ...
> ?
> kings
> fred
>
>
> Le 13 mars 2014 à 19:05, Branden Visser <mrvis...@gmail.com> a écrit :
>
> Ah, there are updates to the config.js file that I think you need to
> pull in. Here's a GitHub link that will show you differences between
> 4.3.0 and 4.4.0, anchored to config.js:
> https://github.com/oaeproject/Hilary/compare/4.3.0...4.4.0#diff-3
>
> When performing upgrades to Hilary and all of its dependent server
> components, you'll want to keep in mind changes to the configuration
> file on a regular basis and inspect the differences there.
>
> In this case, you should just need to add the "message" analyzer and
> the "message_edgengram" filter to your config.search configuration and
> perform the recommended upgrade procedure.
>
> Thanks,
> Branden
>
>
> On Thu, Mar 13, 2014 at 1:47 PM, frederic dooremont
> <frederic.doorem...@univ-littoral.fr> wrote:
>
> [2014-03-13T17:46:40.178Z]  INFO: oae-logger/16788 on angel: Refreshing log
> configuration
> [2014-03-13T17:46:40.178Z]  INFO: oae-modules/16788 on angel: Initialized
> module oae-logger
> [2014-03-13T17:46:40.181Z]  INFO: oae-modules/16788 on angel: Initialized
> module oae-telemetry
> [2014-03-13T17:46:40.231Z]  INFO: oae-modules/16788 on angel: Initialized
> module oae-tenants
> [2014-03-13T17:46:40.309Z]  INFO: oae-modules/16788 on angel: Initialized
> module oae-config
> [2014-03-13T17:46:40.602Z]  INFO: oae-authentication/16788 on angel:
> Registered authentication strategy "cas"
> [2014-03-13T17:46:40.622Z]  INFO: oae-authentication/16788 on angel:
> Registered authentication strategy "facebook"
> [2014-03-13T17:46:40.648Z]  INFO: oae-authentication/16788 on angel:
> Registered authentication strategy "google"
> [2014-03-13T17:46:40.764Z]  INFO: oae-authentication/16788 on angel:
> Registered authentication strategy "ldap"
> [2014-03-13T17:46:40.778Z]  INFO: oae-authentication/16788 on angel:
> Registered authentication strategy "local"
> [2014-03-13T17:46:40.888Z]  INFO: oae-authentication/16788 on angel:
> Registered authentication strategy "shibboleth"
> [2014-03-13T17:46:40.914Z]  INFO: oae-authentication/16788 on angel:
> Registered authentication strategy "signed"
> [2014-03-13T17:46:40.965Z]  INFO: oae-authentication/16788 on angel:
> Registered authentication strategy "twitter"
> [2014-03-13T17:46:40.966Z]  INFO: oae-modules/16788 on angel: Initialized
> module oae-authentication
> [2014-03-13T17:46:40.980Z]  INFO: elasticsearchclient/16788 on angel:
> Refreshed search configuration.
>  config: {
>    "index": "oae",
>    "serverOpts": {
>      "hosts": [
>        {
>          "host": "search1.oae.esup-portail.org",
>          "port": 9200
>        },
>        {
>          "host": "search2.oae.esup-portail.org",
>          "port": 9200
>        }
>      ]
>    }
>  }
> [2014-03-13T17:46:40.984Z]  INFO: mq/16788 on angel: Created/Retrieved a
> RabbitMQ queue (queueName=oae-search/index)
> [2014-03-13T17:46:40.988Z]  INFO: mq/16788 on angel: Created/Retrieved a
> RabbitMQ queue (queueName=oae-search/delete)
> [2014-03-13T17:46:40.991Z]  INFO: mq/16788 on angel: Created/Retrieved a
> RabbitMQ queue (queueName=oae-search/reindex)
> [2014-03-13T17:46:41.001Z]  INFO: elasticsearchclient/16788 on angel:
> Creating new search index. (indexName=oae)
>  indexSettings: {
>    "number_of_shards": 5,
>    "number_of_replicas": 1,
>    "analysis": {
>      "analyzer": {
>        "q": {
>          "type": "custom",
>          "char_filter": [
>            "html_strip"
>          ],
>          "tokenizer": "letter",
>          "filter": [
>            "lowercase",
>            "q_edgengram"
>          ]
>        }
>      },
>      "filter": {
>        "q_edgengram": {
>          "type": "edgeNGram",
>          "min_gram": 1,
>          "max_gram": 15
>        }
>      }
>    }
>  }
> [2014-03-13T17:46:41.271Z]  INFO: elasticsearchclient/16788 on angel:
> Creating new search type mapping.
>  typeData: {
>    "resource": {
>      "_source": {
>        "enabled": false
>      },
>      "properties": {
>        "id": {
>          "type": "string",
>          "store": "yes",
>          "index": "no"
>        },
>        "tenantAlias": {
>          "type": "string",
>          "store": "yes",
>          "index": "not_analyzed"
>        },
>        "resourceType": {
>          "type": "string",
>          "store": "yes",
>          "index": "not_analyzed"
>        },
>        "resourceSubType": {
>          "type": "string",
>          "store": "yes",
>          "index": "no"
>        },
>        "thumbnailUrl": {
>          "type": "string",
>          "store": "yes",
>          "index": "not_analyzed"
>        },
>        "displayName": {
>          "type": "string",
>          "store": "yes",
>          "index": "no"
>        },
>        "description": {
>          "type": "string",
>          "store": "yes",
>          "index": "not_analyzed"
>        },
>        "_extra": {
>          "type": "string",
>          "store": "yes",
>          "index": "no"
>        },
>        "visibility": {
>          "type": "string",
>          "store": "yes",
>          "index": "not_analyzed"
>        },
>        "joinable": {
>          "type": "string",
>          "store": "yes",
>          "index": "not_analyzed"
>        },
>        "q_high": {
>          "type": "string",
>          "store": "no",
>          "index": "analyzed",
>          "analyzer": "q"
>        },
>        "q_low": {
>          "type": "string",
>          "store": "no",
>          "index": "analyzed",
>          "analyzer": "q"
>        },
>        "sort": {
>          "type": "string",
>          "store": "no",
>          "index": "not_analyzed"
>        }
>      }
>    }
>  }
> [2014-03-13T17:46:41.356Z]  INFO: oae-modules/16788 on angel: Initialized
> module oae-search
> [2014-03-13T17:46:41.752Z]  INFO: elasticsearchclient/16788 on angel:
> Creating new search type mapping.
>  typeData: {
>    "discussion_message": {
>      "_source": {
>        "enabled": false
>      },
>      "properties": {
>        "body": {
>          "type": "string",
>          "store": "no",
>          "index": "analyzed",
>          "analyzer": "message"
>        }
>      },
>      "_parent": {
>        "type": "resource"
>      }
>    }
>  }
> [2014-03-13T17:46:41.759Z] ERROR: oae-modules/16788 on angel: Error
> initializing module oae-discussions
>  err: {
>    "error": "MapperParsingException[Analyzer [message] not found for
> field [body]]",
>    "status": 400
>  }
> [2014-03-13T17:46:41.760Z]  INFO: oae/16788 on angel: All modules are
> bootstrapped, initializing servers.
> [2014-03-13T17:46:41.761Z] ERROR: system/16788 on angel: Error initializing
> server.
>  err: {
>    "error": "MapperParsingException[Analyzer [message] not found for
> field [body]]",
>    "status": 400
>  }
> [2014-03-13T17:46:41.762Z]  INFO: system/16788 on angel: Initialization all
> done ... Firing up tenants ... Enjoy!
> Le 13 mars 2014 à 18:40, Branden Visser <mrvis...@gmail.com> a écrit :
>
> Please send the hilary log for the startup sequence immediately after
> the index was successfully deleted. Also please pipe the log through
> bunyan so it is a little bit more readable.
>
>
>
> On Thu, Mar 13, 2014 at 1:35 PM, frederic dooremont
> <frederic.doorem...@univ-littoral.fr> wrote:
>
> curl -XDELETE http://search1.oae.esup-portail.org:9200/oae -v
> * Adding handle: conn: 0x7f8e4b003a00
> * Adding handle: send: 0
> * Adding handle: recv: 0
> * Curl_addHandleToPipeline: length: 1
> * - Conn 0 (0x7f8e4b003a00) 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)
>
> DELETE /oae HTTP/1.1
> User-Agent: curl/7.30.0
> Host: search1.oae.esup-portail.org:9200
> Accept: */*
>
> < HTTP/1.1 200 OK
> < Content-Type: application/json; charset=UTF-8
> < Content-Length: 31
> <
> * Connection #0 to host search1.oae.esup-portail.org left intact
> {"ok":true,"acknowledged":true}
>
> but i have the same error
>
>
> Le 13 mars 2014 à 18:34, frederic dooremont
> <frederic.doorem...@univ-littoral.fr> a écrit :
>
>
> 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
>
>
>
>
>
>
> _______________________________________________
> 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

Reply via email to