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

"Invalid file format" when installing on final release of Synology DSM7.0 #292

Closed
mike-bee opened this issue Jul 3, 2021 · 9 comments
Closed
Labels
Administration Installation, Konfiguration, Start Fehler Anerkannter Fehler
Milestone

Comments

@mike-bee
Copy link

mike-bee commented Jul 3, 2021

Upgraded to DSM 7.0 final today. Installation of package "ccu-historian-dsm7-2.7.0-2.3-noarch.spk" failed with message "Invalid file format" on DS1815+.
According change log CCU-Historian should be compatible with DSM7 since 2.7.0 beta 2.

ccu-historian

@sw256
Copy link

sw256 commented Jul 13, 2021

I tried 2.7.0 beta 3 and 4 both have this error.
DSM 7.0-41890

@sw256
Copy link

sw256 commented Jul 13, 2021

Hatte noch vergessen zu erwähnen, dass ich die Punkte aus #261 bereits ausprobiert habe. Insbesondere die Java Fonts habe ich kopiert.

@mdzio
Copy link
Owner

mdzio commented Jul 13, 2021

@hotroot: Kannst Du hier vielleicht weiterhelfen?

@hotroot
Copy link

hotroot commented Jul 13, 2021

Es scheint mal wieder die Versionsnummer zu sein. Hier der entsprechende Log-Auszug:

==> synoscgi.log <==
2021-07-14T00:33:09+02:00 BigStation synoscgi_SYNO.Core.Package.Installation_1_upload[17823]: pkgverify.cpp:240 Failed to load pkg info, version=[2.7.0-2.3], correct-format=[^\d+(\.\d+){0,5}(-\d+)?$]
2021-07-14T00:33:09+02:00 BigStation synoscgi_SYNO.Core.Package.Installation_1_upload[17823]: pkgverify.cpp:297 Failed to verify package, spk=[/volume1/@tmp/upload_tmp.178230] result=[{"action":"prepare","beta":true,"betaIncoming":true,"error":{"code":261,"description":"invalid package info content"},"installReboot":false,"package":"ccu-historian-dsm7","packageName":"CCU-Historian","stage":"prepare","success":false}]

@mdzio
Copy link
Owner

mdzio commented Jul 14, 2021

Ich hatte extra in die SPK-Dokumentation für das Format der Versionsnummer hinein geschaut. Es ist aber gut, dass in der Fehlermeldung der reguläre Ausdruck zur Prüfung angegeben ist. Dann werde ich das Generieren der Versionsnummer nochmal anpassen.

@sw256
Copy link

sw256 commented Jul 14, 2021

Die Sache mit der Versionsnummer ist schon recht komisch. Es funktioniert ja auch dieses File nicht: ccu-historian-2.7.0-4-noarch.zip
Dieses hat ja schon bei hotroot funktioniert gehabt.

Muss mir das heute Abend nochmal anschauen.

@mdzio mdzio closed this as completed in c5b62ca Jul 14, 2021
@mdzio mdzio added this to the 2.7.0-beta.4 milestone Jul 14, 2021
@mdzio mdzio added Administration Installation, Konfiguration, Start Fehler Anerkannter Fehler labels Jul 14, 2021
@mdzio
Copy link
Owner

mdzio commented Jul 14, 2021

@sw256: Bitte mal die Version 2.7.0-beta.4 testen.

@mike-bee
Copy link
Author

mike-bee commented Jul 14, 2021

@mdzio: Funktioniert jetzt bei mir. Danke für den Fix.

@sw256
Copy link

sw256 commented Jul 14, 2021

@mdzio: Ja, hat sich bei mir nun auch installieren lassen.
DB kopieren hat auch geklappt und die alten Werte sind damit auch noch da. :)

Top, Danke. 👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Administration Installation, Konfiguration, Start Fehler Anerkannter Fehler
Projects
None yet
Development

No branches or pull requests

4 participants