I'm am totally at a loss and therefore coming back to this old and still
unresolved thread. I had reported, that we cannot update the
$ zammad run rake searchindex:rebuild --trace
** Invoke searchindex:rebuild (first_time)
** Invoke environment (first_time)
** Execute environment
** Execute searchindex:rebuild
** Execute searchindex:drop
** Execute searchindex:create
Unable to process PUT at http://127.0.0.1:9200/zammad_production
#<UserAgent::Result:0x00558195000c78 @success=false, @body=nil,
@data=nil, @code="403", @content_type=nil, @error="Client Error:
#<Net::HTTPForbidden 403 Forbidden readbody=true>!">
/opt/zammad/lib/tasks/search_index_es.rake:19:in `block (2 levels) in
`block in execute'
/opt/zammad/lib/tasks/search_index_es.rake:60:in `block (2 levels) in
`block in execute'
`block in invoke_with_call_chain'
`block (2 levels) in top_level'
`block in top_level'
`block in run'
Tasks: TOP => searchindex:rebuild
elasticsearch otherwise works absolutely fine and I can PUT and GET
content via curl locally.
Martin Edenhofer suggested, that this might be a proxy issue. However I
never consciously configured any proxy settings for zammad, but I had
proxies configured in my environment ($http_proxy, $https_proxy) when
installing zammad and I had to configure proxies in
/etc/default/elasticsearch to be able to install the
"mapper-attachments" elasticsearch plugin.
The Java proxy settings in /etc/default/elasticsearch have been removed
and elasticsearch restarted and neither the root account nor the zammad
account contain any reference to our proxies. There are no files in
/etc and in /opt/zammad (with the exception of some files in
/opt/zammad/tmp/cache_file_store_production/) which contain /any/
reference to our outbound proxies.
*Still*: When running `zammad run rake searchindex:rebuild` I can see in
wireshark that no connection to localhost is opened at all and instead I
can see (using `netstat`), that two connections to our outbound proxies
have been established. There are no associated process IDs, though.
If anyone has an idea where these proxy settings could be hidden and how
I could get rid of them, or if you have further ideas on how to debug
this nasty problem: Please let me know. I ran out of ideas :-}
Open Source as Download https://zammad.org || Easy to use as SaaS
You received this message because you are subscribed to the Google Groups "zammad-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
To post to this group, send email to firstname.lastname@example.org.
To view this discussion on the web visit
For more options, visit https://groups.google.com/d/optout.