InsulinAddict Linux autoupdate feature is temporarily broken, unfortunately. Please just install .deb or .rpm package from the web site. You can also subscribe on notifications on news section of this forum to stay informed about new releases.
Tonfotos: An up-to-date list of supported Linux distributions
Andrey
Wow you are fast on reply - and - I am grateful to know it’s not just me being dumb (more often the answer). It’s installed and while I have one other item to research - the install itself went through manually without incident. Thank you!
Sorry for the late reply I just read this post today. First I want to say that any comments I make here are meant as observations no criticisms. I do respect the decisions you have made in regards to Linux support, it’s you software and you are free to make any decisions you feel are the best for Tonfotos. I do appreciate that you bother with Linux support at all.
Until now I have only experimented with Linux, but I have decided to try to use Linux full time. I am still working on the transition. I recently purchased a Family License so I can use Tonfotos on Windows and Linux as I make the transition. Linux is also on my laptop. So you have another dedicated, almost, Linux user. Hopefully more will come on board.
I have one comment regarding the use of Ubuntu as your development platform, again totally up to you.
My observation is that while Ubuntu is a large and popular distribution it is not a base distribution. It is based on Debian and so are a lot of other distributions. But, Ubuntu changes some of the Debian defaults which means that some things done on Ubuntu are not backwards compatible with Debian and all of the other distributions derived from Debian. Some of those differences are the PPA system and the inclusion of the closed SNAP ecosystem. While I have no problem with Ubuntu making these decisions, it’s their software not mine, I worry it will complicate Linux compatibility more in the future than it already is. Anyway, like I said, just an observation. By the way I use MX Linux with the KDE desktop and have Tonfotos running on 2 machines now.
Cheers,
Gord
Lonely Tonfotos Linux User
Hi Andrey,
As I am impressed by the quality of face detection, I have tried several Linux installs.
Unfortunately, to no real succes.
Here is my list:
Ubuntu 18.04 LTS: tonfotos does not start. it wants GLIBC 2.29 and can only find 2.27. I did not succeed in compiling a higher version.
Ubuntu 18.10: same problem, updates are nog possible anymore, as the repositories are no longer online.
Ubuntu 22.04 LTS: initially tonfotos ran for two days, but then the UI froze and did not recover with any restart.
Debian 12 (bookworm), Gnome: same as Ubuntu 22.04
Fedora 41 KDE: same as Ubuntu 22.04
PopOs 22.04 (my OS on my main machine): UI freezes all the time.
All tests were performed with the ‘always-malloc’ tric applied.
On all systems younger than Ubuntu 18, the terminal always remained active with messages over the progress of the app, seems to be a UI problem on these systems.
Am I doing something wrong?
Is there any distro that can run tonfotos?
Kind regards,
Björn
- Edited
bjorn thank you very much for extensive testing and detailed report!
I am really sorry, this information in the initial post is a bit outdated. Six month ago we switched from ubuntu 18 to 20.04 as a base for container inside which Tonfotos is built. As far as I can remember, we had to bump up node.js version to 18 and it was just not possible to run it on ubuntu 18, so we had to switch ubuntu 20. Obviously, that affected GLIBC version that is being used by runtime.
About the same time we have updated electron version (the cross-platform UI framework Tonfotos is built on) (I don’t remember exact details, but that was probably the reason why we also needed to update node.js), and it later turned out that this more recent version has this issue on Ubuntu 22 and some other systmes. UI just gets freezed from time to time.
Probably the solution would be to update electron.js ever further to more recent versions and the isssue would be resolved (this is just a theory). But that would mean that minimal GLIBC requirement would be raised again and we will lose even more compatibulity.
I’m afraid, it is really hard to say what Linux versions are currently working fine. And honestly, this is really depressing. It looks like even SOME linux compatibility is completely impossible task to achive. Even a small change in your dependencies breaks everything. But you can’t be stuck to old versions of libraries since they are out of support long ago.
Thank you for your reply!
Ik will replace Fedora 41 with Kubuntu 20.04.6 LTS and report my findings.
Generally spoken, I would guess that the majority of Linux users uses (very) recent versions of their distro’s. Upgrading is super easy. Thus, support of very old libraries is probably not very important.
Would flatpak be a solution for this headache?
As far as I understand, flatpak apps include all their libraries and run in a sandbox.
The flatpak format is supported by almost every Linux version. There is an online appstore (flathub).
By using flatpak, you would only need one format, supporting even more Linux versions (for instance, Arch based) than now. It supports auto-update, too.
Hi again,
On Kubuntu 20.04.6 LTS tonfotos does not start.
In the terminal I get this:
Error: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.33′ not found (required by /usr/lib/tonfotos/resources/app/.webpack/main/native_modules/src/build/Release/sharp-linux-x64.node)
Ubuntu 20.04 has GLIBC 2.31
Is tonfotos compiled on Ubuntu 20.10?
bjorn Thus, support of very old libraries is probably not very important.
The issue is, some distros are lagging far behind, that even latest releases are too outdated compared to ubuntu for example. And for some reason those distros are quite popular.
bjorn Would flatpak be a solution for this headache?
Yes this one , or snap could potentially be a soluiton, but again, that is just a theory that requires testing. And that would also mean complete rebuild of our CI/CD system. I am afraid we will not be able to find enough time for that in our roadmap any time soon. Sorry.
This time, I installed tonfotos on MX Linux 23, which is based on Debian 12.
It installed and scanned my 35.000 images well.
On day two, I started to batch write people tags to general tags of the files (to have them permanently stored and be used by other apps).
It seems that this action (after a couple of times) makes tonfotos freeze. I had this feeling before, on Ubuntu and Debian 12.
The terminal gives this message: MenuCommand context_to_tag
After that, it produces no more output. The UI of tonfotos freezes.
Does this give you any clue, Andrey?
After restart, tonfotos ran fine for a while.
After batch writing a tag to a couple of hundred jpg’s, the UI froze.
Terminal said:
}
intercepted file:///usr/lib/tonfotos/resources/app/.webpack/renderer/message_box/index.html
Error sending usage statistics: /app/collect Error: socket hang up
at connResetException (node:internal/errors:704:14)
at TLSSocket.socketOnEnd (node:_http_client:505:23)
at TLSSocket.emit (node:events:525:35)
at endReadableNT (node:internal/streams/readable:1358:12)
at process.processTicksAndRejections (node:internal/process/task_queues:83:21) {
code: ‘ECONNRESET’
}
bjorn Does this give you any clue, Andrey?
Nope. Please turn on debug logging, this will give much more information: https://community.tonfotos.com/d/26-making-debug-logs-in-tonfotos
bjorn Error sending usage statistics: /app/collect Error: socket hang up
This should not be related. This is anonymous statistics, it can fail but this should not affect anything.
I am running 24.04. Apart from the occasional freezes ( 100% reproducable when going into the duplicates album) it is working well ( I have to delete the “ui” section in config.json to be able to run again after a freeze).
I notice the Ubuntu version is 1.11.4 while the RPM is 1.11.7 is there an update available?
Thanks for the info. I had given up a little while ago and was occasionally checking for updates on the forum. I had been running Tonfotos 1.11.2 on Linux Mint 22.1, it was stable for a while then the ui froze again. As you mentioned, I deleted the “ui” section of the json config file and it works after a restart. I am going to do a manual update, I downloaded the 1.11.14 deb version and will install it today. It seems that the newer versions, 1.11.7 and now 1.11.8 are not available for download as deb files yet.