Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Parsing error with output of 'df' #158

Open
Grothesk242 opened this issue Oct 13, 2023 · 6 comments
Open

Parsing error with output of 'df' #158

Grothesk242 opened this issue Oct 13, 2023 · 6 comments

Comments

@Grothesk242
Copy link

It seems that evaluation of df outout goes wrong recently:

2023-10-13 22:37:23.826  - error: rpi2.0 (159251) Cannot evaluate: Filesystem     1K-blocks     Used Available Use% Mounted on
/dev/root      115129216 12545616  97873460  12% /
/1024
2023-10-13 22:37:23.833  - error: rpi2.0 (159251) Cannot evaluate: Filesystem     1K-blocks     Used Available Use% Mounted on
/dev/root      115129216 12545616  97873460  12% /
/1024
2023-10-13 22:38:23.721  - error: rpi2.0 (159251) Cannot evaluate: Filesystem     1K-blocks     Used Available Use% Mounted on
/dev/root      115129216 12545976  97873100  12% /
/1024
2023-10-13 22:38:23.727  - error: rpi2.0 (159251) Cannot evaluate: Filesystem     1K-blocks     Used Available Use% Mounted on
/dev/root      115129216 12545976  97873100  12% /
/1024
2023-10-13 22:39:23.686  - error: rpi2.0 (159251) Cannot evaluate: Filesystem     1K-blocks     Used Available Use% Mounted on
/dev/root      115129216 12546160  97872916  12% /
/1024
2023-10-13 22:39:23.690  - error: rpi2.0 (159251) Cannot evaluate: Filesystem     1K-blocks     Used Available Use% Mounted on
/dev/root      115129216 12546160  97872916  12% /
/1024
2023-10-13 22:40:23.707  - error: rpi2.0 (159251) Cannot evaluate: Filesystem     1K-blocks     Used Available Use% Mounted on
/dev/root      115129216 12546464  97872612  12% /
/1024
2023-10-13 22:40:23.709  - error: rpi2.0 (159251) Cannot evaluate: Filesystem     1K-blocks     Used Available Use% Mounted on
/dev/root      115129216 12546464  97872612  12% /
/1024
2023-10-13 22:41:06.907  - error: parcel.0 (154799) Error: read ETIMEDOUT
2023-10-13 22:41:09.830  - info: parcel.0 (154799) Login to Amazon successful
2023-10-13 22:41:23.730  - error: rpi2.0 (159251) Cannot evaluate: Filesystem     1K-blocks     Used Available Use% Mounted on
/dev/root      115129216 12546776  97872300  12% /
/1024
2023-10-13 22:41:23.733  - error: rpi2.0 (159251) Cannot evaluate: Filesystem     1K-blocks     Used Available Use% Mounted on
/dev/root      115129216 12546776  97872300  12% /
/1024
@Grothesk242
Copy link
Author

Grothesk242 commented Oct 25, 2023

echad@chet:~/iob_coding/ioBroker $ df --version
df (GNU coreutils) 9.1
Copyright (C) 2022 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <https://gnu.org/licenses/gpl.html>.
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.

Written by Torbjorn Granlund, David MacKenzie, and Paul Eggert.

echad@chet:~/iob_coding/ioBroker $ df
Filesystem     1K-blocks    Used Available Use% Mounted on
udev             3729136       0   3729136   0% /dev
tmpfs             799764    1212    798552   1% /run
/dev/sda2      114865556 5543928 103470624   6% /
tmpfs            3998812       0   3998812   0% /dev/shm
tmpfs               5120      20      5100   1% /run/lock
/dev/sda1         522232   62254    459978  12% /boot/firmware
tmpfs             799760       0    799760   0% /run/user/1000
echad@chet:~/iob_coding/ioBroker $

@VitBeck
Copy link

VitBeck commented Nov 19, 2023

have the same issue and no idea how to solve it...

@VitBeck
Copy link

VitBeck commented Nov 19, 2023

rpi2.0, v1.3.2

2023-11-19 20:50:43.198 error Cannot evaluate: Filesystem 1K-blocks Used Available Use% Mounted on /dev/sda2 245607812 14466796 220567108 7% / /1024
pi@iobroker:~ $ df
Filesystem     1K-blocks     Used Available Use% Mounted on
udev             3726200        0   3726200   0% /dev
tmpfs             799764     1316    798448   1% /run
/dev/sda2      245607812 14467228 220566676   7% /
tmpfs            3998812      148   3998664   1% /dev/shm
tmpfs               5120       16      5104   1% /run/lock
/dev/sda1         522232    75070    447162  15% /boot/firmware
tmpfs             799760       36    799724   1% /run/user/1000

@Apollon77
Copy link
Member

In fact this adapter i sexecuting linux commands ... defined in https://github.com/iobroker-community-adapters/ioBroker.rpi2/blob/master/io-package.json#L235-L366 ... so maybe check which command it is and try to find the correct one for rpi4 and we know what to change. Any help appreciated ....

@Grothesk242
Copy link
Author

so maybe check which command it is

Its df

@Grothesk242
Copy link
Author

Fixed in upcoming release 2.0. Code needs to be tested though.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants