# Server Troubleshooting

{% hint style="info" %}
For more information about the server software, see [here](/evolver/software/server-raspberry-pi.md).
{% endhint %}

## Overview

If a parameter is not working properly, often the first place to check for issues is the server

## Guide

1. Monitor the server log file
   1. Guide [here](/evolver/guides/view-the-server-log-and-restart-server.md)
2. Any time you are troubleshooting the server, make sure to save your calibrations.json file in a secure location before going further
3. If the log file is not updating (via `evolver tail -f`)
   1. If you have manually edited the conf.yml file, most likely you have made an error somewhere there
      1. This could be formatting or a typo
      2. Copy a conf.yml that you know works (for example to [base eVOLVER conf.yml](https://github.com/FYNCH-BIO/evolver/blob/master/evolver/conf.yml))
         1. Using the server update [guide ](/evolver/guides/updating-the-evolver-server.md)as a reference
         2. ONLY copy the conf.yml to `home/pi/evolver/evolver/`
         3. Otherwise you will overwrite your calibration files
      3. Restart the server
         1. Stop following the server using `ctrl+C`
         2. Type `restart evolver`
         3. &#x20;`evolver tail -f`
      4. The server log should now be updating each cycle
   2. &#x20;If not, and you have not recently updated the evolver.py or other python files, [update them](/evolver/guides/updating-the-evolver-server.md)

## Relevant Forum Posts

[Directly Connecting to Rpi over USB](https://howchoo.com/pi/raspberry-pi-gadget-mode)

[Sudden Server Disconnections](https://www.evolver.bio/t/sudden-disconnections/295/6)

[Using Raspberry Pi 4 as a server](https://www.evolver.bio/t/troubleshooting-setting-up-raspberry-pi-4-as-evolver-server/186)

[ssh Connection Refused](https://www.evolver.bio/t/fixing-ssh-connection-refused-issues/354)


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://khalil-lab.gitbook.io/evolver/troubleshooting/server-troubleshooting.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
