kiwix-hotspot icon indicating copy to clipboard operation
kiwix-hotspot copied to clipboard

Error getting loop-device (edge case)

Open samuk opened this issue 3 years ago • 12 comments

Any ideas?

--> Extracting base image from ZIP file [18:26:24] --> Failed: Bad CRC-32 for file 'kiwix-hotspot_master_2021-11- [18:26:24] Installation failed: Bad CRC-32 for file 'kiwix-hotspot_master_2021-11-24.img' [18:26:24] [STAGE 1/6: Retrieve Master Image - 17%] [18:26:24] --- Exception Trace --- Traceback (most recent call last): File "run_installation.py", line 185, in run_installation File "backend/download.py", line 269, in unzip_file File "zipfile.py", line 1630, in extract File "zipfile.py", line 1702, in _extract_member File "shutil.py", line 205, in copyfileobj File "zipfile.py", line 940, in read File "zipfile.py", line 1030, in _read1 File "zipfile.py", line 958, in _update_crc zipfile.BadZipFile: Bad CRC-32 for file 'kiwix-hotspot_master_2021-11-24.img'

samuk avatar Mar 26 '22 18:03 samuk

@samuk This looks like somehow the download of the master failed... problem of connection to download it?!

kelson42 avatar Mar 26 '22 18:03 kelson42

Looks indeed like a download issue. Would you mind retrying?

rgaudin avatar Mar 26 '22 18:03 rgaudin

It failed in a different way this time:

[19:24:43] 'NoneType' object has no attribute 'groups' [19:24:43] Traceback (most recent call last): File "backend/mount.py", line 248, in test_mount_procedure File "backend/mount.py", line 445, in mount_data_partition File "backend/mount.py", line 335, in get_virtual_device AttributeError: 'NoneType' object has no attribute 'groups'

[19:24:43] --> Failed: thorough mount procedure failed [19:24:43] Installation failed: thorough mount procedure failed [19:24:43] [STAGE 1/6: Retrieve Master Image - 17%]

samuk avatar Mar 26 '22 19:03 samuk

Third attempt:

[19:29:12] --> Failed: thorough mount procedure failed [19:29:12] Installation failed: thorough mount procedure failed [19:29:12] [STAGE 1/6: Retrieve Master Image - 17%] [19:29:12] Call: ['/usr/bin/xdg-screensaver', 'resume', '0x5200000'] [19:29:13] mv: /tmp/_MEIncW9jQ/libselinux.so.1: no version information available (required by mv) [19:29:13] --> Restoring loop device (/dev/loop1) mode [19:29:13] Call: ['pkexec', 'chmod', '-v', '0660', '/dev/loop1'] [19:29:26] mode of '/dev/loop1' changed from 0666 (rw-rw-rw-) to 0660 (rw-rw----) [19:29:26] *** DURATIONS SUMMARY *** [19:29:26] [1/6] Retrieve Master Image: 1 minute and 3.33 seconds (Sat 26 Mar 2022 19:28:09 to Sat 26 Mar 2022 19:29:12 ) [19:29:26] TOTAL: 1 minute and 18.49 seconds (Sat 26 Mar 2022 19:27:54 to Sat 26 Mar 2022 19:29:12 )

I asked me for a root pw for Chmod twice this time

files

I note some files have appeared on the SD

Two new 1.6Gb mounts have also appeared

1 6Gb

samuk avatar Mar 26 '22 19:03 samuk

Another attempt:

[22:55:43] Mapped file /home/sam/Desktop/hotspot-2022_03_26-22_54_27.BUILDING.img as /dev/loop2. [22:55:43] 'NoneType' object has no attribute 'groups' [22:55:43] Traceback (most recent call last): File "backend/mount.py", line 248, in test_mount_procedure File "backend/mount.py", line 445, in mount_data_partition File "backend/mount.py", line 335, in get_virtual_device AttributeError: 'NoneType' object has no attribute 'groups'

[22:55:43] --- Exception Trace --- Traceback (most recent call last): File "run_installation.py", line 199, in run_installation ValueError: thorough mount procedure failed


