-
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!
-
-
@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.
-
-
@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.
-
@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!