# Zram problems OH3 on fresh Openhabian install

**URL:** <https://community.openhab.org/t/zram-problems-oh3-on-fresh-openhabian-install/133462>\
**Category:** Installation\
**Tags:** openhabian\
**Created:** [February 19, 2022, 2:41pm UTC](https://community.openhab.org/t/zram-problems-oh3-on-fresh-openhabian-install/133462 "2022-02-19T14:41:26Z")\
**Posts on this page:** 1\
**Showing post:** 8

<div class="post-metadata">

**Author:** ![LeeC77](https://community.openhab.org/user_avatar/community.openhab.org/leec77/32/109983_2.png) [@LeeC77](https://community.openhab.org/u/LeeC77)\
**Post date:** [February 25, 2022, 11:47am UTC](https://community.openhab.org/t/zram-problems-oh3-on-fresh-openhabian-install/133462/8 "2022-02-25T11:47:40Z")

</div>

Thanks Ethan

> [@ecdye](#):
>
> Issue should be fixed on the `openHAB3` and `main` branches now

Moved onto the openHABian main branch, but  
OpenHABian option 38 only worked after running the uninstall script,

```auto
sudo /opt/zram/zram-config/uninstall.bash

```

due to a problem with stopping the zram-config.service, as it was not running.

```auto
+ echo -n '2022-02-25_12:30:11_CET [openHABian] Updating zram service... '
2022-02-25_12:30:11_CET [openHABian] Updating zram service... + cond_redirect systemctl stop zram-config.service
+ [[-n '']]
+ echo -e '\n\033[90;01m$ systemctl stop zram-config.service \033[39;49;00m'

$ systemctl stop zram-config.service
+ systemctl stop zram-config.service
Failed to stop zram-config.service: Unit zram-config.service not loaded.
+ return 5
+ echo 'FAILED (stop zram)'
FAILED (stop zram)
+ return 1
+ '[' 1 -ne 0 ']'
+ whiptail --msgbox 'There was an error or interruption during the execution of:\n "30 | System Settings"\n\nPlease try again. If the error persists, please read /opt/openhabian/docs/openhabian-DEBUG.md or https://github.com/openhab/openhabian/blob/main/docs/openhabian-DEBUG.md how to proceed.' 14 80

```

All looks to be good now thanks

```auto
openhabian@openhabian:/opt/zram/zram-config $ zramctl
NAME ALGORITHM DISKSIZE DATA COMPR TOTAL STREAMS MOUNTPOINT
/dev/zram2 zstd 1G 652K 8K 328K 4 /opt/zram/zram2
/dev/zram1 zstd 750M 508K 6.1K 256K 4 /opt/zram/zram1
/dev/zram0 lzo-rle 1G 4K 87B 4K 4 [SWAP]

```

---

_[View the full topic](https://community.openhab.org/t/zram-problems-oh3-on-fresh-openhabian-install/133462)._
