# Migrating configuration to new installation

**URL:** <https://community.graylog.org/t/migrating-configuration-to-new-installation/1988>\
**Category:** Graylog Central (peer support)\
**Created:** [August 7, 2017, 3:40pm UTC](https://community.graylog.org/t/migrating-configuration-to-new-installation/1988 "2017-08-07T15:40:46Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![jeffhorn](https://sea2.discourse-cdn.com/flex016/user_avatar/community.graylog.org/jeffhorn/32/21_2.png) [@jeffhorn](https://community.graylog.org/u/jeffhorn)\
**Post date:** [August 7, 2017, 3:40pm UTC](https://community.graylog.org/t/migrating-configuration-to-new-installation/1988/1 "2017-08-07T15:40:47Z")

</div>

I am about to install a fresh version from the latest .ova file and wanted to know if it is possible to migrate the dashboards and inputs created on my older server (running v2.2.3+7adc951) to the new one once it is installed? Also, can I copy the collected data and have the new server use the old indexes? I would like to save the history. I’ve tried upgrading and it fails.

Thanks for your thoughts.  
Jeff

---

<div class="post-metadata">

**Author:** ![jochen](https://sea2.discourse-cdn.com/flex016/user_avatar/community.graylog.org/jochen/32/8_2.png) [@jochen](https://community.graylog.org/u/jochen)\
**Post date:** [August 7, 2017, 3:47pm UTC](https://community.graylog.org/t/migrating-configuration-to-new-installation/1988/2 "2017-08-07T15:47:49Z")

</div>

> [@jeffhorn](#):
>
> I’ve tried upgrading and it fails.

How does it fail specifically?

---

<div class="post-metadata">

**Author:** ![jeffhorn](https://sea2.discourse-cdn.com/flex016/user_avatar/community.graylog.org/jeffhorn/32/21_2.png) [@jeffhorn](https://community.graylog.org/u/jeffhorn)\
**Post date:** [August 7, 2017, 3:50pm UTC](https://community.graylog.org/t/migrating-configuration-to-new-installation/1988/3 "2017-08-07T15:50:56Z")

</div>

```auto
 * execute[/opt/graylog/embedded/bin/graylog-ctl start graylog-server] action run
    - execute /opt/graylog/embedded/bin/graylog-ctl start graylog-server
  * ruby_block[add node to server list] action run
    
    ================================================================================
    Error executing action `run` on resource 'ruby_block[add node to server list]'
    ================================================================================
    
    Errno::ECONNREFUSED
    -------------------
    Connection refused - connect(2) for "127.0.0.1" port 4001
    
    Cookbook Trace:
    ---------------
    /opt/graylog/embedded/cookbooks/graylog/libraries/registry.rb:17:in `set_master'
    /opt/graylog/embedded/cookbooks/graylog/recipes/graylog-server.rb:86:in `block (2 levels) in from_file'
    
    Resource Declaration:
    ---------------------
    # In /opt/graylog/embedded/cookbooks/graylog/recipes/graylog-server.rb
    
     84: ruby_block "add node to server list" do
     85: block do
     86: $registry.set_master
     87: $registry.add_gl_server(node['ipaddress'])
     88: $registry.add_es_node(node['ipaddress'])
     89: end
     90: retries 15
     91: end
    
    Compiled Resource:
    ------------------
    # Declared in /opt/graylog/embedded/cookbooks/graylog/recipes/graylog-server.rb:84:in `from_file'
    
    ruby_block("add node to server list") do
      action [:run]
      retries 15
      retry_delay 2
      default_guard_interpreter :default
      block_name "add node to server list"
      declared_type :ruby_block
      cookbook_name :graylog
      recipe_name "graylog-server"
      block #<Proc:0x00000003943718@/opt/graylog/embedded/cookbooks/graylog/recipes/graylog-server.rb:85>
    end
    
Recipe: graylog::elasticsearch
  * service[elasticsearch] action restart
    - restart service service[elasticsearch]
Recipe: graylog::graylog-server
  * service[graylog-server] action restart
    - restart service service[graylog-server]

Running handlers:
[2017-08-04T16:02:04+00:00] ERROR: Running exception handlers
Running handlers complete
[2017-08-04T16:02:04+00:00] ERROR: Exception handlers complete
Chef Client failed. 15 resources updated in 02 minutes 31 seconds
[2017-08-04T16:02:04+00:00] FATAL: Stacktrace dumped to /opt/graylog/embedded/cookbooks/cache/chef-stacktrace.out
[2017-08-04T16:02:04+00:00] FATAL: Please provide the contents of the stacktrace.out file if you file a bug report
[2017-08-04T16:02:04+00:00] ERROR: ruby_block[add node to server list] (graylog::graylog-server line 84) had an error: Errno::ECONNREFUSED: Connection refused - connect(2) for "127.0.0.1" port 4001
[2017-08-04T16:02:04+00:00] FATAL: Chef::Exceptions::ChildConvergeError: Chef run process exited unsuccessfully (exit code 1)
ubuntu@graylog:~$

```

---

<div class="post-metadata">

**Author:** ![jochen](https://sea2.discourse-cdn.com/flex016/user_avatar/community.graylog.org/jochen/32/8_2.png) [@jochen](https://community.graylog.org/u/jochen)\
**Post date:** [August 7, 2017, 4:04pm UTC](https://community.graylog.org/t/migrating-configuration-to-new-installation/1988/4 "2017-08-07T16:04:00Z")

</div>

Please refer to and participate in this GitHub issue:

> <https://github.com/Graylog2/graylog2-server/issues/4060>
>
> Upgrading a previously upgraded appliance from 2.2.3 to 2.3.0.
> During reconfigure step fails connecting to 127.0.0.1 port 4001
> - execute /opt/graylog/embedded/bin/graylog-ctl start...

---

<div class="post-metadata">

**Author:** ![jeffhorn](https://sea2.discourse-cdn.com/flex016/user_avatar/community.graylog.org/jeffhorn/32/21_2.png) [@jeffhorn](https://community.graylog.org/u/jeffhorn)\
**Post date:** [August 7, 2017, 4:06pm UTC](https://community.graylog.org/t/migrating-configuration-to-new-installation/1988/5 "2017-08-07T16:06:47Z")

</div>

Thanks. I didn’t see that when I searched.

jeff

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex016/uploads/graylog/original/3X/c/7/c7c09c6b5099570133d6502b83f50ba4430de5b6.png) [@system](https://community.graylog.org/u/system)\
**Post date:** [August 21, 2017, 4:06pm UTC](https://community.graylog.org/t/migrating-configuration-to-new-installation/1988/6 "2017-08-21T16:06:47Z")

</div>

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.
