"Create Backup" not working on gui

I have migrated my RPI4 from emonSD-21Jul21 to emonSD-10Mar26. Everything seems to be working (so far) except backing up from the export gui. The bash script works from a terminal but clicking on the Create Backup does nothing. I have a flash drive at /mnt/usb0 and it accepts the backup .tar.gz created from the script. Old system works fine on export. Not sure where to look…

Attache system info. Thanks.

Cheers, Bob


New system:

System Information

System Information

Emoncms

Server

  • CPU: Cortex-A72 | 1 Threads(s) | - Sockets(s) | 108.00MIPS |
  • OS: Linux 6.18.29+rpt-rpi-v8
  • Host: emonpi | emonpi | (192.168.1.170)
  • Date: 2026-05-25 15:18:29 UTC
  • Uptime: 11:18:29 up 18:19, 2 users, load average: 0.19, 0.15, 0.10

Memory

  • RAM: Used: 12.96% | Total: 3.71 GB | Used: 491.87 MB | Free: 3.23 GB
  • Swap: Used: 0.00% | Total: 2 GB | Used: 0 B | Free: 2 GB

Disk

  • /: Used: 81.01% | Total: 6.34 GB | Used: 5.14 GB | Free: 948.47 MB | Read Load: 966 B/s | Write Load: 1.25 KB/s | Load Time: 2 days 40 mins
  • /boot/firmware: Used: 12.92% | Total: 509.99 MB | Used: 65.9 MB | Free: 444.09 MB | Read Load: 0 B/s | Write Load: 0 B/s | Load Time: 2 days 40 mins
  • /var/opt/emoncms: Used: 2.89% | Total: 51.58 GB | Used: 1.49 GB | Free: 47.46 GB | Read Load: -1172 B/s | Write Load: -7739 B/s | Load Time: 2 days 40 mins
  • /var/log: Used: 11.21% | Total: 50 MB | Used: 5.61 MB | Free: 44.39 MB | Read Load: n/a | Write Load: n/a | Load Time: n/a
  • /mnt/usb0: Used: 0.41% | Total: 56.78 GB | Used: 240.08 MB | Free: 53.66 GB | Read Load: 0 B/s | Write Load: 0 B/s | Load Time: 2 days 40 mins

HTTP

  • Server: Apache/2.4.67 (Debian) HTTP/1.1 CGI/1.1 80

MySQL

  • Version: 11.8.6-MariaDB-0+deb13u1 from Debian
  • Host: 127.0.0.1 (127.0.0.1)
  • Date: 2026-05-25 11:18:29 (UTC -04:00)
  • Stats: Uptime: 65984 Threads: 5 Questions: 21955 Slow queries: 0 Opens: 51 Open tables: 44 Queries per second avg: 0.332

PHP

  • Version: 8.4.21 (Zend Version 4.4.21)
  • Run user: User: www-data Group: www-data video Script Owner: pi
  • Modules: apache2handler , calendar , Core , ctype , curl , date , dom v20031129, exif , FFI , fileinfo , filter , ftp , gd , gettext , hash , iconv , json , libxml , mbstring , mosquitto v0.5.1, mysqli , mysqlnd vmysqlnd 8.4.21, openssl , pcre , PDO , pdo_mysql , Phar , posix , random , readline , redis v6.3.0RC1, Reflection , session , shmop , SimpleXML , sockets , sodium , SPL , standard , sysvmsg , sysvsem , sysvshm , tokenizer , xml , xmlreader , xmlwriter , xsl , Zend OPcache , zlib

Redis

  • Redis Server: 8.0.2
  • PHP Redis: 6.3.0RC1
  • Host: localhost:6379
  • Uptime: 0 days

MQTT Server

  • Version: Mosquitto 2.0.21
  • Host: localhost:1883 (127.0.0.1)

