I'm attempting to install beta-7 however both of the available archives, manual, quick, will not unpack but instead result in the pictured error. Anyone else with the same issue?
I cannot reproduce this issue on Windows 11; it downloads and extracts just fine for me. The byte number provided is one byte shy of the actual size, so perhaps it's a corrupt download. Try downloading it again and see if you get the same issue.
If you do, what operating system are you using? What utility or browser are you using to download the file? Also what utility are you using to extract the ZIP file? I checked into WEBP. Support for that was implemented in https://composr.app/tracker/view.php?id=4049 . But apparently it wasn't listed by default as an allowed image file. So I'll fix that for the future.
I'm testing by adding a WEBP AI-generated image. Not sure yet if attachments will actually render it.
Image
Whisk_c104496915.webp
(Click to enlarge)
Edit 2: it does not. I found a comment by Chris. WEBP is not rendered in attachments because it's not web-safe. I disagree. There is a PHP function that allows us to work with WEBP images. I will add to the tracker and put you as the author so you get credit.
You nailed it: "The byte number provided is one byte shy of the actual size".
I'm installing on the following:
Code
Ubuntu 22.04.5 LTS Apache/2.4.52 (Ubuntu) mysql Ver 15.1 Distrib 10.6.22-MariaDB, for debian-linux-gnu (x86_64) using EditLine wrapper PHP 8.1.2-1ubuntu2.22 UnZip 6.00 of 20 April 2009, by Debian
Error:
Code
zip error: Unexpected end of zip file (composr_manualextraction_installer-11.beta7.zip)
Fix:
Code
zip -FF composr_manualextraction_installer-11.beta7.zip --out composr_manualextraction_installer-11.beta7.MOD.zip
Result:
Code
Fix archive (-FF) - salvage what can zip warning: End record (EOCDR) only 17 bytes - assume truncated Is this a single-disk archive? (y/n): y Assuming single-disk archive
composr_manualextraction_installer-11.beta7.MOD.zip is increased by 1 byte.
Please do me a favour and re-download the manual installer again using the same method you did before, and let me know if it comes up one byte short again. I want to see if this was a one-off fluke (network issue perhaps) or a legit bug. Thanks!
Lol, the plot thickens! :-) It appears to be limited to the Thorium browser (thorium.rocks) I'm using which is a customized instance of Chromium. Brave and LibreWolf do not have the issue nor does "wget" or "curl"; all download to the correct byte count.
Code
Thorium Version 130.0.6723.174 (Official Build) stable, built on Ubuntu (SSE3) (64-bit)
Apologies, I should have checked this first!
It's been a while so I'm a bit out of practice as far as best testing goes :-)