# Raspbian Stretch

**URL:** <https://community.openenergymonitor.org/t/raspbian-stretch/5096>\
**Category:** Emoncms\
**Tags:** emonsd, raspberrypi, stretch\
**Created:** [13 September 2017 21:49 UTC](https://community.openenergymonitor.org/t/raspbian-stretch/5096 "2017-09-13T21:49:03Z")\
**Posts on this page:** 1\
**Showing post:** 40

<div class="post-metadata">

**Author:** ![pb66](https://community.openenergymonitor.org/user_avatar/community.openenergymonitor.org/pb66/32/27_2.png) [@pb66](https://community.openenergymonitor.org/u/pb66)\
**Post date:** [26 September 2017 22:04 UTC](https://community.openenergymonitor.org/t/raspbian-stretch/5096/40 "2017-09-26T22:04:23Z")

</div>

> [@Paul](#):
>
> Paul - Very much agree about keeping the emoncms feed folders together in a sub-folder of their own as it compartmentalizes the feeds, makes backups easier, and could also be created automatically by adding the (almost) empty folders to the emoncms repo, to cut down the installation process further.
> 
> It would be good to discuss with G&T making this change global, but not sure how backwards-compatibility could be managed with regard to default.settings.php

Well! Funny you should say that…

Over on the [“Local emoncms processes and feeds lost after change to a process - Help please”](https://community.openenergymonitor.org/t/local-emoncms-processes-and-feeds-lost-after-change-to-a-process-help-please/5213/12) I just discovered that the feeds folders on an emonPi are no longer symlinked and despite the default.emonpi.settings.php file stating

```
// Engines working folder. Default is /var/lib/phpfiwa,phpfina,phptimeseries

```

the feeds are then defined as

> <https://github.com/emoncms/emoncms/blob/master/default.emonpi.settings.php#L55-L66>

in the **default**.emonpi.settings.php so some consistency is indeed desirable.

At least if emonpi installs are pointing directly at the /home/pi/data folder we should be able to easily add a /var/lib/emoncms folder with 3 symlinks in it to gain some consistency so that all feed folders can be found in /var/lib/emoncms on all (unix) installs without changing any thing structural in emonpi, as long as the emoncms folder and symlinks get added at the same time as the settings.php gets updated all should be fine.

> [@Paul](#):
>
> Many aspects of the emoncms build guide have been copied & pasted forward over the years, and maybe changes such as these need to be integrated as part of continual development.

Yeah, I agree. My notes (thus far) leave very little unchanged, which is why I have reservations about how that might be received, so I will just share what I’ve done and let you and the others pick and choose what you might or might not want to use.

---

_[View the full topic](https://community.openenergymonitor.org/t/raspbian-stretch/5096)._
