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. FreshRSS
  3. Fresh RSS - Extension Error - "TinyTinyRSS API"

Fresh RSS - Extension Error - "TinyTinyRSS API"

Scheduled Pinned Locked Moved FreshRSS
freshrss
11 Posts 4 Posters 3.2k Views 4 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.
  • P Offline
    P Offline
    pratik
    wrote on last edited by pratik
    #1

    Hi,

    I get the error, Can not enable extension TinyTinyRSS API: server cannot write in /app/code/p/api while trying to enable "TinyTinyRSS API" extension on Fress RSS.
    1.png

    2.png

    I assume this is happening since "p/api" is readonly and FreshRSS is trying create an entry in that directory.

    3.png

    Is it be possible to have the "TinyTinyRSS API" extension enabled by default? Or is it a feasible to make "p/api" persistent and accessible to "www-data"?

    1 Reply Last reply
    0
    • girishG Offline
      girishG Offline
      girish
      Staff
      wrote on last edited by
      #2

      @pratik Mm, that looks like a bug in the package. I thought we had explicit tests for this. Checking now.

      1 Reply Last reply
      0
      • girishG Offline
        girishG Offline
        girish
        Staff
        wrote on last edited by
        #3

        Found it - https://github.com/FreshRSS/Extensions/blob/master/xExtension-TTRSS_API/extension.php#L9 . The extension is trying to write to system directory '/p/api' at runtime. Not sure how to keep it updated given there are other files in that place which come from the main project. Many PHP projects have this habit of writing all over the place for some reason 😕 If we want to support this specific extension, we have to make that directory writable.

        @pratik how important is this extension or where you just trying things out?

        P 2 Replies Last reply
        0
        • girishG Offline
          girishG Offline
          girish
          Staff
          wrote on last edited by
          #4

          Turns out we have an open bug about this for a year - https://git.cloudron.io/cloudron/freshrss-app/-/issues/3

          1 Reply Last reply
          0
          • girishG girish

            Found it - https://github.com/FreshRSS/Extensions/blob/master/xExtension-TTRSS_API/extension.php#L9 . The extension is trying to write to system directory '/p/api' at runtime. Not sure how to keep it updated given there are other files in that place which come from the main project. Many PHP projects have this habit of writing all over the place for some reason 😕 If we want to support this specific extension, we have to make that directory writable.

            @pratik how important is this extension or where you just trying things out?

            P Offline
            P Offline
            pratik
            wrote on last edited by
            #5

            @pratik how important is this extension or where you just trying things out?

            TLDR:- Need it to access it from mobile.

            I use Palabre Android client to read RSS on mobile, since the UI is pretty and they have a working plugin for ttrss. Have been using Tiny Tiny RSS server for a while and was never happy with it. UI is messed up when using Firefox Tracking blocking. Even on Chrome it is not very legible.
            On FressRSS, everything is great on browser. Love the UI and the speed is awesome. But, all the recommended apps for Android have features missing that I really need - mostly lack of a decent widget.
            So, FressRSS with support for Tiny Tiny RSS API is the best possible combination for me.

            1 Reply Last reply
            2
            • girishG girish

              Found it - https://github.com/FreshRSS/Extensions/blob/master/xExtension-TTRSS_API/extension.php#L9 . The extension is trying to write to system directory '/p/api' at runtime. Not sure how to keep it updated given there are other files in that place which come from the main project. Many PHP projects have this habit of writing all over the place for some reason 😕 If we want to support this specific extension, we have to make that directory writable.

              @pratik how important is this extension or where you just trying things out?

              P Offline
              P Offline
              pratik
              wrote on last edited by
              #6

              @girish said in Fresh RSS - Extension Error - "TinyTinyRSS API":

              The extension is trying to write to system directory '/p/api' at runtime.

              I think this is to be consistent. All their API code is in this directory. So if ttrss plugin comes preloaded, may be it won't want write access to this directory anymore.

              1 Reply Last reply
              0
              • P Offline
                P Offline
                pratik
                wrote on last edited by
                #7

                Since FressRSS recently got updated, wondering if this bug got fixed along with the update?

                1 Reply Last reply
                0
                • girishG Offline
                  girishG Offline
                  girish
                  Staff
                  wrote on last edited by
                  #8

                  @pratik I pushed an update to 1.6.2 now. Not sure if that fixes this problem though (unlikely)

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

                    I can verify the issue. It was also already reported a long time ago https://git.cloudron.io/cloudron/freshrss-app/-/issues/3

                    1 Reply Last reply
                    0
                    • girishG Offline
                      girishG Offline
                      girish
                      Staff
                      wrote on last edited by girish
                      #10

                      @nebulon This plugin requires a file to be placed as part of the core files. We have to rework packaging of the /p/api directory to make it work. Not sure if it's worth it. Maybe we should provide a constructive error report to the upstream project on how they can help us by making the plugin installation only write to modifiable directories.

                      1 Reply Last reply
                      0
                      • rmdesR Offline
                        rmdesR Offline
                        rmdes
                        wrote on last edited by
                        #11
                        This post is deleted!
                        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