• Bugs
  • Tonfotos: An up-to-date list of supported Linux distributions

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.

    Andrey

    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 Is tonfotos compiled on Ubuntu 20.10?

        We use docker image amd64/ubuntu:20.04

        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?

            bjorn

            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’
            }

              Andrey

              Now, the UI freezes directly and every time.
              No debugging possible.
              I think I have to give up for now.

              4 months later

              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?

                Phiznlil Thank you for noticing. We will check the distribution publishin system.

                Phiznlil

                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.

                2 months later

                Any news on the Ubuntu version being updated? The rpm is now 1.13.0 but the deb version still 1.11.4

                  Phiznlil Unfurtunately, the release publishing system we use is broken for some reason, it works for everything else except for deb distribution. This is open source that was not mantained for years by its creator. We already fixed few issues there in our own fork, but did not yet have time for fix this one, unfortunately. My guess is there is another breaking change in utilities it relies on.

                  So techically we have fres deb files, but they just don’t get published into repo currenlty.

                  Oh I see… Is there some other way I can get it then? Can you email me the deb or does the publishing system have to create it? I want to test it before deciding whether to buy a second license as I dual boot between Ubuntu and Windows.

                    That’s great, many thanks Andrev. Seems to be running smoothly! 🙂

                    Write a Reply...