Open Delegator9176 opened 1 year ago
Thanks for your issue! Indeed, I expercienced some troubles to update to the latest version of Photoprism on Yunohost. You will have to wait for now until Yunohost supports Bookworm (or I find another way to go).
Hi If you have need person to test . I have time for that. I have installed yunohost 12. how i can help ?
I
Thanks for your help offer! If you want to test, the following branch must work (althought I will probably refactor it a bit to ditch the docker extraction and use proper builds).
yunohost app install https://github.com/Thovi98/photoprism_ynh/tree/upgrade-for-bookworm --debug
Or better, use this branch without the docker-extraction but with proper builds:
yunohost app install https://github.com/Thovi98/photoprism_ynh/tree/official_builds --debug
Hey @Thovi98! I was finally able to install Photoprism using the last command you sent. It looks ok! Here is the log!
It would be great if you could update everything to the latest version and push it to the main repository!
Thanks @xplosionmind for your feadback! I will try to update soon.
As you are on Bookworm, is it a test server?
As you are on Bookworm, is it a test server?
Yep! Not prod.
@xplosionmind Could you please try an update?
And if you don’t mind, I would be glad to know if now the upgrade from actual master to my branch is working 😇
Sorry could you type out for me the terminal command I should run? I don’t know how to run an upgrade from a different branch/repo
Yes of course, thanks! It would first be to uninstall photoprism (new version will be able to be multi_instances normally 🤞).
Then just install photoprism like you would do for any app (yunohost app install photoprism
).
Finally upgrade the app with yunohost app install https://github.com/Thovi98/photoprism_ynh/tree/official_builds --debug
and see if you can still login and average features works.
Thanks for the help, @Thovi98!
I uninstalled photoprism, then I installed it normally (it seems to be working well), and lastly I run yunohost app upgrade app photoprism -u https://github.com/Thovi98/photoprism_ynh/tree/official_builds --debug
—I substituted install
with upgrade app photoprism -u
, because It would not work otherwise.
The last upgrade command failed, see the logs here
Sorry for the late reply! I don’t understand why you have dependencies problems since it works on CI 😐
TBH, I have no idea… How can I help you debug it? If you want, you can send me your SSH key and I can give you access, since it is a clean server I use for testing only.
Thanks for your offer! I’ve updated my instance to bookworm so I could debug. I could successfully update thanks to latest commit. Don’t hesitate to try :)
Hi @Thovi98! Sorry for the late reply. Should I install PhotoPrism normally from the web interface and then update from your repo? Give me instructions and I will follow them.
Thanks a lot for your efforts!
I saw upstream that we are a little bit behind. The latest updates also contained some security improvements so I would be very happy if someone would like to take care?
https://github.com/photoprism/photoprism/releases/tag/230625-17242fb07
Thanks in advance