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. LAMP
  3. Unable to install software (Webtrees.net) due to Php error

Unable to install software (Webtrees.net) due to Php error

Scheduled Pinned Locked Moved Solved LAMP
5 Posts 3 Posters 696 Views 3 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.
  • S Offline
    S Offline
    shrey
    wrote on last edited by shrey
    #1

    When attempting to install this LAMP based software, as per the steps provided here: https://webtrees.net/install/ , i'm running into this error:

    Mar 06 13:13:50[Wed Mar 06 07:43:50.150831 2024] [php:warn] [pid 22] [client 172.18.0.1:36372] PHP Warning: require(/app/data/public/vendor/composer/../symfony/polyfill-php80/bootstrap.php): Failed to open stream: No such file or directory in /app/data/public/vendor/composer/autoload_real.php on line 41
    Mar 06 13:13:50[Wed Mar 06 07:43:50.150868 2024] [php:warn] [pid 22] [client 172.18.0.1:36372] PHP Warning: require(/app/data/public/vendor/composer/../symfony/polyfill-php80/bootstrap.php): Failed to open stream: No such file or directory in /app/data/public/vendor/composer/autoload_real.php on line 41
    Mar 06 13:13:50[Wed Mar 06 07:43:50.150897 2024] [php:error] [pid 22] [client 172.18.0.1:36372] PHP Fatal error: Uncaught Error: Failed opening required '/app/data/public/vendor/composer/../symfony/polyfill-php80/bootstrap.php' (include_path='.:/usr/share/php') in /app/data/public/vendor/composer/autoload_real.php:41\nStack trace:\n#0 /app/data/public/vendor/composer/autoload_real.php(45): {closure}()\n#1 /app/data/public/vendor/autoload.php(25): ComposerAutoloaderInit7188e2f7b8420f495108d6f2a5197562::getLoader()\n#2 /app/data/public/index.php(29): require('...')\n#3 {main}\n thrown in /app/data/public/vendor/composer/autoload_real.php on line 41
    
    

    What i did is:

    1. Downloaded the zip file provided (https://github.com/fisharebest/webtrees/releases/download/2.1.18/webtrees-2.1.18.zip)
    2. Uploaded all the constituent files of the Webtrees folder into the Public folder of the LAMP app
    3. Change ownership of all the file to www-data
    1 Reply Last reply
    0
    • girishG Do not disturb
      girishG Do not disturb
      girish
      Staff
      wrote on last edited by girish
      #3

      @shrey there is a bug in the 'Extract' button in the Filemanager. Try to extract the zip file via the Web Terminal instead. I think you hit the issue because the zip is only partially extracted, it crashes mid way.

      I have fixed the bug for our coming release.

      image.png

      S 1 Reply Last reply
      1
      • scookeS Offline
        scookeS Offline
        scooke
        wrote on last edited by
        #2

        Check out https://docs.cloudron.io/apps/lamp/#composer for some ideas.

        A life lived in fear is a life half-lived

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

          @shrey there is a bug in the 'Extract' button in the Filemanager. Try to extract the zip file via the Web Terminal instead. I think you hit the issue because the zip is only partially extracted, it crashes mid way.

          I have fixed the bug for our coming release.

          image.png

          S 1 Reply Last reply
          1
          • girishG Do not disturb
            girishG Do not disturb
            girish
            Staff
            wrote on last edited by
            #4

            Ah, good old times 🙂

            image.png

            1 Reply Last reply
            2
            • girishG girish

              @shrey there is a bug in the 'Extract' button in the Filemanager. Try to extract the zip file via the Web Terminal instead. I think you hit the issue because the zip is only partially extracted, it crashes mid way.

              I have fixed the bug for our coming release.

              image.png

              S Offline
              S Offline
              shrey
              wrote on last edited by
              #5

              @girish Thanks, that helped!

              1 Reply Last reply
              1
              • S shrey has marked this topic as solved on
              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