[22:55:43] Restoring system sleep policy [22:55:43] Resuming xdg-screensaver (wid #0x6600000) [22:55:43] --> Failed: thorough mount procedure failed [22:55:43] Installation failed: thorough mount procedure failed [22:55:43] [STAGE 1/6: Retrieve Master Image - 17%] [22:55:43] Call: ['/usr/bin/xdg-screensaver', 'resume', '0x6600000'] [22:55:43] mv: /tmp/_MEI7ETAZZ/libselinux.so.1: no version information available (required by mv) [22:55:43] --> Restoring loop device (/dev/loop2) mode [22:55:43] Call: ['pkexec', 'chmod', '-v', '0660', '/dev/loop2'] [22:55:53] mode of '/dev/loop2' changed from 0666 (rw-rw-rw-) to 0660 (rw-rw----) [22:55:53] *** DURATIONS SUMMARY *** [22:55:53] [1/6] Retrieve Master Image: 1 minute and 4.81 seconds (Sat 26 Mar 2022 22:54:38 to Sat 26 Mar 2022 22:55:43 ) [22:55:53] TOTAL: 1 minute and 15.43 seconds (Sat 26 Mar 2022 22:54:27 to Sat 26 Mar 2022 22:55:43 )

samuk avatar Mar 26 '22 23:03 samuk

@rgaudin is the expert, but looks like from the logs that a screensaver is activated. Can you deactivate it?

kelson42 avatar Mar 27 '22 06:03 kelson42

No it's not related to the screensaver (we disable it during build and restore it at the end) but to the mount procedure : we test it early.

I'll have to look at logs closely but can you tell us what version or the tool you are using and what system you are on ? distrib and version ?

rgaudin avatar Mar 27 '22 09:03 rgaudin

For the record, it's failing at parsing the output of udisksctl loop-setup command. I see in your log that the expected output is there (Mapped file /home/sam/Desktop/hotspot-2022_03_26-22_54_27.BUILDING.img as /dev/loop2.) and this matches the regex. As the code is expecting this on the first line of the output, it would be good to know if there's another line reported by udiskctl (even a blank one) before that one.

Since the test fails after a minute, would you mind re-running it and pasting the whole log?

rgaudin avatar Mar 27 '22 12:03 rgaudin

Sure, root@Thinkpad:/home/sam# cat /etc/os-release PRETTY_NAME="Debian GNU/Linux 11 (bullseye)"

I used https://download.kiwix.org/release/kiwix-hotspot/kiwix-hotspot-linux.tar.gz

[22:54:27] Getting output of ['/bin/lsblk', '/dev/mmcblk0'] [22:54:27] [STAGE 0/6: Preparations - 0%] [22:54:27] [STAGE 0/6: Preparations - 0%] [22:54:27] Preventing system from sleeping [22:54:27] Suspending xdg-screensaver [22:54:27] Calling ['/usr/bin/xdg-screensaver', 'suspend', '0x6600000'] [22:54:27] --> Check System Requirements [22:54:27] Please read https://github.com/kiwix/kiwix-hotspot/wiki/System-Requirements for details [22:54:27] --> Ensure user files are present [22:54:27] --> Prepare Image file [22:54:27] Call: ['/usr/bin/udisksctl', 'dump'] [22:54:27] /usr/bin/udisksctl: /tmp/_MEI7ETAZZ/libselinux.so.1: no version information available (required by /lib/x86_64-linux-gnu/libmount.so.1) [22:54:27] /org/freedesktop/UDisks2/Manager: [22:54:27] org.freedesktop.UDisks2.Manager: [22:54:27] DefaultEncryptionType: luks1 [22:54:27] SupportedEncryptionTypes: luks1 [22:54:27] luks2 [22:54:27] SupportedFilesystems: ext2 [22:54:27] ext3 [22:54:27] ext4 [22:54:27] vfat [22:54:27] ntfs [22:54:27] exfat [22:54:27] xfs [22:54:27] reiserfs [22:54:27] nilfs2 [22:54:27] btrfs [22:54:27] minix [22:54:27] udf [22:54:27] f2fs [22:54:27] swap [22:54:27] Version: 2.9.2 [22:54:27] [22:54:27] /org/freedesktop/UDisks2/block_devices/loop0: [22:54:27] org.freedesktop.UDisks2.Block: [22:54:27] Configuration: [] [22:54:27] CryptoBackingDevice: '/' [22:54:27] Device: /dev/loop0 [22:54:27] DeviceNumber: 1792 [22:54:27] Drive: '/' [22:54:27] HintAuto: false [22:54:27] HintIconName:
[22:54:27] HintIgnore: true [22:54:27] HintName:
[22:54:27] HintPartitionable: true [22:54:27] HintSymbolicIconName:
[22:54:27] HintSystem: true [22:54:27] Id:
[22:54:27] IdLabel:
[22:54:27] IdType: exfat [22:54:27] IdUUID: E1E4-8DFB [22:54:27] IdUsage: filesystem [22:54:27] IdVersion: 1.0 [22:54:27] MDRaid: '/' [22:54:27] MDRaidMember: '/' [22:54:27] PreferredDevice: /dev/loop0 [22:54:27] ReadOnly: false [22:54:27] Size: 1585740288 [22:54:27] Symlinks: /dev/disk/by-uuid/E1E4-8DFB [22:54:27] UserspaceMountOptions:
[22:54:27] org.freedesktop.UDisks2.Filesystem: [22:54:27] MountPoints:
[22:54:27] Size: 0 [22:54:27] org.freedesktop.UDisks2.Loop: [22:54:27] Autoclear: false [22:54:27] BackingFile: /home/sam/Desktop/hotspot-2022_03_26-19_22_21.ERROR.img [22:54:27] SetupByUID: 0 [22:54:27] [22:54:27] /org/freedesktop/UDisks2/block_devices/loop1: [22:54:27] org.freedesktop.UDisks2.Block: [22:54:27] Configuration: [] [22:54:27] CryptoBackingDevice: '/' [22:54:27] Device: /dev/loop1 [22:54:27] DeviceNumber: 1793 [22:54:27] Drive: '/' [22:54:27] HintAuto: false [22:54:27] HintIconName:
[22:54:27] HintIgnore: true [22:54:27] HintName:
[22:54:27] HintPartitionable: true [22:54:27] HintSymbolicIconName:
[22:54:27] HintSystem: true [22:54:27] Id:
[22:54:27] IdLabel:
[22:54:27] IdType: exfat [22:54:27] IdUUID: E1E4-8DFB [22:54:27] IdUsage: filesystem [22:54:27] IdVersion: 1.0 [22:54:27] MDRaid: '/' [22:54:27] MDRaidMember: '/' [22:54:27] PreferredDevice: /dev/loop1 [22:54:27] ReadOnly: false [22:54:27] Size: 1585740288 [22:54:27] Symlinks: /dev/disk/by-uuid/E1E4-8DFB [22:54:27] UserspaceMountOptions:
[22:54:27] org.freedesktop.UDisks2.Filesystem: [22:54:27] MountPoints:
[22:54:27] Size: 0 [22:54:27] org.freedesktop.UDisks2.Loop: [22:54:27] Autoclear: false [22:54:27] BackingFile: /home/sam/Desktop/hotspot-2022_03_26-19_27_54.ERROR.img [22:54:27] SetupByUID: 0 [22:54:27] [22:54:27] /org/freedesktop/UDisks2/block_devices/loop2: [22:54:27] org.freedesktop.UDisks2.Block: [22:54:27] Configuration: [] [22:54:27] CryptoBackingDevice: '/' [22:54:27] Device: /dev/loop2 [22:54:27] DeviceNumber: 1794 [22:54:27] Drive: '/' [22:54:27] HintAuto: false [22:54:27] HintIconName:
[22:54:27] HintIgnore: true [22:54:27] HintName:
[22:54:27] HintPartitionable: true [22:54:27] HintSymbolicIconName:
[22:54:27] HintSystem: true [22:54:27] Id:
[22:54:27] IdLabel:
[22:54:27] IdType:
[22:54:27] IdUUID:
[22:54:27] IdUsage:
[22:54:27] IdVersion:
[22:54:27] MDRaid: '/' [22:54:27] MDRaidMember: '/' [22:54:27] PreferredDevice: /dev/loop2 [22:54:27] ReadOnly: false [22:54:27] Size: 0 [22:54:27] Symlinks:
[22:54:27] UserspaceMountOptions:
[22:54:27] org.freedesktop.UDisks2.Loop: [22:54:27] Autoclear: false [22:54:27] BackingFile:
[22:54:27] SetupByUID: 0 [22:54:27] [22:54:27] /org/freedesktop/UDisks2/block_devices/loop3: [22:54:27] org.freedesktop.UDisks2.Block: [22:54:27] Configuration: [] [22:54:27] CryptoBackingDevice: '/' [22:54:27] Device: /dev/loop3 [22:54:27] DeviceNumber: 1795 [22:54:27] Drive: '/' [22:54:27] HintAuto: false [22:54:27] HintIconName:
[22:54:27] HintIgnore: true [22:54:27] HintName:
[22:54:27] HintPartitionable: true [22:54:27] HintSymbolicIconName:
[22:54:27] HintSystem: true [22:54:27] Id:
[22:54:27] IdLabel:
[22:54:27] IdType:
[22:54:27] IdUUID:
[22:54:27] IdUsage:
[22:54:27] IdVersion:
[22:54:28] MDRaid: '/' [22:54:28] MDRaidMember: '/' [22:54:28] PreferredDevice: /dev/loop3 [22:54:28] ReadOnly: false [22:54:28] Size: 0 [22:54:28] Symlinks:
[22:54:28] UserspaceMountOptions:
[22:54:28] org.freedesktop.UDisks2.Loop: [22:54:28] Autoclear: false [22:54:28] BackingFile:
[22:54:28] SetupByUID: 0 [22:54:28] [22:54:28] /org/freedesktop/UDisks2/block_devices/loop4: [22:54:28] org.freedesktop.UDisks2.Block: [22:54:28] Configuration: [] [22:54:28] CryptoBackingDevice: '/' [22:54:28] Device: /dev/loop4 [22:54:28] DeviceNumber: 1796 [22:54:28] Drive: '/' [22:54:28] HintAuto: false [22:54:28] HintIconName:
[22:54:28] HintIgnore: true [22:54:28] HintName:
[22:54:28] HintPartitionable: true [22:54:28] HintSymbolicIconName:
[22:54:28] HintSystem: true [22:54:28] Id:
[22:54:28] IdLabel:
[22:54:28] IdType:
[22:54:28] IdUUID:
[22:54:28] IdUsage:
[22:54:28] IdVersion:
[22:54:28] MDRaid: '/' [22:54:28] MDRaidMember: '/' [22:54:28] PreferredDevice: /dev/loop4 [22:54:28] ReadOnly: false [22:54:28] Size: 0 [22:54:28] Symlinks:
[22:54:28] UserspaceMountOptions:
[22:54:28] org.freedesktop.UDisks2.Loop: [22:54:28] Autoclear: false [22:54:28] BackingFile:
[22:54:28] SetupByUID: 0 [22:54:28] [22:54:28] /org/freedesktop/UDisks2/block_devices/loop5: [22:54:28] org.freedesktop.UDisks2.Block: [22:54:28] Configuration: [] [22:54:28] CryptoBackingDevice: '/' [22:54:28] Device: /dev/loop5 [22:54:28] DeviceNumber: 1797 [22:54:28] Drive: '/' [22:54:28] HintAuto: false [22:54:28] HintIconName:
[22:54:28] HintIgnore: true [22:54:28] HintName:
[22:54:28] HintPartitionable: true [22:54:28] HintSymbolicIconName:
[22:54:28] HintSystem: true [22:54:28] Id:
[22:54:28] IdLabel:
[22:54:28] IdType:
[22:54:28] IdUUID:
[22:54:28] IdUsage:
[22:54:28] IdVersion:
[22:54:28] MDRaid: '/' [22:54:28] MDRaidMember: '/' [22:54:28] PreferredDevice: /dev/loop5 [22:54:28] ReadOnly: false [22:54:28] Size: 0 [22:54:28] Symlinks:
[22:54:28] UserspaceMountOptions:
[22:54:28] org.freedesktop.UDisks2.Loop: [22:54:28] Autoclear: false [22:54:28] BackingFile:
[22:54:28] SetupByUID: 0 [22:54:28] [22:54:28] /org/freedesktop/UDisks2/block_devices/loop6: [22:54:28] org.freedesktop.UDisks2.Block: [22:54:28] Configuration: [] [22:54:28] CryptoBackingDevice: '/' [22:54:28] Device: /dev/loop6 [22:54:28] DeviceNumber: 1798 [22:54:28] Drive: '/' [22:54:28] HintAuto: false [22:54:28] HintIconName:
[22:54:28] HintIgnore: true [22:54:28] HintName:
[22:54:28] HintPartitionable: true [22:54:28] HintSymbolicIconName:
[22:54:28] HintSystem: true [22:54:28] Id:
[22:54:28] IdLabel:
[22:54:28] IdType:
[22:54:28] IdUUID:
[22:54:28] IdUsage:
[22:54:28] IdVersion:
[22:54:28] MDRaid: '/' [22:54:28] MDRaidMember: '/' [22:54:28] PreferredDevice: /dev/loop6 [22:54:28] ReadOnly: false [22:54:28] Size: 0 [22:54:28] Symlinks:
[22:54:28] UserspaceMountOptions:
[22:54:28] org.freedesktop.UDisks2.Loop: [22:54:28] Autoclear: false [22:54:28] BackingFile:
[22:54:28] SetupByUID: 0 [22:54:28] [22:54:28] /org/freedesktop/UDisks2/block_devices/loop7: [22:54:28] org.freedesktop.UDisks2.Block: [22:54:28] Configuration: [] [22:54:28] CryptoBackingDevice: '/' [22:54:28] Device: /dev/loop7 [22:54:28] DeviceNumber: 1799 [22:54:28] Drive: '/' [22:54:28] HintAuto: false [22:54:28] HintIconName:
[22:54:28] HintIgnore: true [22:54:28] HintName:
[22:54:28] HintPartitionable: true [22:54:28] HintSymbolicIconName:
[22:54:28] HintSystem: true [22:54:28] Id:
[22:54:28] IdLabel:
[22:54:28] IdType:
[22:54:28] IdUUID:
[22:54:28] IdUsage:
[22:54:28] IdVersion:
[22:54:28] MDRaid: '/' [22:54:28] MDRaidMember: '/' [22:54:28] PreferredDevice: /dev/loop7 [22:54:28] ReadOnly: false [22:54:28] Size: 0 [22:54:28] Symlinks:
[22:54:28] UserspaceMountOptions:
[22:54:28] org.freedesktop.UDisks2.Loop: [22:54:28] Autoclear: false [22:54:28] BackingFile:
[22:54:28] SetupByUID: 0 [22:54:28] [22:54:28] /org/freedesktop/UDisks2/block_devices/mmcblk0: [22:54:28] org.freedesktop.UDisks2.Block: [22:54:28] Configuration: [] [22:54:28] CryptoBackingDevice: '/' [22:54:28] Device: /dev/mmcblk0 [22:54:28] DeviceNumber: 45824 [22:54:28] Drive: '/org/freedesktop/UDisks2/drives/ASTC_0x000011ef' [22:54:28] HintAuto: true [22:54:28] HintIconName:
[22:54:28] HintIgnore: true [22:54:28] HintName:
[22:54:28] HintPartitionable: true [22:54:28] HintSymbolicIconName:
[22:54:28] HintSystem: false [22:54:28] Id:
[22:54:28] IdLabel:
[22:54:28] IdType:
[22:54:28] IdUUID:
[22:54:28] IdUsage:
[22:54:28] IdVersion:
[22:54:28] MDRaid: '/' [22:54:28] MDRaidMember: '/' [22:54:28] PreferredDevice: /dev/mmcblk0 [22:54:28] ReadOnly: false [22:54:28] Size: 31268536320 [22:54:28] Symlinks: /dev/disk/by-id/mmc-ASTC_0x000011ef [22:54:28] /dev/disk/by-path/pci-0000:02:00.0-platform-rtsx_pci_sdmmc.0 [22:54:28] UserspaceMountOptions:
[22:54:28] org.freedesktop.UDisks2.PartitionTable: [22:54:28] Partitions: /org/freedesktop/UDisks2/block_devices/mmcblk0p1 [22:54:28] Type: dos [22:54:28] [22:54:28] /org/freedesktop/UDisks2/block_devices/mmcblk0p1: [22:54:28] org.freedesktop.UDisks2.Block: [22:54:28] Configuration: [] [22:54:28] CryptoBackingDevice: '/' [22:54:28] Device: /dev/mmcblk0p1 [22:54:28] DeviceNumber: 45825 [22:54:28] Drive: '/org/freedesktop/UDisks2/drives/ASTC_0x000011ef' [22:54:28] HintAuto: true [22:54:28] HintIconName:
[22:54:28] HintIgnore: true [22:54:28] HintName:
[22:54:28] HintPartitionable: true [22:54:28] HintSymbolicIconName:
[22:54:28] HintSystem: false [22:54:28] Id: by-uuid-B7FC-4976 [22:54:28] IdLabel: DUMMY [22:54:28] IdType: vfat [22:54:28] IdUUID: B7FC-4976 [22:54:28] IdUsage: filesystem [22:54:28] IdVersion: FAT12 [22:54:28] MDRaid: '/' [22:54:28] MDRaidMember: '/' [22:54:28] PreferredDevice: /dev/mmcblk0p1 [22:54:28] ReadOnly: false [22:54:28] Size: 1048064 [22:54:28] Symlinks: /dev/disk/by-id/mmc-ASTC_0x000011ef-part1 [22:54:28] /dev/disk/by-label/DUMMY [22:54:28] /dev/disk/by-partuuid/9fc168b9-01 [22:54:28] /dev/disk/by-path/pci-0000:02:00.0-platform-rtsx_pci_sdmmc.0-part1 [22:54:28] /dev/disk/by-uuid/B7FC-4976 [22:54:28] UserspaceMountOptions:
[22:54:28] org.freedesktop.UDisks2.Filesystem: [22:54:28] MountPoints:
[22:54:28] Size: 0 [22:54:28] org.freedesktop.UDisks2.Partition: [22:54:28] Flags: 0 [22:54:28] IsContained: false [22:54:28] IsContainer: false [22:54:28] Name:
[22:54:28] Number: 1 [22:54:28] Offset: 512 [22:54:28] Size: 1048064 [22:54:28] Table: '/org/freedesktop/UDisks2/block_devices/mmcblk0' [22:54:28] Type: 0x0b [22:54:28] UUID: 9fc168b9-01 [22:54:28] [22:54:28] /org/freedesktop/UDisks2/block_devices/nvme0n1: [22:54:28] org.freedesktop.UDisks2.Block: [22:54:28] Configuration: [] [22:54:28] CryptoBackingDevice: '/' [22:54:28] Device: /dev/nvme0n1 [22:54:28] DeviceNumber: 66304 [22:54:28] Drive: '/org/freedesktop/UDisks2/drives/SAMSUNG_MZVLW256HEHP_000L7_S35ENX0J771429' [22:54:28] HintAuto: false [22:54:28] HintIconName:
[22:54:28] HintIgnore: true [22:54:28] HintName:
[22:54:28] HintPartitionable: true [22:54:28] HintSymbolicIconName:
[22:54:28] HintSystem: true [22:54:28] Id: by-id-nvme-SAMSUNG_MZVLW256HEHP-000L7_S35ENX0J771429 [22:54:28] IdLabel:
[22:54:28] IdType:
[22:54:28] IdUUID:
[22:54:28] IdUsage:
[22:54:28] IdVersion:
[22:54:28] MDRaid: '/' [22:54:28] MDRaidMember: '/' [22:54:28] PreferredDevice: /dev/nvme0n1 [22:54:28] ReadOnly: false [22:54:28] Size: 256060514304 [22:54:28] Symlinks: /dev/disk/by-id/nvme-SAMSUNG_MZVLW256HEHP-000L7_S35ENX0J771429 [22:54:28] /dev/disk/by-id/nvme-eui.002538b771b4db3e [22:54:28] /dev/disk/by-path/pci-0000:05:00.0-nvme-1 [22:54:28] UserspaceMountOptions:
[22:54:28] org.freedesktop.UDisks2.PartitionTable: [22:54:28] Partitions: /org/freedesktop/UDisks2/block_devices/nvme0n1p2 [22:54:28] /org/freedesktop/UDisks2/block_devices/nvme0n1p1 [22:54:28] /org/freedesktop/UDisks2/block_devices/nvme0n1p3 [22:54:28] Type: dos [22:54:28] [22:54:28] /org/freedesktop/UDisks2/block_devices/nvme0n1p1: [22:54:28] org.freedesktop.UDisks2.Block: [22:54:28] Configuration: [] [22:54:28] CryptoBackingDevice: '/' [22:54:28] Device: /dev/nvme0n1p1 [22:54:28] DeviceNumber: 66305 [22:54:28] Drive: '/org/freedesktop/UDisks2/drives/SAMSUNG_MZVLW256HEHP_000L7_S35ENX0J771429' [22:54:28] HintAuto: false [22:54:28] HintIconName:
[22:54:28] HintIgnore: true [22:54:28] HintName:
[22:54:28] HintPartitionable: true [22:54:28] HintSymbolicIconName:
[22:54:28] HintSystem: true [22:54:28] Id: by-id-nvme-SAMSUNG_MZVLW256HEHP-000L7_S35ENX0J771429-part1 [22:54:28] IdLabel: System [22:54:28] IdType: ntfs [22:54:28] IdUUID: 4E96757F967567FB [22:54:28] IdUsage: filesystem [22:54:28] IdVersion:
[22:54:28] MDRaid: '/' [22:54:28] MDRaidMember: '/' [22:54:28] PreferredDevice: /dev/nvme0n1p1 [22:54:28] ReadOnly: false [22:54:28] Size: 471859200 [22:54:28] Symlinks: /dev/disk/by-id/nvme-SAMSUNG_MZVLW256HEHP-000L7_S35ENX0J771429-part1 [22:54:28] /dev/disk/by-id/nvme-eui.002538b771b4db3e-part1 [22:54:28] /dev/disk/by-label/System [22:54:28] /dev/disk/by-partuuid/e7ef0c0a-01 [22:54:28] /dev/disk/by-path/pci-0000:05:00.0-nvme-1-part1 [22:54:28] /dev/disk/by-uuid/4E96757F967567FB [22:54:28] UserspaceMountOptions:
[22:54:28] org.freedesktop.UDisks2.Filesystem: [22:54:28] MountPoints:
[22:54:28] Size: 0 [22:54:28] org.freedesktop.UDisks2.Partition: [22:54:28] Flags: 0 [22:54:28] IsContained: false [22:54:28] IsContainer: false [22:54:28] Name:
[22:54:28] Number: 1 [22:54:28] Offset: 1048576 [22:54:28] Size: 471859200 [22:54:28] Table: '/org/freedesktop/UDisks2/block_devices/nvme0n1' [22:54:28] Type: 0x07 [22:54:28] UUID: e7ef0c0a-01 [22:54:28] [22:54:28] /org/freedesktop/UDisks2/block_devices/nvme0n1p2: [22:54:28] org.freedesktop.UDisks2.Block: [22:54:28] Configuration: [] [22:54:28] CryptoBackingDevice: '/' [22:54:28] Device: /dev/nvme0n1p2 [22:54:28] DeviceNumber: 66306 [22:54:28] Drive: '/org/freedesktop/UDisks2/drives/SAMSUNG_MZVLW256HEHP_000L7_S35ENX0J771429' [22:54:28] HintAuto: false [22:54:28] HintIconName:
[22:54:28] HintIgnore: true [22:54:28] HintName:
[22:54:28] HintPartitionable: true [22:54:28] HintSymbolicIconName:
[22:54:28] HintSystem: true [22:54:28] Id: by-id-nvme-SAMSUNG_MZVLW256HEHP-000L7_S35ENX0J771429-part2 [22:54:28] IdLabel: Windows [22:54:28] IdType: ntfs [22:54:28] IdUUID: 204C75F44C75C556 [22:54:28] IdUsage: filesystem [22:54:28] IdVersion:
[22:54:28] MDRaid: '/' [22:54:28] MDRaidMember: '/' [22:54:28] PreferredDevice: /dev/nvme0n1p2 [22:54:28] ReadOnly: false [22:54:28] Size: 90644907008 [22:54:28] Symlinks: /dev/disk/by-id/nvme-SAMSUNG_MZVLW256HEHP-000L7_S35ENX0J771429-part2 [22:54:28] /dev/disk/by-id/nvme-eui.002538b771b4db3e-part2 [22:54:28] /dev/disk/by-label/Windows [22:54:28] /dev/disk/by-partuuid/e7ef0c0a-02 [22:54:28] /dev/disk/by-path/pci-0000:05:00.0-nvme-1-part2 [22:54:28] /dev/disk/by-uuid/204C75F44C75C556 [22:54:28] UserspaceMountOptions:
[22:54:28] org.freedesktop.UDisks2.Filesystem: [22:54:28] MountPoints:
[22:54:28] Size: 0 [22:54:28] org.freedesktop.UDisks2.Partition: [22:54:28] Flags: 0 [22:54:28] IsContained: false [22:54:28] IsContainer: false [22:54:28] Name:
[22:54:28] Number: 2 [22:54:28] Offset: 472907776 [22:54:28] Size: 90644907008 [22:54:28] Table: '/org/freedesktop/UDisks2/block_devices/nvme0n1' [22:54:28] Type: 0x83 [22:54:28] UUID: e7ef0c0a-02 [22:54:28] [22:54:28] /org/freedesktop/UDisks2/block_devices/nvme0n1p3: [22:54:28] org.freedesktop.UDisks2.Block: [22:54:28] Configuration: [('fstab', {'fsname': <b'UUID=aae324b0-aec1-411d-bdd1-99e7c04710cd'>, 'dir': <b'/'>, 'type': <b'ext4'>, 'opts': <b'defaults,noatime'>, 'freq': <0>, 'passno': <1>})] [22:54:28] CryptoBackingDevice: '/' [22:54:28] Device: /dev/nvme0n1p3 [22:54:28] DeviceNumber: 66307 [22:54:28] Drive: '/org/freedesktop/UDisks2/drives/SAMSUNG_MZVLW256HEHP_000L7_S35ENX0J771429' [22:54:28] HintAuto: false [22:54:28] HintIconName:
[22:54:28] HintIgnore: true [22:54:28] HintName:
[22:54:28] HintPartitionable: true [22:54:28] HintSymbolicIconName:
[22:54:28] HintSystem: true [22:54:28] Id: by-id-nvme-SAMSUNG_MZVLW256HEHP-000L7_S35ENX0J771429-part3 [22:54:28] IdLabel:
[22:54:28] IdType: ext4 [22:54:28] IdUUID: aae324b0-aec1-411d-bdd1-99e7c04710cd [22:54:28] IdUsage: filesystem [22:54:28] IdVersion: 1.0 [22:54:28] MDRaid: '/' [22:54:28] MDRaidMember: '/' [22:54:28] PreferredDevice: /dev/nvme0n1p3 [22:54:28] ReadOnly: false [22:54:28] Size: 164941298176 [22:54:28] Symlinks: /dev/disk/by-id/nvme-SAMSUNG_MZVLW256HEHP-000L7_S35ENX0J771429-part3 [22:54:28] /dev/disk/by-id/nvme-eui.002538b771b4db3e-part3 [22:54:28] /dev/disk/by-partuuid/e7ef0c0a-03 [22:54:28] /dev/disk/by-path/pci-0000:05:00.0-nvme-1-part3 [22:54:28] /dev/disk/by-uuid/aae324b0-aec1-411d-bdd1-99e7c04710cd [22:54:28] UserspaceMountOptions:
[22:54:28] org.freedesktop.UDisks2.Filesystem: [22:54:28] MountPoints: / [22:54:28] Size: 164941295616 [22:54:28] org.freedesktop.UDisks2.Partition: [22:54:28] Flags: 128 [22:54:28] IsContained: false [22:54:28] IsContainer: false [22:54:28] Name:
[22:54:28] Number: 3 [22:54:28] Offset: 91117815296 [22:54:28] Size: 164941298176 [22:54:28] Table: '/org/freedesktop/UDisks2/block_devices/nvme0n1' [22:54:28] Type: 0x83 [22:54:28] UUID: e7ef0c0a-03 [22:54:28] [22:54:28] /org/freedesktop/UDisks2/drives/ASTC_0x000011ef: [22:54:28] org.freedesktop.UDisks2.Drive: [22:54:28] CanPowerOff: false [22:54:28] Configuration: {} [22:54:28] ConnectionBus: sdio [22:54:28] Ejectable: true [22:54:28] Id: ASTC-0x000011ef [22:54:28] Media: flash_sd [22:54:28] MediaAvailable: true [22:54:28] MediaChangeDetected: true [22:54:28] MediaCompatibility: flash_sd [22:54:28] MediaRemovable: true [22:54:28] Model: ASTC [22:54:28] Optical: false [22:54:28] OpticalBlank: false [22:54:28] OpticalNumAudioTracks: 0 [22:54:28] OpticalNumDataTracks: 0 [22:54:28] OpticalNumSessions: 0 [22:54:28] OpticalNumTracks: 0 [22:54:28] Removable: true [22:54:28] Revision:
[22:54:28] RotationRate: 0 [22:54:28] Seat: seat0 [22:54:28] Serial: 0x000011ef [22:54:28] SiblingId:
[22:54:28] Size: 31268536320 [22:54:28] SortKey: 01hotplug/1648330729099994 [22:54:28] TimeDetected: 1648330729099994 [22:54:28] TimeMediaDetected: 1648330729099994 [22:54:28] Vendor:
[22:54:28] WWN:
[22:54:28] [22:54:28] /org/freedesktop/UDisks2/drives/SAMSUNG_MZVLW256HEHP_000L7_S35ENX0J771429: [22:54:28] org.freedesktop.UDisks2.Drive: [22:54:28] CanPowerOff: false [22:54:28] Configuration: {} [22:54:28] ConnectionBus:
[22:54:28] Ejectable: false [22:54:28] Id: SAMSUNG-MZVLW256HEHP-000L7-S35ENX0J771429 [22:54:28] Media:
[22:54:28] MediaAvailable: true [22:54:28] MediaChangeDetected: true [22:54:28] MediaCompatibility:
[22:54:28] MediaRemovable: false [22:54:28] Model: SAMSUNG MZVLW256HEHP-000L7 [22:54:28] Optical: false [22:54:28] OpticalBlank: false [22:54:28] OpticalNumAudioTracks: 0 [22:54:28] OpticalNumDataTracks: 0 [22:54:28] OpticalNumSessions: 0 [22:54:28] OpticalNumTracks: 0 [22:54:28] Removable: false [22:54:28] Revision: 4L7QCXB7 [22:54:28] RotationRate: 0 [22:54:28] Seat: seat0 [22:54:28] Serial: S35ENX0J771429 [22:54:28] SiblingId:
[22:54:28] Size: 256060514304 [22:54:28] SortKey: 00coldplug/00fixed/nvme0n1 [22:54:28] TimeDetected: 1648318968985227 [22:54:28] TimeMediaDetected: 1648318968985227 [22:54:28] Vendor:
[22:54:28] WWN: eui.002538b771b4db3e [22:54:28] --> Change loop device mode (/dev/mmcblk0) [22:54:28] Call: ['pkexec', 'chmod', '-v', 'o+rw', '/dev/loop2'] [22:54:38] mode of '/dev/loop2' changed from 0660 (rw-rw----) to 0666 (rw-rw-rw-) [22:54:38] --> Dumping Hotspot Configuration [22:54:38] { "installer_version": "2.4.11", "catalogs": [ { "name": "Kiwix", "description": "Kiwix ZIM Content", "url": "http://mirror.download.kiwix.org/library/ideascube.yml", "local_url": "file:///home/pi/catalog_Kiwix.yml" } ], "kernel_version": "5.10.17", "root_partition_size": 7000000000, "disk_size": 34359738368, "project_name": "Kiwix", "timezone": "Atlantic/St_Helena", "language": "en", "language_name": "English", "kalite_languages": [], "wikifundi_languages": [], "aflatoun_languages": [], "edupi": true, "edupi_has_resources": false, "nomad": false, "mathews": false, "africatik": false, "packages": [], "custom_branding_path": "/tmp", "admin_account": "admin", "admin_password": "****" } [22:54:38] homepage saved to: /tmp/tmplaga35n7.html [22:54:38] [STAGE 1/6: Retrieve Master Image - 0%] [22:54:38] --> Retrieving base image file [22:54:38] calculating sum for /home/sam/Desktop/kiwix-hotspot.cache/kiwix-hotspot_master_2021-11-24.img.zip...[22:54:45] MATCH. [22:54:45] Reusing already downloaded base image ZIP file [22:54:45] [STAGE 1/6: Retrieve Master Image - 8%] [22:54:45] --> Extracting base image from ZIP file [22:55:42] Extraction complete: /home/sam/Desktop/hotspot-2022_03_26-22_54_27.BUILDING.img [22:55:42] [STAGE 1/6: Retrieve Master Image - 15%] [22:55:42] --> Testing mount procedure [22:55:42] . mounting /home/sam/Desktop/hotspot-2022_03_26-22_54_27.BUILDING.img [22:55:42] Call: ['/tmp/_MEI7ETAZZ/qemu-img', 'info', '-f', 'raw', '/home/sam/Desktop/hotspot-2022_03_26-22_54_27.BUILDING.img'] [22:55:42] image: /home/sam/Desktop/hotspot-2022_03_26-22_54_27.BUILDING.img [22:55:42] file format: raw [22:55:42] virtual size: 8 GiB (8589934592 bytes) [22:55:42] disk size: 8 GiB [22:55:42] Call: ['/usr/bin/udisksctl', 'loop-setup', '--offset', '7000031744', '--size', '1585740288', '--file', '/home/sam/Desktop/hotspot-2022_03_26-22_54_27.BUILDING.img', '--no-user-interaction'] [22:55:43] /usr/bin/udisksctl: /tmp/_MEI7ETAZZ/libselinux.so.1: no version information available (required by /lib/x86_64-linux-gnu/libmount.so.1) [22:55:43] Mapped file /home/sam/Desktop/hotspot-2022_03_26-22_54_27.BUILDING.img as /dev/loop2. [22:55:43] 'NoneType' object has no attribute 'groups' [22:55:43] Traceback (most recent call last): File "backend/mount.py", line 248, in test_mount_procedure File "backend/mount.py", line 445, in mount_data_partition File "backend/mount.py", line 335, in get_virtual_device AttributeError: 'NoneType' object has no attribute 'groups'

[22:55:43] --- Exception Trace --- Traceback (most recent call last): File "run_installation.py", line 199, in run_installation ValueError: thorough mount procedure failed


[22:55:43] Restoring system sleep policy [22:55:43] Resuming xdg-screensaver (wid #0x6600000) [22:55:43] --> Failed: thorough mount procedure failed [22:55:43] Installation failed: thorough mount procedure failed [22:55:43] [STAGE 1/6: Retrieve Master Image - 17%] [22:55:43] Call: ['/usr/bin/xdg-screensaver', 'resume', '0x6600000'] [22:55:43] mv: /tmp/_MEI7ETAZZ/libselinux.so.1: no version information available (required by mv) [22:55:43] --> Restoring loop device (/dev/loop2) mode [22:55:43] Call: ['pkexec', 'chmod', '-v', '0660', '/dev/loop2'] [22:55:53] mode of '/dev/loop2' changed from 0666 (rw-rw-rw-) to 0660 (rw-rw----) [22:55:53] *** DURATIONS SUMMARY *** [22:55:53] [1/6] Retrieve Master Image: 1 minute and 4.81 seconds (Sat 26 Mar 2022 22:54:38 to Sat 26 Mar 2022 22:55:43 ) [22:55:53] TOTAL: 1 minute and 15.43 seconds (Sat 26 Mar 2022 22:54:27 to Sat 26 Mar 2022 22:55:43 )

samuk avatar Mar 27 '22 21:03 samuk

I've actually taken a different approach now, so resolving this may not be worth your time. Feel free to re-open if you do want to poke at it.

samuk avatar Mar 29 '22 21:03 samuk

Sorry about the delay ; as you can see in your log, udiskctl reports an error before output the expected message. That's what's causing the issue. We can fix this as expecting first line is fragile but that would be for next release.

rgaudin avatar Mar 30 '22 07:03 rgaudin

This issue has been automatically marked as stale because it has not had recent activity. It will be now be reviewed manually. Thank you for your contributions.

stale[bot] avatar May 29 '22 09:05 stale[bot]

Unfortunately this product has been discontinued. Therefore this issue won't be fixed/implemented. A bit more details can be found here.

kelson42 avatar Jun 04 '24 19:06 kelson42