UBports Robot Logo UBports Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Register
    • Login

    uAdBlockNG doesn't work with 24.04-1.x stable

    Scheduled Pinned Locked Moved Fairphone 3
    10 Posts 3 Posters 252 Views 2 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
      Reply
      • Reply as topic
      Log in to reply
      This topic has been deleted. Only users with topic management privileges can see it.
      • M Online
        muskist
        last edited by muskist

        Ever since upgrading to 24.04:

        When enabling the app it gives the message "Error".

        The last lines of the log read:

        25.02.26 10:25] Cannot write to ‘/etc/hosts.blocklist’ (Success).
        [25.02.26 10:25] pam_unix(sudo:session): session closed for user root
        [25.02.26 10:25] file:///opt/click.ubuntu.com/uadblockng.liohmoeller/1.1/share/qml/uAdBlockNG/Main.qml:146:13: QML Column: Cannot specify top, bottom, verticalCenter, fill or centerIn anchors for items inside Column. Column will not function.
        

        Same issue is reported on OpenStore but on https://github.com/LiohMoeller/uAdBlockNG/issues there is no issues mentioned.

        Am I missing something? Is there a workaround?

        TIA!

        G 1 Reply Last reply Reply Quote 0
        • G Offline
          gpatel-fr @muskist
          last edited by

          @muskist

          probably the app is missing this PR

          maybe create an issue to point to the maintainer that it is an active problem ?

          M 1 Reply Last reply Reply Quote 0
          • M Online
            muskist @gpatel-fr
            last edited by

            @gpatel-fr
            Even creating an issue is impossible:

            Error
            Unable to create issue.
            
            G 1 Reply Last reply Reply Quote 0
            • G Offline
              gpatel-fr @muskist
              last edited by

              @muskist

              what kind of browser do you use ? is it the old Morph Browser or the new QT6 Beta ?

              M 1 Reply Last reply Reply Quote 0
              • M Online
                muskist @gpatel-fr
                last edited by

                @gpatel-fr

                Mozilla Firefox 148.0 on my Linux PC.

                G 1 Reply Last reply Reply Quote 0
                • G Offline
                  gpatel-fr @muskist
                  last edited by

                  @muskist

                  yes, the repo owner has disabled the issues 😞

                  M 1 Reply Last reply Reply Quote 0
                  • M Online
                    muskist @gpatel-fr
                    last edited by

                    @gpatel-fr

                    Too bad. I consider it a PITA on the small display of my device.

                    Thanks for your replies anyway.

                    1 Reply Last reply Reply Quote 0
                    • mihaelM Offline
                      mihael
                      last edited by

                      It was my problem too and it was because there was not enough space in /etc partition. What I did was to create a symlink /etc/hosts.blocklist -> /home/phablet/Downloads/hosts.blocklist (maybe I had to create first the /home/phablet/Downloads/hosts.blocklist file and then the symlink but I don't remember) and then uAdBlockNG worked.

                      M 1 Reply Last reply Reply Quote 0
                      • M Online
                        muskist @mihael
                        last edited by

                        @mihael
                        Thanks for that tip. Unfortunately it didn't work out.

                        Logs read:

                        [...]
                        100% 5,90M=21s
                        [25.02.26 23:17] 2026-02-25 23:17:43 (1,90 MB/s) - ‘/etc/hosts.blocklist’ saved [41546183/41546183]
                        [25.02.26 23:17] pam_unix(sudo:session): session closed for user root
                        [25.02.26 23:17] qml: next cp /etc/hosts /etc/hosts.without-adblock
                        [25.02.26 23:17]  phablet : PWD=/opt/click.ubuntu.com/uadblockng.liohmoeller/1.1 ; USER=root ; COMMAND=/usr/bin/cp /etc/hosts /etc/hosts.without-adblock
                        [25.02.26 23:17] pam_unix(sudo:session): session opened for user root(uid=0) by phablet(uid=32011)
                        [25.02.26 23:17] pam_unix(sudo:session): session closed for user root
                        [25.02.26 23:17] qml: next cp /etc/hosts.blocklist /etc/hosts
                        [25.02.26 23:17]  phablet : PWD=/opt/click.ubuntu.com/uadblockng.liohmoeller/1.1 ; USER=root ; COMMAND=/usr/bin/cp /etc/hosts.blocklist /etc/hosts
                        [25.02.26 23:17] pam_unix(sudo:session): session opened for user root(uid=0) by phablet(uid=32011)
                        [25.02.26 23:17] cp: error writing '/etc/hosts': No space left on device
                        [25.02.26 23:17] pam_unix(sudo:session): session closed for user root
                        [...]
                        

                        I even added two symlinks for /etc/hosts
                        and /etc/hosts.without-adblock targeting /home/phablet/Downloads. No success, however.

                        mihaelM 1 Reply Last reply Reply Quote 0
                        • mihaelM Offline
                          mihael @muskist
                          last edited by

                          @muskist If you ls -l /etc what do you get? - I checked on my phone and I get (among many other lines):
                          hosts -> /home/phablet/Downloads/hosts
                          hosts.blocklist -> /home/phablet/Downloads/hosts.blocklist

                          1 Reply Last reply Reply Quote 0
                          • First post
                            Last post