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


    Cloudron Forum

    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular

    Solved Lychee outdated - please update

    Lychee
    update lychee
    4
    9
    1021
    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.
    • tobru
      tobru last edited by

      Lychee is still at version 3.1.6 at the time of this writing. The current version is 3.2.8, see GitHub releases. Please note that Lychee has moved from electerious/Lychee to LycheeOrg/Lychee:

      README:

      Since the 1st of April 2018 this project has moved to it's own Organisation (https://github.com/LycheeOrg) where people are able to submit their fixes to it. We, the Organisation owners, want to thank electerious (Tobias Reich) for the opportunity to make this project live on.

      I would love to see Lychee updated regularly, like the other apps on Cloudron...

      1 Reply Last reply Reply Quote 1
      • nebulon
        nebulon Staff last edited by

        Thanks for the heads up @tobru I have update Lychee now to the latest upstream version.

        1 Reply Last reply Reply Quote 1
        • tobru
          tobru last edited by tobru

          Thank @nebulon for the fast response and the update.

          However, the update didn't went smooth. After the update all shares are lost and the settings button in Lychee leads into the error message "Server error or API not found". Looking at the browser console it tries to load /dist/user.css which is not available (404). Most probably this corresponds to the error found in the app log:

          Jan 02 18:36:07 [Wed Jan 02 18:36:07.258759 2019] [php7:warn] [pid 14] [client 172.18.0.1:57854] PHP Warning: chmod(): Read-only file system in /app/code/php/database/update_030208.php on line 51, referer: XXX
          Jan 02 18:36:07 [Wed Jan 02 18:36:07.258878 2019] [php7:warn] [pid 14] [client 172.18.0.1:57854] PHP Warning: touch(): Unable to create file /app/code/php/database/../../dist/user.css because Read-only file system in /app/code/php/database/update_030208.php on line 52, referer: XXX
          

          And as well in the Lychee log (/plugins/Log/)

          2019-01-02 18:36:07 - error - update_030108 (12) 	- Unknown column 'min_takestamp' in 'field list'
          2019-01-02 18:36:07 - error - update_030108 (25) 	- Unknown column 'max_takestamp' in 'field list'
          2019-01-02 18:36:07 - error - update_030203 (12) 	- Unknown column 'small' in 'field list'
          2019-01-02 18:36:07 - error - update_030204 (12) 	- Unknown column 'lens' in 'field list'
          2019-01-02 18:36:07 - error - update_030205 (12) 	- Unknown column 'license' in 'field list'
          2019-01-02 18:36:07 - error - update_030207 (12) 	- Unknown column 'license' in 'field list'
          

          Output of Lychee diagnostics:

          Diagnostics
          -----------
          Warning: Dropbox import not working. No property for dropboxKey.
          Error: 'uploads/small' is missing or has insufficient read/write privileges
          
          
          System Information
          ------------------
          /app/code/Lychee-front/package.json not found. Please do: git submodule init ; git submodule update
          DB Version:             update_030208
          System:                 Linux
          PHP Version:            7.2
          MySQL Version:          50723
          Imagick:                1
          Imagick Active:         1
          Imagick Version:        1687
          GD Version:             2.2.5
          Plugins:                
          

          As well /Lychee-front/images/password.svg is not found (404) because the Dockerfile downloads the packed Git repo and not the release Zip which contains all needed files.

          Would you mind to have a look at this errors? Thank you very much...

          1 Reply Last reply Reply Quote 0
          • girish
            girish Staff last edited by

            @tobru Thanks for the report. I have revoked the latest version while we investigate.

            1 Reply Last reply Reply Quote 0
            • nebulon
              nebulon Staff last edited by

              Apparently the user.css issue is due to a newly added feature to adjust the base stylesheet and thus the app crashes when the settings panel is opened. I cannot reproduce the sharing issue so far.

              1 Reply Last reply Reply Quote 0
              • nebulon
                nebulon Staff last edited by

                Just to give an update on this. The app crash is gone by fixing the usage of user.css. I am also now able to reproduce the sharing issue. From what I can tell this happens for shared/public albums only and the reason seems to be, that upon update, the app thinks that no user was created yet and will prompt for user creation just like on first run. If the user submits this, the app gets reinitialized for that new user and thus loses some information like the album state. However the data is still all there. I haven't found a solution yet for this.

                1 Reply Last reply Reply Quote 1
                • nebulon
                  nebulon Staff last edited by

                  Also I have put an upstream issue at https://github.com/LycheeOrg/Lychee/issues/164

                  1 Reply Last reply Reply Quote 1
                  • nebulon
                    nebulon Staff last edited by

                    We have pushed a fixed package version, thanks to the help of upstream developers.

                    1 Reply Last reply Reply Quote 0
                    • yusf
                      yusf last edited by

                      It seems that the Lychee-Laravel version is more rich in features, possibly a candidate for next update?

                      1 Reply Last reply Reply Quote 1
                      • First post
                        Last post
                      Powered by NodeBB