April 2023 Release
LIBRARY DEPENDENCY WORKAROUND
If the Web UI won't start up on your RPi, it is most likely because the Python library dependencies are broken. With the release of Python Flask 3.0.0 on Sep 30 2023, the PyPI dependency map for old versions of Flask broke down and pip
ends up installing incompatible libraries.
The recommended workaround follows below. After booting your RPi, issue the following commands from the terminal command line:
echo "Werkzeug==2.3.7" >> /home/pi/piscsi/python/web/requirements.txt
sudo rm -rf /home/pi/piscsi/python/web/venv
sudo systemctl restart piscsi-web
The Web UI should now start up, and load correctly after installing its dependencies with pip
.
How to update
- Option 1: Download the attached pre-configured Raspberry Pi OS Lite image, and flash it onto a SD card. (Reminder: Backup all of your data before doing this!)
- Option 2: On an existing PiSCSI installation, perform the following procedure:
cd ~/piscsi
git pull
git checkout v23.04.01
./easyinstall.sh
Select option 1 in easyinstall.sh to rebuild and install
SD Card Info
Note: There are TWO different pre-made images available. arm64
is now available if you are using a Raspberry Pi 3 or 4. All other versions of Raspberry Pi should use armhf
(32-bit).
- Default username: password is
pi
:raspberry
- Default host name is
piscsi
If you're using the pre-built images, please connect your Pi to the internet when first powering up. If you need Wifi, please follow these steps to configure your AP and password after flashing but before booting the OS for the first time. It needs to download a few Python packages before the web interface will start up. (We're working on fixing this)
Localization stats:
Translation stats:
./src/translations/sv/LC_MESSAGES/messages.po
258 translated messages, 1 fuzzy translation.
./src/translations/zh/LC_MESSAGES/messages.po
259 translated messages.
./src/translations/de/LC_MESSAGES/messages.po
259 translated messages.
./src/translations/fr/LC_MESSAGES/messages.po
259 translated messages.
./src/translations/es/LC_MESSAGES/messages.po
259 translated messages.
What's Changed
PiSCSI
- Add support for SCSI-1 CD Drives, introducing .is1 extension by @nsafran1217 in #1109
- Improve OpenVMS/VAX compatibility (issue #1117) by @uweseimet in #1123
- Fixed a bug where using HD images larger than 9999 MiB was impossible. by @rdmark in #1147
Web Interface
- Display image file subdirectories in collapsable tables by @rdmark in #1102 #1108 #1131
- Make it possible to download/upload directly to subdirectories by @rdmark in #1115 #1111
- Allow files to be overwritten when unpacking an archive. by @rdmark in #1120
- Remove git hash info, since it was very unreliable by @rdmark in #1129
- Graceful handling when working dirs do not exist by @rdmark in #1130
- Add noscript tag with notice when JavaScript is off by @rdmark in #1091
- Embed scripts only on pages where they are used, making pages lighter by @rdmark in #1097
easyinstall.sh
- Add option to easyinstall to support the "pi-gen" tool by @akuker in #1107
- Use one core with the compiler by default, again, to avoid OOM on RPi Zero 2 by @rdmark in #1114
- Netatalk: Configure atalkd to use piscsi_bridge by default by @rdmark in #1088
- Bump Netatalk to 2.2.230302 by @rdmark in #1142 #1119
- Fixed security defect CVE-2022-45188
- More reliable startup of atalkd on wifi-only devices
Miscellaneous
- Remove the deprecated Python loopback test by @rdmark in #1138
- Remove SonarCloud cache setup as it is now offered by default (#1135) by @rdmark in #1143
- Add optional LDFLAGS to Makefile in order to support faster linking by @uweseimet in #1128
- Fixed a potential issue with the unit test order (reserved file cleanup was missing) by @uweseimet in #1137
- Descriptive code comments for each h/fdisk command by @rdmark in #1106
- German language update by @cvictor in #1134
- Swedish translation update by @rdmark in #1136
- Updates to French translation by @akuker in #1141
- Updating the Spanish localisation by @n4al in #1145
- Updated Chinese Translations by @akuker in #1140
Full Changelog: v23.02.01...v23.04.01