Thank you for your donation!


Official moOde 7.1.0 support thread
(07-19-2021, 10:39 AM)Tim Curtis Wrote: Post the output from the commands below.

Code:
df -h

moodeutl -l


Code:
Filesystem      Size  Used Avail Use% Mounted on
/dev/root       3.4G  2.8G  418M  88% /
devtmpfs        430M     0  430M   0% /dev
tmpfs           463M     0  463M   0% /dev/shm
tmpfs           463M   13M  450M   3% /run
tmpfs           5.0M  4.0K  5.0M   1% /run/lock
tmpfs           463M     0  463M   0% /sys/fs/cgroup
/dev/sdb1       253M   55M  198M  22% /boot
/dev/sda1       116G   48G   69G  41% /media/3BDB939D013EE5BB
tmpfs            93M     0   93M   0% /run/user/1000

Code:
20210719 114212 worker: -- Start
20210719 114212 worker: Successfully daemonized
20210719 114212 worker: Integrity check (passed)
20210719 114213 worker: File check (OK)
20210719 114318 worker: Session vacuumed
20210719 114318 worker: Session loaded
20210719 114318 worker: Debug logging (OFF)
20210719 114319 worker: -- Device
20210719 114319 worker: ALSA cards: (0:sndrpihifiberry | 1:empty | 2:empty | 3:empty
20210719 114319 worker: MPD config: (0:HiFiBerry DAC+ Pro | mixer:(Digital) | card:0)
20210719 114319 worker: ALSA mixer actual (Digital)
20210719 114319 worker: ALSA Digital volume set to (0%)
20210719 114319 worker: -- System
20210719 114321 worker: Host     (moode)
20210719 114321 worker: moOde    (7.1.0 2021-03-15)
20210719 114321 worker: RaspiOS  (10.6)
20210719 114321 worker: Kernel   (5.4.77-v7+ #1371)
20210719 114321 worker: Platform (Pi-3B+ 1.3 1GB)
20210719 114321 worker: ARM arch (armv7l, 32-bit kernel)
20210719 114321 worker: MPD ver  (0.22.6_p0x3)
20210719 114321 worker: CPU gov  (ondemand)
20210719 114322 worker: USB boot enabled
20210719 114323 worker: File system expanded
20210719 114323 worker: HDMI port on
20210719 114323 worker: -- Network
20210719 114323 worker: eth0 exists
20210719 114323 worker: IP addr (192.168.1.5)
20210719 114323 worker: Netmask (255.255.255.0)
20210719 114323 worker: Gateway (192.168.1.1)
20210719 114323 worker: Pri DNS (fe80::1%eth0)
20210719 114323 worker: Domain  (192.168.1.1)
20210719 114323 worker: wlan0 exists
20210719 114323 worker: Pi integrated wlan0 power save disabled
20210719 114323 worker: wifi country (GR)
20210719 114323 worker: wlan0 SSID is blank
20210719 114323 worker: eth0 addr exists, AP mode not started
20210719 114323 worker: wlan0 address not assigned
20210719 114323 worker: -- Audio
20210719 114328 worker: MPD conf updated
20210719 114328 worker: ALSA card number (0)
20210719 114328 worker: MPD audio output (HiFiBerry DAC+ Pro)
20210719 114328 worker: Audio formats (S16_LE, S24_LE, S32_LE)
20210719 114328 worker: ALSA mixer name (Digital)
20210719 114328 worker: MPD volume control (software)
20210719 114328 worker: Hdwr volume controller exists
20210719 114328 worker: Max ALSA volume (100%)
20210719 114328 worker: Reset renderer active flags
20210719 114328 worker: CamillaDSP (off)
20210719 114328 worker: -- MPD
20210719 114328 worker: MPD started
20210719 114330 worker: MPD accepting connections
20210719 114330 worker: MPD output 1 ALSA Default (on)
20210719 114330 worker: MPD output 2 ALSA Crossfeed (off)
20210719 114330 worker: MPD output 3 ALSA Parametric EQ (off)
20210719 114330 worker: MPD output 4 ALSA Graphic EQ (off)
20210719 114330 worker: MPD output 5 ALSA Polarity Inv (off)
20210719 114330 worker: MPD output 6 ALSA CamillaDSP (off)
20210719 114330 worker: MPD output 7 ALSA Bluetooth (off)
20210719 114330 worker: MPD output 8 HTTP Server (off)
20210719 114330 worker: MPD crossfade (off)
20210719 114330 worker: MPD ignore CUE files (yes)
20210719 114330 worker: -- Feature availability
20210719 114330 worker: Source select (available)
20210719 114330 worker: Source select (source: MPD)
20210719 114330 worker: Source select (output: HiFiBerry DAC+ Pro)
20210719 114330 worker: Bluetooth (available)
20210719 114330 worker: Airplay renderer (available)
20210719 114330 worker: Spotify renderer (available)
20210719 114330 worker: Squeezelite (available)
20210719 114330 worker: RoonBridge renderer (not installed)
20210719 114330 worker: UPnP renderer (available)
20210719 114330 worker: DLNA server (available)
20210719 114330 worker: UPnP browser (available)
20210719 114330 worker: GPIO button handler (available)
20210719 114330 worker: Stream recorder (n/a)
20210719 114330 worker: -- Music sources
20210719 114330 worker: USB source (3BDB939D013EE5BB)
20210719 114330 worker: NAS and UPnP sources (none configured)
20210719 114330 worker: -- Miscellaneous
20210719 114330 worker: USB volume knob (Off)
20210719 114330 worker: USB auto-mounter (udisks-glue)
20210719 114330 worker: LED0 (On)
20210719 114330 worker: LED1 (On)
20210719 114330 worker: Saved MPD vol level (0)
20210719 114330 worker: Preamp volume level (0)
20210719 114330 worker: MPD volume level (99) restored
20210719 114330 worker: ALSA Digital volume (100%)
20210719 114330 worker: Auto-play (Off)
20210719 114330 worker: Maintenance interval (3 hrs)
20210719 114330 worker: Screen saver activation (Never)
20210719 114330 worker: Session permissions (OK)
20210719 114331 worker: Watchdog started
20210719 114331 worker: Ready
20210719 120457 worker: Job compactdb
20210719 144359 Maintenance: Free disk space < 512M required for in-place updates
Reply
@ListenToMusic

Hmmm. The moOde image is installed on an 8GB thumbdrive and the root file system has been expanded.

And, yet, the output from the df command says the root file system is only 3.4GB with 418MB free. These numbers are suggestive of the disk being only 4GB.

This possibility can be checked from the command line

Code:
sudo fdisk -l /dev/sdb

NOTE - I'm assuming the thumbdrive is mounted as /dev/sdb because the boot partition is mounted as /dev/sdb1. You could just omit the /dev/sdb from the command and sift through the results.

The output of this command will tell you how big RaspiOS thinks the drive is, as well as what and how big the partitions are.


Regards,
Kent
Reply
(07-19-2021, 02:08 PM)TheOldPresbyope Wrote:
Code:
sudo fdisk -l /dev/sdb

NOTE - I'm assuming the thumbdrive is mounted as /dev/sdb because the boot partition is mounted as /dev/sdb1. You could just omit the /dev/sdb from the command and sift through the results.
 The thumb-drive, indeed is mounted as /dev/sdb. The capacity of the stick is definitely 8GB as you can see from the fdisk -l output

Code:
Disk /dev/sdb: 7.3 GiB, 7803174912 bytes, 15240576 sectors
Disk model: TransMemory    
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: dos
Disk identifier: 0x067e19d7

Device     Boot  Start      End  Sectors  Size Id Type
/dev/sdb1         8192   532479   524288  256M  c W95 FAT32 (LBA)
/dev/sdb2       532480 15240575 14708096    7G 83 Linux
Reply
@ListenToMusic

I see two possibilities at this point.

1) Somehow the root file system has not been expanded to fill the 7GB partition even though moodeutl reports it has been. My memory is bad and I'm not in a position to roll back to a 7.1.0 system to try to reproduce the issue but maybe @Tim Curtis can comment on this.

2) (unlikely but possible) The file system which is mounted as the root file system is actually in some other partition/drive. This is easy to check. Try

