virtual hosting installation

  • Hi,
    I have a problem with the installation process.
    My Hosting provider allows to install composer with a weird way to the '.private' directory, at least i think that is the root of the issue.
    Any help appreciated.
    here what i've got during installation process:
    login as: a102825_odod
    Keyboard-interactive authentication prompts from server:
    | Password:
    End of keyboard-interactive prompts from server
    [a102825_odod@s24]$ cd ~
    [a102825_odod@s24 private]$ composer global require asgardcms/asgardcms-installer
    -bash: composer: command not found
    [a102825_odod@s24 private]$ php composer.phar global require asgardcms/asgardcms-installer
    Changed current directory to /home/httpd/vhosts/
    Using version ^0.6.0 for asgardcms/asgardcms-installer
    ./composer.json has been created
    Loading composer repositories with package information
    Updating dependencies (including require-dev)
    Package operations: 13 installs, 0 updates, 0 removals

    • Installing symfony/polyfill-ctype (v1.11.0): Downloading (100%)
    • Installing symfony/filesystem (v3.4.28): Downloading (100%)
    • Installing symfony/process (v3.4.28): Downloading (100%)
    • Installing psr/log (1.1.0): Downloading (100%)
    • Installing symfony/debug (v4.3.1): Downloading (100%)
    • Installing symfony/polyfill-mbstring (v1.11.0): Downloading (100%)
    • Installing symfony/console (v3.4.28): Downloading (100%)
    • Installing guzzlehttp/promises (v1.3.1): Downloading (100%)
    • Installing ralouphie/getallheaders (2.0.5): Downloading (100%)
    • Installing psr/http-message (1.0.1): Downloading (100%)
    • Installing guzzlehttp/psr7 (1.5.2): Downloading (100%)
    • Installing guzzlehttp/guzzle (6.3.3): Downloading (100%)
    • Installing asgardcms/asgardcms-installer (0.6): Downloading (100%)
      symfony/console suggests installing symfony/event-dispatcher
      symfony/console suggests installing symfony/lock
      Writing lock file
      Generating autoload files
      [a102825_odod@s24 private]$ asgardcms new Blog
      -bash: asgardcms: command not found
      [a102825_odod@s24 private]$ .composer/vendor/bin/asgardcms new Blog
      Crafting application...
      [============================] 8 secs
      Could not open input file: composer.phar
      Application ready! Build something amazing.
      [a102825_odod@s24 private]$ php artisan asgard:install
      Could not open input file: artisan
      [a102825_odod@s24 private]$ cd .composer/vendor/bin/asgardcms
      -bash: cd: .composer/vendor/bin/asgardcms: Not a directory
      [a102825_odod@s24 private]$ php artisan asgard:install
      Could not open input file: artisan
      [a102825_odod@s24 private]$ ls
      Blog composer.phar
      [a102825_odod@s24 private]$ cd Blog/
      [a102825_odod@s24 Blog]$ ls bootstrap docker tests
      Modules composer.json docker-compose.yml resources webpack.mix.js
      Themes config package.json routes
      app database phpunit.xml server.php
      artisan dcp public storage
      [a102825_odod@s24 Blog]$ php artisan asgard:install
      PHP Warning: require(/home/httpd/vhosts/ failed to open stream: No such file or directory in /home/httpd/vhosts/ on line 18
      PHP Fatal error: require(): Failed opening required '/home/httpd/vhosts/' (include_path='.:/usr/share/pear:/usr/share/php') in /home/httpd/vhosts/ on line 18

  • Is Composer correctly installed on the server? I have never seen issue like this one. I have also used Laravel and Asgard on a server by installing them through Composer. My Laravel hosting provider installs the packages by default to public_html directory.

Log in to reply

Looks like your connection to AsgardCms was lost, please wait while we try to reconnect.