Pi

  • Model: Raspberry Pi 4 Model B Rev 1.1 - 4GB (Sony UK)
  • Serial num.: 100000002670D773
  • GPU Temperature: 59.4°C
  • File-system: read-write
  • emonpiRelease: emonSD-10Mar26
Client Information

Client Information

  • Browser: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:151.0) Gecko/20100101 Firefox/151.0
  • IP: 192.168.1.30
  • Client Hostname: 192.168.1.30

```


Old system

Server Information

Server Information

Services

  • emonhub :- Active Running

  • emoncms_mqtt :- Active Running

  • feedwriter :- Active Running - sleep 300s 72 feed points pending write

  • service-runner :- Active Running

  • redis-server :- Active Running

  • mosquitto :- Active Running

  • demandshaper :- Active Running

  • emoncms_sync :- Active Running

  • emonPiLCD :- Failed loaded failed failed

Emoncms

  • Version :- low-write 11.10.3
  • Git :-
    • URL :- origin
    • Branch :- - Describe :- - Components :- Emoncms Core v11.10.3 | App v3.1.6 | EmonHub Config v2.1.6 | Dashboard v2.4.3 | Device v2.3.7 | Graph v2.2.7 | Network Setup v1.0.5 | WiFi v2.1.1 | Backup v2.3.5 | DemandShaper v2.2.3 | Postprocess v2.5.2 | Sync v3.2.4 | Usefulscripts v2.3.14 | EmonScripts v1.9.3 | RFM2Pi v1.4.3 | Avrdude-rpi v1.0.3 | Emonhub v2.7.13 | EmonPi v3.0.3

Server

  • CPU :- 1 Threads(s) | 4 Core(s) | 1 Sockets(s) | Cortex-A72 | 162.00MIPS |
  • OS :- Linux 5.10.103-v7l+
  • Host :- emonpi | emonpi | (192.168.1.174)
  • Date :- 2026-05-25 11:20:45 EDT
  • Uptime :- 11:20:45 up 22:37, 1 user, load average: 0.10, 0.07, 0.02

Memory

  • RAM :- Used: 3.71%
    • Total :- 7.71 GB
    • Used :- 292.67 MB
    • Free :- 7.43 GB
  • Swap :- Used: 0.00%
    • Total :- 100 MB
    • Used :- 0 B
    • Free :- 100 MB

Disk

  • **** :- - / :- Used: 64.32%
    • Total :- 4.07 GB
    • Used :- 2.62 GB
    • Free :- 1.26 GB
    • Read Load :- 1.14 B/s
    • Write Load :- 1.08 B/s
    • Load Time :- 736 days 19 hours 51 mins
  • /mnt/usb0 :- Used: 2.01%
    • Total :- 56.35 GB
    • Used :- 1.13 GB
    • Free :- 52.36 GB
    • Read Load :- n/a
    • Write Load :- n/a
    • Load Time :- n/a
  • /boot :- Used: 19.14%
    • Total :- 252.05 MB
    • Used :- 48.24 MB
    • Free :- 203.81 MB
    • Read Load :- -0.01 B/s
    • Write Load :- -0 B/s
    • Load Time :- 736 days 19 hours 51 mins
  • /var/opt/emoncms :- Used: 2.76%
    • Total :- 54.13 GB
    • Used :- 1.49 GB
    • Free :- 49.89 GB
    • Read Load :- -43.52 B/s
    • Write Load :- 0.24 B/s
    • Load Time :- 736 days 19 hours 51 mins
  • /var/log :- Used: 5.21%
    • Total :- 50 MB
    • Used :- 2.61 MB
    • Free :- 47.39 MB
    • Read Load :- n/a
    • Write Load :- n/a
    • Load Time :- n/a

HTTP

  • Server :- Apache/2.4.59 (Raspbian) HTTP/1.1 CGI/1.1 80

MySQL

  • Version :- 5.5.5-10.3.39-MariaDB-0+deb10u2
  • Host :- 127.0.0.1 (127.0.0.1)
  • Date :- 2026-05-25 11:20:44 (UTC -04:00‌​)
  • Stats :- Uptime: 81413 Threads: 12 Questions: 223322 Slow queries: 0 Opens: 56 Flush tables: 1 Open tables: 49 Queries per second avg: 2.743

Redis

  • Version :-
    • Redis Server :- 5.0.14
    • PHP Redis :- 5.3.4
  • Host :- localhost:6379
  • Size :- 829 keys (901.13K)
  • Uptime :- 0 days

MQTT Server

  • Version :- Mosquitto 1.5.7
  • Host :- localhost:1883 (127.0.0.1)

PHP

  • Version :- 7.3.31-1~deb10u7 (Zend Version 3.3.31)
  • Run user :- User: www-data Group: www-data video systemd-journal Script Owner: pi
  • Modules :- apache2handlercalendar Core ctype curl date dom v20031129exif fileinfo filter ftp gd gettext hash iconv json v1.7.0libxml mbstring mosquitto v0.4.0mysqli mysqlnd vmysqlnd 5.0.12-dev - 20150407 - $Id: 7cc7cc96e675f6d72e5cf0f267f48e167c2abb23 $openssl pcre PDO pdo_mysql Phar posix readline redis v5.3.4Reflection session shmop SimpleXML sockets sodium SPL standard sysvmsg sysvsem sysvshm tokenizer wddx xml xmlreader xmlwriter xsl Zend OPcache zlib

Pi

  • Model :- Raspberry Pi Model N/A Rev - ()
  • Serial num. :- 10000000E91C8CAC
  • CPU Temperature :- 56.97°C
  • GPU Temperature :- 57.9°C
  • emonpiRelease :- emonSD-21Jul21
  • File-system :- read-write
Client Information

Client Information

HTTP

  • Browser :- Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:151.0) Gecko/20100101 Firefox/151.0
  • Language :- en-US,en;q=0.9

Window

  • Size :- 1725 x 815

Screen

  • Resolution :- 1920 x 1080

Hello @bgrattan I’ve pushed a couple of changes to both emoncms core and the backup module, could you run Full update on your new system to bring these in and let me know if the issue persists?

Great, thanks, that fixed it!

One other thing I noticed is when I select “Emoncms Log” the gui display is empty. However, looking at the log with a terminal it is being filled although there are errors. I have added an example below.

Thanks for your help. Bob

emoncms.log

2026-05-24 21:06:20.589|WARN|index.php|406 Not Acceptable|admin/getlog
2026-05-25 11:32:38.318|ERROR|index.php|Not Authenticated|admin/info
2026-05-25 11:52:07.869|WARN|index.php|406 Not Acceptable|admin/getlog
2026-05-25 11:52:10.180|WARN|index.php|406 Not Acceptable|admin/downloadlog
2026-05-25 13:48:03.527|ERROR|index.php|Not Authenticated|graph/99
2026-05-25 14:52:04.038|WARN|index.php|406 Not Acceptable|admin/getlog
2026-05-25 15:18:32.266|ERROR|index.php|Not Authenticated|admin/info
2026-05-25 19:34:36.905|WARN|emoncms_mqtt.php|Starting MQTT Input script
2026-05-25 19:34:36.946|WARN|emoncms_mqtt.php|Not connected, retrying connection
2026-05-25 19:34:36.958|WARN|emoncms_mqtt.php|Connecting to MQTT server: Connection Accepted.: code: 0
2026-05-25 19:53:56.387|WARN|index.php|406 Not Acceptable|admin/getlog
2026-05-25 20:13:18.101|ERROR|index.php|Not Authenticated|admin/info
2026-05-25 20:13:24.180|WARN|index.php|406 Not Acceptable|admin/getlog
```

Thanks! replicated this and pushed a fix to latest emoncms core this morning, cheers!