OroPlatform Forums

Covering OroPlatform topics, including community updates and company announcements.

This topic contains 2 replies, has 2 voices, and was last updated by  Ayushi Sangal 9 years, 7 months ago.

Starting from March 1, 2020 the forum has been switched to the read-only mode. Please head to StackOverflow for support.

  • Creator
    Topic
  • #34983

    Ayushi Sangal
    Participant

    Hello,

    On running command “node -v”. I am getting node js version. Does it mean that my node js is installed on server or else i need to run some command to make it install.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Author
    Replies
  • #34984

    Alexandr Smaga
    Participant

    Hello @ayushi_sangal !

    Yes, it means that nodejs is already installed, do you have any issue with nodejs and ORO ?

    #34985

    Ayushi Sangal
    Participant

    Hello Alexandr,

    Thank you for you help. I have installed OroPlatform on server after runing command oro:install
    I got

    php app/console oro:install –env prod
    Installing Oro Application.

    Oro requirements check:
    +———+———————————————————————————+
    | Check | Mandatory requirements |
    +———+———————————————————————————+
    | OK | Vendor libraries must be installed |
    | OK | app/cache/ directory must be writable |
    | OK | app/logs/ directory must be writable |
    | OK | Configured default timezone “UTC” must be supported by your installation of PHP |
    | OK | json_encode() must be available |
    | OK | session_start() must be available |
    | OK | ctype_alpha() must be available |
    | OK | token_get_all() must be available |
    | OK | simplexml_import_dom() must be available |
    | OK | PCRE extension must be available |
    | OK | Cache folder should not be inside encrypted directory |
    +———+———————————————————————————+
    +———+——————————————–+
    | Check | PHP settings |
    +———+——————————————–+
    | OK | date.timezone setting must be set |
    | OK | detect_unicode must be disabled in php.ini |
    | OK | memory_limit should be at least 256M |
    +———+——————————————–+
    +———+——————————————————-+
    | Check | Oro specific requirements |
    +———+——————————————————-+
    | OK | PHP version must be at least 5.4.4 (5.4.31 installed) |
    | OK | GD extension must be at least 2.0 |
    | OK | cURL extension must be at least 7.0 |
    | OK | mcrypt_encrypt() should be available |
    | OK | intl extension should be available |
    | OK | icu library must be at least 3.8 |
    | OK | web/uploads/ directory must be writable |
    | OK | web/media/ directory must be writable |
    | OK | web/bundles/ directory must be writable |
    | OK | app/attachment/ directory must be writable |
    | OK | web directory must be writable |
    | OK | app/config/parameters.yml file must be writable |
    +———+——————————————————-+
    +———+——————————————————————————————————————————————————————————————————————————————-+
    | Check | Optional recommendations |
    +———+——————————————————————————————————————————————————————————————————————————————-+
    | OK | Requirements file should be up-to-date |
    | OK | When using the logout handler from the Symfony Security Component, you should have at least PHP 5.4.11 due to PHP bug #63379 (as a workaround, you can also set invalidate_session to false in the security logout handler configuration) |
    | OK | You should use PHP 5.3.18+ or PHP 5.4.8+ to always get nice error messages for fatal errors in the development environment due to PHP bug #61767/#60909 |
    | OK | PCRE extension should be at least version 8.0 (8.21 installed) |
    | OK | PHP-XML module should be installed |
    | OK | mb_strlen() should be available |
    | OK | iconv() should be available |
    | OK | utf8_decode() should be available |
    | WARNING | Install and enable the php_posix extension (used to colorize the CLI output). |
    | OK | intl extension should be available |
    | OK | intl extension should be correctly configured |
    | OK | intl ICU version should be at least 4+ |
    | WARNING | Install and enable a PHP accelerator like APC (highly recommended). |
    | WARNING | Set short_open_tag to off in php.ini*. |
    | OK | magic_quotes_gpc should be disabled in php.ini |
    | OK | register_globals should be disabled in php.ini |
    | OK | session.auto_start should be disabled in php.ini |
    | OK | PDO should be installed |
    | OK | PDO should have some drivers installed (currently available: sqlite, mysql) |
    | OK | SOAP extension should be installed (API calls) |
    | OK | NodeJS should be installed |
    +———+——————————————————————————————————————————————————————————————————————————————-+

    Setting up database.
    Dropping database schema…
    Database schema dropped successfully!
    Clear the entity config cache
    Clear the extended entity cache
    Process migrations…
    > Oro\Bundle\MigrationBundle\Migration\CreateMigrationTableMigration
    > Oro\Bundle\OrganizationBundle\Migrations\Schema\OroOrganizationBundleInstaller
    > Oro\Bundle\SecurityBundle\Migrations\Schema\v1_0\OroSecurityBundle
    > Oro\Bundle\AttachmentBundle\Migrations\Schema\OroAttachmentBundleInstaller
    > Oro\Bundle\EmailBundle\Migrations\Schema\OroEmailBundleInstaller
    > Oro\Bundle\UserBundle\Migrations\Schema\OroUserBundleInstaller
    > Oro\Bundle\EntityConfigBundle\Migrations\Schema\OroIntegrationBundleInstaller
    > Oro\Bundle\AddressBundle\Migrations\Schema\OroAddressBundleInstaller
    > Oro\Bundle\BatchBundle\Migrations\Schema\OroBatchBundleInstaller
    > Oro\Bundle\CalendarBundle\Migrations\Schema\v1_0\OroCalendarBundle
    > Oro\Bundle\CalendarBundle\Migrations\Schema\v1_1\DropCalendarEventColumns
    > Oro\Bundle\ConfigBundle\Migrations\Schema\v1_0\OroConfigBundle
    > Oro\Bundle\CronBundle\Migrations\Schema\v1_0\JmsJob
    > Oro\Bundle\CronBundle\Migrations\Schema\v1_0\OroCronBundle
    > Oro\Bundle\CronBundle\Migrations\Schema\v1_1\JmsJob
    > Oro\Bundle\DashboardBundle\Migrations\Schema\v1_0\OroDashboardBundle
    > Oro\Bundle\DashboardBundle\Migrations\Schema\v1_1\OroDashboardBundle
    > Oro\Bundle\DataAuditBundle\Migrations\Schema\v1_0\OroDataAuditBundle
    > Oro\Bundle\DataAuditBundle\Migrations\Schema\v1_1\OroDataAuditBundle
    > Oro\Bundle\EmbeddedFormBundle\Migrations\Schema\v1_0\OroEmbeddedFormBundle
    > Oro\Bundle\EmbeddedFormBundle\Migrations\Schema\v1_1\OroEmbeddedFormBundle
    > Oro\Bundle\EmbeddedFormBundle\Migrations\Schema\v1_2\OroEmbeddedFormBundle
    > Oro\Bundle\EntityConfigBundle\Migrations\Schema\OroEntityConfigBundleInstaller
    > Oro\Bundle\EntityExtendBundle\Migrations\Schema\OroEntityExtendBundleInstaller
    > Oro\Bundle\ImapBundle\Migrations\Schema\v1_0\OroImapBundle
    > Oro\Bundle\ImapBundle\Migrations\Schema\v1_1\OroImapBundle
    > Oro\Bundle\ImapBundle\Migrations\Schema\v1_2\OroImapBundle
    > Oro\Bundle\InstallerBundle\Migrations\Schema\OroInstallerBundle
    > Oro\Bundle\MigrationBundle\Migrations\Schema\v1_0\OroMigrationBundle
    > Oro\Bundle\MigrationBundle\Migrations\Schema\v1_1\OroMigrationBundle
    > Oro\Bundle\NoteBundle\Migrations\Schema\v1_0\OroNoteBundle
    > Oro\Bundle\NotificationBundle\Migrations\Schema\OroNotificationBundleInstaller
    > Oro\Bundle\ReportBundle\Migrations\Schema\v1_0\OroReportBundle
    > Oro\Bundle\ReportBundle\Migrations\Schema\v1_1\OroReportBundle
    > Oro\Bundle\SearchBundle\Migrations\Schema\v1_0\OroSearchBundle
    > Oro\Bundle\SegmentBundle\Migrations\Schema\v1_0\OroSegmentBundle
    > Oro\Bundle\SegmentBundle\Migrations\Schema\v1_1\UpdateSnapshot
    > Oro\Bundle\SidebarBundle\Migrations\Schema\v1_0\OroSidebarBundle
    > Oro\Bundle\TagBundle\Migrations\Schema\v1_0\OroTagBundle
    > Oro\Bundle\TagBundle\Migrations\Schema\v1_1\OroTagBundle
    > Oro\Bundle\TranslationBundle\Migrations\Schema\OroTranslationBundleInstaller
    > Oro\Bundle\WindowsBundle\Migrations\Schema\v1_0\OroWindowsBundle
    > Oro\Bundle\WorkflowBundle\Migrations\Schema\OroWorkflowBundleInstaller
    > Oro\Bundle\WorkflowBundle\Migrations\Schema\v1_2\OroWorkflowBundle
    > Oro\Bundle\WorkflowBundle\Migrations\Schema\v1_3\OroWorkflowBundle
    > Oro\Bundle\WorkflowBundle\Migrations\Schema\v1_4\AddProcessPriority
    > Oro\Bundle\WorkflowBundle\Migrations\Schema\v1_5\UpdateProcessEntities
    > Oro\Bundle\NavigationBundle\Migrations\Schema\v1_0\OroNavigationBundle
    > Oro\Bundle\NavigationBundle\Migrations\Schema\v1_1\OroNavigationBundle
    > Oro\Bundle\ReminderBundle\Migrations\Schema\OroReminderBundleBundleInstaller
    > Oro\Bundle\TrackingBundle\Migrations\Schema\v1_0\OroTrackerBundle
    > Oro\Bundle\TrackingBundle\Migrations\Schema\v1_1\OroTrackerBundle
    > Oro\Bundle\MigrationBundle\Migration\UpdateBundleVersionMigration
    > Oro\Bundle\EntityExtendBundle\Migration\RefreshExtendCacheMigration
    > Oro\Bundle\EntityConfigBundle\Migration\UpdateEntityConfigMigration
    > Oro\Bundle\EntityExtendBundle\Migration\UpdateExtendConfigMigration
    > Oro\Bundle\EntityExtendBundle\Migration\UpdateExtendIndicesMigration
    No workflow definitions found.
    No process definitions found.
    No process triggers found.
    Loading “main” data fixtures …
    > loading Oro\Bundle\EntityConfigBundle\Migrations\Data\ORM\UpdateModuleAndEntityFields
    > loading Oro\Bundle\OrganizationBundle\Migrations\Data\ORM\LoadOrganizationAndBusinessUnitData
    > loading Oro\Bundle\NotificationBundle\Migrations\Data\ORM\LoadDefaultNotificationEvents
    > loading Oro\Bundle\ReportBundle\Migrations\Data\ORM\LoadReportTypes
    > loading Oro\Bundle\WorkflowBundle\Migrations\Data\ORM\ExcludeImportExportFields
    > loading Oro\Bundle\SegmentBundle\Migrations\Data\ORM\LoadSegmentTypes
    > loading Oro\Bundle\AddressBundle\Migrations\Data\ORM\LoadCountryData
    > loading Oro\Bundle\AddressBundle\Migrations\Data\ORM\LoadAddressTypeData
    > loading Oro\Bundle\EmailBundle\Migrations\Data\ORM\LoadInternalEmailOrigins
    > loading Oro\Bundle\UserBundle\Migrations\Data\ORM\LoadRolesData
    > loading Oro\Bundle\SecurityBundle\Migrations\Data\ORM\LoadAclRoles
    > loading Oro\Bundle\UserBundle\Migrations\Data\ORM\LoadAdminUserData
    > loading Oro\Bundle\DashboardBundle\Migrations\Data\ORM\LoadDashboardData
    > loading Oro\Bundle\EmailBundle\Migrations\Data\ORM\LoadDashboardData
    > loading Oro\Bundle\UserBundle\Migrations\Data\ORM\LoadGroupData
    > loading Oro\Bundle\CalendarBundle\Migrations\Data\ORM\LoadDashboardData
    > loading Oro\Bundle\CalendarBundle\Migrations\Data\ORM\LoadEmailTemplates
    > loading Oro\Bundle\CalendarBundle\Migrations\Data\ORM\UpdateAclRoles
    > loading Oro\Bundle\DashboardBundle\Migrations\Data\ORM\UpdateDefaultDashboard
    > loading Oro\Bundle\MigrationBundle\Migration\UpdateDataFixturesFixture

    Administration setup.
    Application URL (http://localhost/oro/): mfmis.webmuch.com
    Company name (ORO Business Application Platform): TARA-MFI
    Company short name (ORO): TARA_MFI
    Username: admin
    Email: aayush@webmuch.com
    First name: aayush
    Last name: shastri
    Password:
    Load sample data (y/n)? n

    [Doctrine\DBAL\DBALException]
    An exception occurred while executing ‘SELECT t0.id AS id1, t0.entity AS en
    tity2, t0.record_id AS record_id3 FROM oro_config t0 WHERE t0.entity = ? AN
    D t0.record_id = ? LIMIT 1’ with params [“app”, 0]:
    SQLSTATE[HY000]: General error: 2006 MySQL server has gone away

    [PDOException]
    SQLSTATE[HY000]: General error: 2006 MySQL server has gone away

    webmuch@webmuch.com [~/public_html/mfmis/platform-application]# php app/console cachephp app/console cache:clear –env prod

    [InvalidArgumentException]
    Command “cachephp” is not defined.

    webmuch@webmuch.com [~/public_html/mfmis/platform-application]# php app/console cache:clear –env prod
    Clearing the cache for the prod environment with debug false
    webmuch@webmuch.com [~/public_html/mfmis/platform-application]# php app/console doctrine:database:create
    Could not create database for connection named `webmuch_mfmis`
    An exception occurred while executing ‘CREATE DATABASE `webmuch_mfmis`’:

    SQLSTATE[HY000]: General error: 1007 Can’t create database ‘webmuch_mfmis’; database exists
    webmuch@webmuch.com [~/public_html/mfmis/platform-application]# php app/console doctrine:schema:update –force
    Updating database schema…
    Database schema updated successfully! “1” queries were executed
    Schema update and create index completed.

    But on running it from browser I am not getting 404 page not found error. Can you tell me what should I do now.

Viewing 2 replies - 1 through 2 (of 2 total)

The forum ‘OroPlatform – Installation/Technical Issues or Problems’ is closed to new topics and replies.

Back to top