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

    Installing Attendize on LAMP - Need help

    LAMP
    3
    5
    248
    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.
    • J
      jagan last edited by jagan

      Hi, I am trying to install Attendize on a Cloudron LAMP app.
      I followed the instructions from here.

      When I got to the composer install, I got the following errors and I am not well versed with linux, composer, etc.

      Connecting...
      If you resize the browser window, press Ctrl+D to start a new session with the current size.
      root@03b1d459-6fc3-47c9-a299-746146c87844:/app/code# cd ..
      root@03b1d459-6fc3-47c9-a299-746146c87844:/app# cd data
      root@03b1d459-6fc3-47c9-a299-746146c87844:/app/data# cd public
      root@03b1d459-6fc3-47c9-a299-746146c87844:/app/data/public# cd attendize
      bash: cd: attendize: No such file or directory
      root@03b1d459-6fc3-47c9-a299-746146c87844:/app/data/public# ls
      Attendize  index.php
      root@03b1d459-6fc3-47c9-a299-746146c87844:/app/data/public# cd Attendize
      root@03b1d459-6fc3-47c9-a299-746146c87844:/app/data/public/Attendize# composer install
      Cannot create cache directory /root/.cache/composer/repo/https---repo.packagist.org/, or directory is not writable. Proceeding without cache
      Cannot create cache directory /root/.cache/composer/files/, or directory is not writable. Proceeding without cache
      Installing dependencies from lock file (including require-dev)
      Verifying lock file contents can be installed on current platform.
      Warning: The lock file is not up to date with the latest changes in composer.json. You may be getting outdated dependencies. It is recommended that you run `composer update` or `composer update <package name>`.
      Nothing to install, update or remove
      Package jakub-onderka/php-console-color is abandoned, you should avoid using it. Use php-parallel-lint/php-console-color instead.
      Package jakub-onderka/php-console-highlighter is abandoned, you should avoid using it. Use php-parallel-lint/php-console-highlighter instead.
      Package league/commonmark-ext-table is abandoned, you should avoid using it. Use league/commonmark instead.
      Generating optimized autoload files
      Class Tests\Features\UtilsTest located in ./tests/Feature/Utils/UtilsTest.php does not comply with psr-4 autoloading standard. Skipping.
      Class Tests\Features\OrganisationWithoutTaxTest located in ./tests/Feature/OrderCancellation/OrganisationWithoutTaxTest.php does not comply with psr-4 autoloading standard. Skipping.
      Class Tests\Features\OrganisationWithTaxTest located in ./tests/Feature/OrderCancellation/OrganisationWithTaxTest.php does not comply with psr-4 autoloading standard. Skipping.
      Class HTMLPurifier_Language_en_x_test located in ./vendor/ezyang/htmlpurifier/library/HTMLPurifier/Language/classes/en-x-test.php does not comply with psr-0 autoloading standard. Skipping.
      > Illuminate\Foundation\ComposerScripts::postAutoloadDump
      > @php artisan package:discover --ansi
      
      In PackageManifest.php line 131:
                               
        Undefined index: name  
                               
      
      Script @php artisan package:discover --ansi handling the post-autoload-dump event returned with error code 1
      root@03b1d459-6fc3-47c9-a299-746146c87844:/app/data/public/Attendize# ^C
      root@03b1d459-6fc3-47c9-a299-746146c87844:/app/data/public/Attendize# ^C
      root@03b1d459-6fc3-47c9-a299-746146c87844:/app/data/public/Attendize# ^C
      root@03b1d459-6fc3-47c9-a299-746146c87844:/app/data/public/Attendize# 
      

      I would appreciate if somebody more knowledgeable can test install and let me know the exact steps (with code to copy and paste please) to install Attendize successfully.

      Thank you very much!

      micmc girish 2 Replies Last reply Reply Quote 0
      • micmc
        micmc @jagan last edited by

        @jagan said in Installing Attendize on LAMP - Need help:

        When I got to the composer install, I got the following errors and I am not well versed with linux, composer, etc.

        You cannot install composer nor run docker in a LAMP under Cloudron.


        https://marketingtechnology.agency
        For cutting edge web technologies

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

          @jagan I don't about Attendize but composer will work only after you bump up the memory limit of the app - https://docs.cloudron.io/apps/lamp/#running-composer-npm-bundler . So, bump up the memory limit to say 2GB or something and then run composer. Another alternative is to install composer on your PC/laptop and then just copy over all the files to the LAMP app.

          1 Reply Last reply Reply Quote 1
          • Moved from Support by  girish girish 
          • girish
            girish Staff @micmc last edited by

            @micmc said in Installing Attendize on LAMP - Need help:

            You cannot install composer nor run docker in a LAMP under Cloudron.

            You are correct about docker but composer is actually already installed. In fact, you can also use a new composer since composer itself is just php, so you can download it in any directory and run it.

            micmc 1 Reply Last reply Reply Quote 2
            • micmc
              micmc @girish last edited by

              @girish said in Installing Attendize on LAMP - Need help:

              @micmc said in Installing Attendize on LAMP - Need help:

              You cannot install composer nor run docker in a LAMP under Cloudron.

              You are correct about docker but composer is actually already installed. In fact, you can also use a new composer since composer itself is just php, so you can download it in any directory and run it.

              Yep, thanks for the reminder. I think I've mixed composer with compose here loll Cheers!


              https://marketingtechnology.agency
              For cutting edge web technologies

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