immichFrame / ImmichFrame

GNU General Public License v3.0
469 stars 20 forks source link

Cannot use most recent version. Executable not working and settings file appears to be incorrect. #99

Closed vspaziani closed 3 months ago

vspaziani commented 3 months ago

Version

1.0.7.0

Deployment Method

Raspberry PI 5, unzipping

Description

When I download and unzip the release for my raspberry PI, I am unable to use the files that are included with the release. The executable is not able to be ran since it does not have to correct rights. When I add the execute flag to it with Chmod, I still cannot run the file. I had to revert to Version 1.0.5.0 in order to obtain a functional package.

I did not see any mention of breaking changes when reviewing the release notes but I do note that the expanded zip has a 'JSON' file for version 1.0.7.0 and in 1.0.5.0 it is an xml for the settings. All the previous versions that I have had prior to this update were all xml for the settings.

Reproduction

Download version 1.0.7.0 from releases Arm 64 version

expand

change relevant settings in JSON file

Execute application

Expectations

Executable to work after settings were set

Configuration

... this file does not exist (as 'settings.xml'). As mentioned in issues, it is settings.JSON

Logs

NA

Pre-Submission Checklist

3rob3 commented 3 months ago

Settings.xml was replaced with Settings.json. This was done to simplify and consolidate code with Android but is functionally the same.

I just downloaded the linux-arm64 from releases, transferred it to my Pi5, and it is working fine. What OS are you using, and is it Full or lite version? Are you seeing an error message?

vspaziani commented 3 months ago

Thanks for the followup. Sorry I thought I mentioned that. Though with your help I dug a little deeper and figured it out.

I am running Ubuntu 24.04 LTS, the desktop version.

When I expand the zip for ImmichFrame-v1.0.7.0-linux-arm64 I only see two files: Immich_Frame and Settings.example.json

after I copy and modify the settings.json, when I click on "Immich_Frame" I do receive an error stating

Could not Display software There is no app installed for "executable" files

Steps to resolve for me:

  1. Expand Zip File
  2. Copy Settings.example.json to Settings.json
  3. modify Settings.json to suit my environment
  4. Remove unused options from Settings.json ("Albums": [""], & "People": [""], in my file
  5. right click on Immich_Frame, select properties from context menu.
  6. at the bottom, select 'Execute as Program' to TRUE and click OK
  7. Right Click on Immich_Frame and select 'Open with..."
  8. choose 'Run Software' and ensure that aways use for this file type is set to TRUE
3rob3 commented 3 months ago

oh jeez, I will add that to Readme. Thanks for following up with how to fix it!