Code:
mount | grep ' / '


For your system this command should report something like


Code:
pi@moode:~ $ mount | grep ' / '
/dev/sdb2 on / type ext4 (rw,noatime)

Regards,
Kent
Reply
To troubleshoot try the commands below.

Code from raspi-config script. This prints the name of the root partition.
Code:
echo $(mount | sed -n 's|^/dev/\(.*\) on / .*|\1|p')

Print size in bytes of rootfs.
Code:
lsblk -o size -nb /dev/disk/by-label/rootfs

You can also manually run the resize command that moOde uses to see if it works or if there are any errors.
Code:
sudo /var/www/command/resizefs.sh start

sudo reboot
Enjoy the Music!
http://moodeaudio.org | http://twitter.com/MoodeAudio | http://github.com/moodeaudio
Reply
The name of the root partition:
Code:
pi@moode:~ $ echo $(mount | sed -n 's|^/dev/\(.*\) on / .*|\1|p')
sdb2
The size of rootfs
Code:
pi@moode:~ $ lsblk -o size -nb /dev/disk/by-label/rootfs
7530545152
Reply
In earlier post "df -h" reports 3.5G for rootfs but "lsblk" reports 7530545152 (7.0G). These two should be ~same.

These commands show the numbers in G
Code:
lsblk -o size -n /dev/disk/by-label/rootfs

df -h | grep root | awk '{print $2}'

Examples from couple of my systems
Code:
pi@rp2:~ $ lsblk -o size -n /dev/disk/by-label/rootfs
29.5G
pi@rp2:~ $ df -h | grep root | awk '{print $2}'
29G

pi@moode:~ $ lsblk -o size -n /dev/disk/by-label/rootfs
3.9G
pi@moode:~ $ df -h | grep root | awk '{print $2}'
3.9G
Enjoy the Music!
http://moodeaudio.org | http://twitter.com/MoodeAudio | http://github.com/moodeaudio
Reply
@ListenToMusic


As Tim and I have pointed out in different ways, there's a discrepancy in the numbers you report. It seems to me we could keep poking for a while and still not understand how your 7.1.0 player got to the state it's in. 

If I were you, I'd start over with a fresh install of the current release (7.3.0) on a uSD card known to be good.

Regards,
Kent
Reply
Thank you very much for your help!

I was trying to avoid the hassle of a fresh install and manual addition of local stations.

I also notice the discrepancy. Trying the resize command I did get the following:

Code:
pi@moode:~ $ sudo /var/www/command/resizefs.sh start
sdb2 is not an SD card. Don't know how to expand 20 60 2

May be the issue is that I am using a usb stick instead of an sdcard. I find usb sticks more reliable than sdcards (two sdcards have failed on me).
Reply
(07-21-2021, 03:02 PM)ListenToMusic Wrote: I was trying to avoid the hassle of a fresh install and manual addition of local stations.

Under the cog icon top left of your radio station list, you will find the option to export the station list. This will download a zip file which you can then upload with the import function in the same location once upgraded.
Reply


Forum Jump: