Cloudron makes it easy to run web apps like WordPress, Nextcloud, GitLab on your server. Find out more or install now.


Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Bookmarks
  • Search
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Brand Logo

Cloudron Forum

Apps | Demo | Docs | Install
  1. Cloudron Forum
  2. Tiny Tiny RSS
  3. Could you please update ttrss to 16dd42c3 published on 9/11/2024 or newer?

Could you please update ttrss to 16dd42c3 published on 9/11/2024 or newer?

Scheduled Pinned Locked Moved Solved Tiny Tiny RSS
16 Posts 6 Posters 1.6k Views 5 Watching
  • 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.
  • O Offline
    O Offline
    odie
    wrote on last edited by
    #1

    Hello

    Would it be possible to ask for an update to ttrss which includes the change on 9/11/2024: Enable PATH_INFO for plugins to use referenced here: rhttps://gitlab.tt-rss.org/tt-rss/tt-rss/-/merge_requests/61

    This change allows the use of the new FreshRSS and Google Reader plugin: https://github.com/eric-pierce/freshapi

    I tested it on the current Cloudron version 1fb202b, and the plugin doesn't work on this build.

    Thank you!

    Thank you!

    1 Reply Last reply
    2
    • nebulonN Offline
      nebulonN Offline
      nebulon
      Staff
      wrote on last edited by
      #2

      We have updated the app now.

      O 1 Reply Last reply
      2
      • nebulonN nebulon marked this topic as a question on
      • nebulonN nebulon has marked this topic as solved on
      • nebulonN nebulon

        We have updated the app now.

        O Offline
        O Offline
        odie
        wrote on last edited by
        #3

        @nebulon Wow! That was quick! Thank you!!

        1 Reply Last reply
        0
        • necrevistonnezrN Offline
          necrevistonnezrN Offline
          necrevistonnezr
          wrote on last edited by
          #4

          Thanks for the info on a new API!
          Any luck finding the right combination of URL and password?

          • I enabled the API
          • cloned the repo into plugins.local
          • switched to local auth
          • Set an app password for Fresh API
          • Still Reeder can’t connect under https://[MY TTRSS DOMAIN]/plugins.local/freshapi/api/greader.php
          O 1 Reply Last reply
          0
          • necrevistonnezrN necrevistonnezr

            Thanks for the info on a new API!
            Any luck finding the right combination of URL and password?

            • I enabled the API
            • cloned the repo into plugins.local
            • switched to local auth
            • Set an app password for Fresh API
            • Still Reeder can’t connect under https://[MY TTRSS DOMAIN]/plugins.local/freshapi/api/greader.php
            O Offline
            O Offline
            odie
            wrote on last edited by odie
            #5

            @necrevistonnezr I struggle with the same. It shouldn't be necessary to switch to local auth, I hope. Will post if I find a solution.

            Edit: It seems something is missing. This is the error messages I get in my logs - they reference to a file "autoload.php" which I can't seem to find in my ttrss installation:

            Sep 15 10:24:47 [Sun Sep 15 08:24:47.762364 2024] [php:error] [pid 30] [client 172.18.0.1:37776] PHP Fatal error: Uncaught Error: Failed opening required '/app/data/include/autoload.php' (include_path='/app/data/plugins.local/freshapi/api:/app/data:/app/data/include:.:/usr/share/php') in /app/data/plugins.local/freshapi/api/greader.php:23\nStack trace:\n#0 {main}\n thrown in /app/data/plugins.local/freshapi/api/greader.php on line 23
            Sep 15 10:24:47 [IPxx.xxx.xxx.xxx] - - [15/Sep/2024:08:24:47 +0000] "POST /plugins.local/freshapi/api/greader.php/accounts/ClientLogin HTTP/1.1" 500 - "-" "Reeder/5040401 CFNetwork/1498.700.2 Darwin/23.6.0"
            
            

            Edit2: I can find the file, and permissions seem fine (it's in the /app/code/include folder). This file (/app/code/include.autoload.php) refers til the file /app/vendor/include/autoload.php) with the following content. I have no idea if this is the cause of the error or not:

            <?php
            
            // autoload.php @generated by Composer
            
            if (PHP_VERSION_ID < 50600) {
                if (!headers_sent()) {
                    header('HTTP/1.1 500 Internal Server Error');
                }
                $err = 'Composer 2.3.0 dropped support for autoloading on PHP <5.6 and you are running '.PHP_VERSION.', please upgrade PHP or use Composer 2.2 LTS via "composer
             self-update --2.2". Aborting.'.PHP_EOL;
                if (!ini_get('display_errors')) {
                    if (PHP_SAPI === 'cli' || PHP_SAPI === 'phpdbg') {
                        fwrite(STDERR, $err);
                    } elseif (!headers_sent()) {
                        echo $err;
                    }
                }
                trigger_error(
                    $err,
                    E_USER_ERROR
                );
            }
            
            require_once __DIR__ . '/composer/autoload_real.php';
            
            return ComposerAutoloaderInit19fc2ff1c0f9a92279c7979386bb2056::getLoader();
            
            1 Reply Last reply
            1
            • necrevistonnezrN Offline
              necrevistonnezrN Offline
              necrevistonnezr
              wrote on last edited by
              #6

              Maybe it needs to be writable?

              1 Reply Last reply
              0
              • necrevistonnezrN Offline
                necrevistonnezrN Offline
                necrevistonnezr
                wrote on last edited by
                #7

                Hi, it seems another update of TT-RSS (and the plugin) is required to make it work, see

                • https://community.tt-rss.org/t/plugin-release-google-reader-api-plugin-for-tiny-tiny-rss/6555/17
                • https://community.tt-rss.org/t/plugin-release-google-reader-api-plugin-for-tiny-tiny-rss/6555/8
                O 1 Reply Last reply
                0
                • necrevistonnezrN Offline
                  necrevistonnezrN Offline
                  necrevistonnezr
                  wrote on last edited by
                  #8

                  BTW: Updating a Git Repository in Cloudron Apps does not seem to work anymore. If I try to

                  cd /app/data/plugins.local/freshapi
                  git pull
                  

                  I get the error
                  fatal: detected dubious ownership in repository at '/app/data/plugins.local/freshapi'

                  If I try the suggested

                  git config --global --add safe.directory /app/data/plugins.local/freshapi

                  I get the error code

                  error: could not lock config file /root/.gitconfig: Read-only file system

                  fbartelsF 1 Reply Last reply
                  0
                  • necrevistonnezrN necrevistonnezr

                    BTW: Updating a Git Repository in Cloudron Apps does not seem to work anymore. If I try to

                    cd /app/data/plugins.local/freshapi
                    git pull
                    

                    I get the error
                    fatal: detected dubious ownership in repository at '/app/data/plugins.local/freshapi'

                    If I try the suggested

                    git config --global --add safe.directory /app/data/plugins.local/freshapi

                    I get the error code

                    error: could not lock config file /root/.gitconfig: Read-only file system

                    fbartelsF Offline
                    fbartelsF Offline
                    fbartels
                    App Dev
                    wrote on last edited by
                    #9

                    @necrevistonnezr said in Could you please update ttrss to 16dd42c3 published on 9/11/2024 or newer?:

                    git config --global --add safe.directory /app/data/plugins.local/freshapi

                    You need to run without the --global option. With it it tries to update the gitconfig in your $HOME, without it the config in the current git repo.

                    necrevistonnezrN 1 Reply Last reply
                    0
                    • fbartelsF fbartels

                      @necrevistonnezr said in Could you please update ttrss to 16dd42c3 published on 9/11/2024 or newer?:

                      git config --global --add safe.directory /app/data/plugins.local/freshapi

                      You need to run without the --global option. With it it tries to update the gitconfig in your $HOME, without it the config in the current git repo.

                      necrevistonnezrN Offline
                      necrevistonnezrN Offline
                      necrevistonnezr
                      wrote on last edited by
                      #10

                      @fbartels
                      I tried without the --global before in the freshapi folder but still get errors...?

                      root@###:/app/data/plugins.local/freshapi# git config --add safe.directory /app/data/plugins.local/freshapi
                      fatal: not in a git directory
                      root@###:/app/data/plugins.local/freshapi# ls -la
                      total 64
                      drwxr-xr-x  4 www-data www-data  4096 Sep 15 05:39 .
                      drwxr-xr-x 12 www-data www-data  4096 Sep 15 05:39 ..
                      drwxr-xr-x  8 www-data www-data  4096 Sep 15 05:39 .git
                      -rw-r--r--  1 www-data www-data 34523 Sep 15 05:39 LICENSE
                      -rw-r--r--  1 www-data www-data  4568 Sep 15 05:39 README.md
                      drwxr-xr-x  2 www-data www-data  4096 Sep 15 05:39 api
                      -rw-r--r--  1 www-data www-data   988 Sep 15 05:39 init.php
                      
                      O 1 Reply Last reply
                      0
                      • necrevistonnezrN necrevistonnezr

                        Hi, it seems another update of TT-RSS (and the plugin) is required to make it work, see

                        • https://community.tt-rss.org/t/plugin-release-google-reader-api-plugin-for-tiny-tiny-rss/6555/17
                        • https://community.tt-rss.org/t/plugin-release-google-reader-api-plugin-for-tiny-tiny-rss/6555/8
                        O Offline
                        O Offline
                        odie
                        wrote on last edited by
                        #11

                        @necrevistonnezr said in Could you please update ttrss to 16dd42c3 published on 9/11/2024 or newer?:

                        Hi, it seems another update of TT-RSS (and the plugin) is required to make it work, see

                        • https://community.tt-rss.org/t/plugin-release-google-reader-api-plugin-for-tiny-tiny-rss/6555/17
                        • https://community.tt-rss.org/t/plugin-release-google-reader-api-plugin-for-tiny-tiny-rss/6555/8

                        Whatever this is, it seems an update of the plugin itself is insufficient. I just updated the plugin to the most recent version, and I still get the exact same login errors.

                        When I go to the ttrss -> settings -> personal data / authentication -> app passwords window, I see that the one-time password is never used. So it seems something is preventing clients trying to access this plugin/api from even getting to the authentication mechanisms.

                        It seems we need some help from the Cloudron admins on this. I really don't know what else I can do to troubleshoot.

                        1 Reply Last reply
                        0
                        • necrevistonnezrN Offline
                          necrevistonnezrN Offline
                          necrevistonnezr
                          wrote on last edited by
                          #12

                          No, the links to the tt-rss forum speak of necessary updates to tt-rss in the last 2 days as well

                          1 Reply Last reply
                          0
                          • necrevistonnezrN necrevistonnezr

                            @fbartels
                            I tried without the --global before in the freshapi folder but still get errors...?

                            root@###:/app/data/plugins.local/freshapi# git config --add safe.directory /app/data/plugins.local/freshapi
                            fatal: not in a git directory
                            root@###:/app/data/plugins.local/freshapi# ls -la
                            total 64
                            drwxr-xr-x  4 www-data www-data  4096 Sep 15 05:39 .
                            drwxr-xr-x 12 www-data www-data  4096 Sep 15 05:39 ..
                            drwxr-xr-x  8 www-data www-data  4096 Sep 15 05:39 .git
                            -rw-r--r--  1 www-data www-data 34523 Sep 15 05:39 LICENSE
                            -rw-r--r--  1 www-data www-data  4568 Sep 15 05:39 README.md
                            drwxr-xr-x  2 www-data www-data  4096 Sep 15 05:39 api
                            -rw-r--r--  1 www-data www-data   988 Sep 15 05:39 init.php
                            
                            O Offline
                            O Offline
                            odie
                            wrote on last edited by
                            #13

                            @necrevistonnezr said in Could you please update ttrss to 16dd42c3 published on 9/11/2024 or newer?:

                            I tried without the --global before in the freshapi folder but still get errors...?

                            root@###:/app/data/plugins.local/freshapi# git config --add safe.directory /app/data/plugins.local/freshapi
                            fatal: not in a git directory
                            

                            I got this same error. I install the plugin via the browser command line. I've noticed that this sets root as owner, and I've changed ownership to www-data, so that it matches my other plugins.

                            If I do a

                            git pull
                            

                            from the terminal, it fails with the same error code you provide. However, if I change ownership to root before doing the git pull, then it works. So it's probably easiest to change ownership first, do a git pull, and then change ownership back to www-data.

                            The plugin still doesn't authenticate, though, so I guess we need a ttrss update. I am uncomfortable pinging the mods on this (again, since I requested the update), so I'm hoping we're not too far away from a regular update.

                            girishG 1 Reply Last reply
                            0
                            • O odie

                              @necrevistonnezr said in Could you please update ttrss to 16dd42c3 published on 9/11/2024 or newer?:

                              I tried without the --global before in the freshapi folder but still get errors...?

                              root@###:/app/data/plugins.local/freshapi# git config --add safe.directory /app/data/plugins.local/freshapi
                              fatal: not in a git directory
                              

                              I got this same error. I install the plugin via the browser command line. I've noticed that this sets root as owner, and I've changed ownership to www-data, so that it matches my other plugins.

                              If I do a

                              git pull
                              

                              from the terminal, it fails with the same error code you provide. However, if I change ownership to root before doing the git pull, then it works. So it's probably easiest to change ownership first, do a git pull, and then change ownership back to www-data.

                              The plugin still doesn't authenticate, though, so I guess we need a ttrss update. I am uncomfortable pinging the mods on this (again, since I requested the update), so I'm hoping we're not too far away from a regular update.

                              girishG Offline
                              girishG Offline
                              girish
                              Staff
                              wrote on last edited by
                              #14

                              @odie said in Could you please update ttrss to 16dd42c3 published on 9/11/2024 or newer?:

                              I am uncomfortable pinging the mods on this (again, since I requested the update), so I'm hoping we're not too far away from a regular update.

                              FWIW, this is fine, please ask away 🙂 Our app builds are more and more automated. We have some great automatic tests to test updates as well. Manual work is minimal for many apps (ttrss included). Anyways, I triggered a new build now.

                              O 1 Reply Last reply
                              0
                              • girishG girish

                                @odie said in Could you please update ttrss to 16dd42c3 published on 9/11/2024 or newer?:

                                I am uncomfortable pinging the mods on this (again, since I requested the update), so I'm hoping we're not too far away from a regular update.

                                FWIW, this is fine, please ask away 🙂 Our app builds are more and more automated. We have some great automatic tests to test updates as well. Manual work is minimal for many apps (ttrss included). Anyways, I triggered a new build now.

                                O Offline
                                O Offline
                                odie
                                wrote on last edited by
                                #15

                                @girish said in Could you please update ttrss to 16dd42c3 published on 9/11/2024 or newer?:

                                @odie said in Could you please update ttrss to 16dd42c3 published on 9/11/2024 or newer?:

                                I am uncomfortable pinging the mods on this (again, since I requested the update), so I'm hoping we're not too far away from a regular update.

                                FWIW, this is fine, please ask away 🙂 Our app builds are more and more automated. We have some great automatic tests to test updates as well. Manual work is minimal for many apps (ttrss included). Anyways, I triggered a new build now.

                                Much appreciated, @girish!

                                I updated TTRSS and the Fredhapi plugin, but I still can’t get it to authenticate. I get the exact same error message in my logs.

                                Anyone else had success with this?

                                1 Reply Last reply
                                0
                                • J Offline
                                  J Offline
                                  joseph
                                  Staff
                                  wrote on last edited by
                                  #16

                                  See my comment in https://forum.cloudron.io/topic/12550/trying-to-get-the-freshapi-plugin-to-work-but-can-t-switch-to-local-auth/3

                                  1 Reply Last reply
                                  0
                                  Reply
                                  • Reply as topic
                                  Log in to reply
                                  • Oldest to Newest
                                  • Newest to Oldest
                                  • Most Votes


                                  • Login

                                  • Don't have an account? Register

                                  • Login or register to search.
                                  • First post
                                    Last post
                                  0
                                  • Categories
                                  • Recent
                                  • Tags
                                  • Popular
                                  • Bookmarks
                                  • Search