Ref: https://docs.akeneo.com/2.0/install_pim/installation_ce_archive.html
Download from https://www.akeneo.com/download/
Extract the files (composer.phar is included) in root web/akeneo31
Go to the dir
|
1 |
teddy@teddy:~$ cd Documents/works/akeneo31/pim-community-standard/ |
and run TO INSTALL DEPENDENCIES
|
1 |
php -d memory_limit=3G ../composer.phar install --optimize-autoloader --prefer-dist |
|
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 |
teddy@teddy:~/Documents/works/akeneo31/pim-community-standard$ php -d memory_limit=3G ../composer.phar install --optimize-autoloader --prefer-dist Loading composer repositories with package information Installing dependencies (including require-dev) from lock file Nothing to install or update Generating optimized autoload files Warning: Ambiguous class resolution, "Pim\Upgrade\Schema\Version_1_4_20150512133600_pim_session" was found in both "$baseDir . '/upgrades/1.3-1.4/Version_1_4_20150512133600_pim_session.php" and "/home/teddy/Documents/works/akeneo31/pim-community-standard/vendor/akeneo/pim-community-dev/upgrades/1.3-1.4/Version_1_4_20150512133600_pim_session.php", the first will be used. Warning: Ambiguous class resolution, "Pim\Upgrade\Schema\Version_1_4_20150602173830_discr_category_table" was found in both "$baseDir . '/upgrades/1.3-1.4/Version_1_4_20150602173830_discr_category_table.php" and "/home/teddy/Documents/works/akeneo31/pim-community-standard/vendor/akeneo/pim-community-dev/upgrades/1.3-1.4/Version_1_4_20150602173830_discr_category_table.php", the first will be used. Warning: Ambiguous class resolution, "Pim\Upgrade\Schema\Version_1_4_20150819143301_user" was found in both "$baseDir . '/upgrades/1.3-1.4/Version_1_4_20150819143301_user.php" and "/home/teddy/Documents/works/akeneo31/pim-community-standard/vendor/akeneo/pim-community-dev/upgrades/1.3-1.4/Version_1_4_20150819143301_user.php", the first will be used. Warning: Ambiguous class resolution, "Pim\Upgrade\Schema\Version_1_4_20150922153314_drop_oro_tables" was found in both "$baseDir . '/upgrades/1.3-1.4/Version_1_4_20150922153314_drop_oro_tables.php" and "/home/teddy/Documents/works/akeneo31/pim-community-standard/vendor/akeneo/pim-community-dev/upgrades/1.3-1.4/Version_1_4_20150922153314_drop_oro_tables.php", the first will be used. Warning: Ambiguous class resolution, "Pim\Upgrade\Schema\Version_1_4_20150922153314_misc" was found in both "$baseDir . '/upgrades/1.3-1.4/Version_1_4_20150922153314_misc.php" and "/home/teddy/Documents/works/akeneo31/pim-community-standard/vendor/akeneo/pim-community-dev/upgrades/1.3-1.4/Version_1_4_20150922153314_misc.php", the first will be used. Warning: Ambiguous class resolution, "Pim\Upgrade\Schema\Version_1_4_20150922153325_versioning" was found in both "$baseDir . '/upgrades/1.3-1.4/Version_1_4_20150922153325_versioning.php" and "/home/teddy/Documents/works/akeneo31/pim-community-standard/vendor/akeneo/pim-community-dev/upgrades/1.3-1.4/Version_1_4_20150922153325_versioning.php", the first will be used. Warning: Ambiguous class resolution, "Pim\Upgrade\Schema\Version_2_0_20170404125715" was found in both "$baseDir . '/upgrades/1.7-2.0/Version_2_0_20170404125715.php" and "/home/teddy/Documents/works/akeneo31/pim-community-standard/vendor/akeneo/pim-community-dev/upgrades/1.7-2.0/Version_2_0_20170404125715.php", the first will be used. Warning: Ambiguous class resolution, "Pim\Upgrade\Schema\Version_2_0_20171024093152_update_file_paths" was found in both "$baseDir . '/upgrades/1.7-2.0/Version_2_0_20171024093152_update_file_paths.php" and "/home/teddy/Documents/works/akeneo31/pim-community-standard/vendor/akeneo/pim-community-dev/upgrades/1.7-2.0/Version_2_0_20171024093152_update_file_paths.php", the first will be used. Warning: Ambiguous class resolution, "Pim\Upgrade\Schema\Version_2_0_20170823082403_udapte_client_label" was found in both "$baseDir . '/upgrades/1.7-2.0/Version_2_0_20170823082403_udapte_client_label.php" and "/home/teddy/Documents/works/akeneo31/pim-community-standard/vendor/akeneo/pim-community-dev/upgrades/1.7-2.0/Version_2_0_20170823082403_udapte_client_label.php", the first will be used. Warning: Ambiguous class resolution, "Pim\Upgrade\Schema\Version_2_0_20170925181205_add_default_parameters_in_job_instances" was found in both "$baseDir . '/upgrades/1.7-2.0/Version_2_0_20170925181205_add_default_parameters_in_job_instances.php" and "/home/teddy/Documents/works/akeneo31/pim-community-standard/vendor/akeneo/pim-community-dev/upgrades/1.7-2.0/Version_2_0_20170925181205_add_default_parameters_in_job_instances.php", the first will be used. Warning: Ambiguous class resolution, "Pim\Upgrade\Schema\Version20171117115514" was found in both "$baseDir . '/upgrades/1.7-2.0/Version20171117115514.php" and "/home/teddy/Documents/works/akeneo31/pim-community-standard/vendor/akeneo/pim-community-dev/upgrades/1.7-2.0/Version20171117115514.php", the first will be used. Warning: Ambiguous class resolution, "Pim\Upgrade\Schema\Version_2_0_20170821122627_add_client_in_access_token_table" was found in both "$baseDir . '/upgrades/1.7-2.0/Version_2_0_20170821122627_add_client_in_access_token_table.php" and "/home/teddy/Documents/works/akeneo31/pim-community-standard/vendor/akeneo/pim-community-dev/upgrades/1.7-2.0/Version_2_0_20170821122627_add_client_in_access_token_table.php", the first will be used. Warning: Ambiguous class resolution, "Pim\Upgrade\Schema\Version_2_0_20171221083904_add_delete_cascade_on_variant_attribute_set" was found in both "$baseDir . '/upgrades/1.7-2.0/Version_2_0_20171221083904_add_delete_cascade_on_variant_attribute_set.php" and "/home/teddy/Documents/works/akeneo31/pim-community-standard/vendor/akeneo/pim-community-dev/upgrades/1.7-2.0/Version_2_0_20171221083904_add_delete_cascade_on_variant_attribute_set.php", the first will be used. Warning: Ambiguous class resolution, "Pim\Upgrade\Schema\Version_1_7_20170112144222_oauth" was found in both "$baseDir . '/upgrades/1.6-1.7/Version_1_7_20170112144222_oauth.php" and "/home/teddy/Documents/works/akeneo31/pim-community-standard/vendor/akeneo/pim-community-dev/upgrades/1.6-1.7/Version_1_7_20170112144222_oauth.php", the first will be used. Warning: Ambiguous class resolution, "Pim\Upgrade\Schema\Version_1_7_20170504175205_clean_attribute_properties" was found in both "$baseDir . '/upgrades/1.6-1.7/Version_1_7_20170504175205_clean_attribute_properties.php" and "/home/teddy/Documents/works/akeneo31/pim-community-standard/vendor/akeneo/pim-community-dev/upgrades/1.6-1.7/Version_1_7_20170504175205_clean_attribute_properties.php", the first will be used. Warning: Ambiguous class resolution, "Pim\Upgrade\Schema\Version_1_7_20170116172612_acl" was found in both "$baseDir . '/upgrades/1.6-1.7/Version_1_7_20170116172612_acl.php" and "/home/teddy/Documents/works/akeneo31/pim-community-standard/vendor/akeneo/pim-community-dev/upgrades/1.6-1.7/Version_1_7_20170116172612_acl.php", the first will be used. Warning: Ambiguous class resolution, "Pim\Upgrade\Schema\Version_1_7_20170311172238_drop_api_table" was found in both "$baseDir . '/upgrades/1.6-1.7/Version_1_7_20170311172238_drop_api_table.php" and "/home/teddy/Documents/works/akeneo31/pim-community-standard/vendor/akeneo/pim-community-dev/upgrades/1.6-1.7/Version_1_7_20170311172238_drop_api_table.php", the first will be used. Warning: Ambiguous class resolution, "Pim\Upgrade\Schema\Version_1_7_20170215111650_attribute" was found in both "$baseDir . '/upgrades/1.6-1.7/Version_1_7_20170215111650_attribute.php" and "/home/teddy/Documents/works/akeneo31/pim-community-standard/vendor/akeneo/pim-community-dev/upgrades/1.6-1.7/Version_1_7_20170215111650_attribute.php", the first will be used. Warning: Ambiguous class resolution, "Pim\Upgrade\Schema\Version_1_7_20161026140245_amount" was found in both "$baseDir . '/upgrades/1.6-1.7/Version_1_7_20161026140245_amount.php" and "/home/teddy/Documents/works/akeneo31/pim-community-standard/vendor/akeneo/pim-community-dev/upgrades/1.6-1.7/Version_1_7_20161026140245_amount.php", the first will be used. Warning: Ambiguous class resolution, "Pim\Upgrade\Schema\Version_1_7_20161009194818_product_template" was found in both "$baseDir . '/upgrades/1.6-1.7/Version_1_7_20161009194818_product_template.php" and "/home/teddy/Documents/works/akeneo31/pim-community-standard/vendor/akeneo/pim-community-dev/upgrades/1.6-1.7/Version_1_7_20161009194818_product_template.php", the first will be used. Warning: Ambiguous class resolution, "Pim\Upgrade\Schema\Version_1_7_20161020144045_channel_labels" was found in both "$baseDir . '/upgrades/1.6-1.7/Version_1_7_20161020144045_channel_labels.php" and "/home/teddy/Documents/works/akeneo31/pim-community-standard/vendor/akeneo/pim-community-dev/upgrades/1.6-1.7/Version_1_7_20161020144045_channel_labels.php", the first will be used. Warning: Ambiguous class resolution, "Pim\Upgrade\SchemaHelper" was found in both "$baseDir . '/upgrades/SchemaHelper.php" and "/home/teddy/Documents/works/akeneo31/pim-community-standard/vendor/akeneo/pim-community-dev/upgrades/SchemaHelper.php", the first will be used. Warning: Ambiguous class resolution, "Pim\Upgrade\schema\Version_1_5_20151102131708_default_view" was found in both "$baseDir . '/upgrades/1.4-1.5/Version_1_5_20151102131708_default_view.php" and "/home/teddy/Documents/works/akeneo31/pim-community-standard/vendor/akeneo/pim-community-dev/upgrades/1.4-1.5/Version_1_5_20151102131708_default_view.php", the first will be used. Warning: Ambiguous class resolution, "Pim\Upgrade\schema\Version_1_5_20151202101336_metric_precision" was found in both "$baseDir . '/upgrades/1.4-1.5/Version_1_5_20151202101336_metric_precision.php" and "/home/teddy/Documents/works/akeneo31/pim-community-standard/vendor/akeneo/pim-community-dev/upgrades/1.4-1.5/Version_1_5_20151202101336_metric_precision.php", the first will be used. Warning: Ambiguous class resolution, "Pim\Upgrade\schema\Version_1_5_20151005132540_oro_user" was found in both "$baseDir . '/upgrades/1.4-1.5/Version_1_5_20151005132540_oro_user.php" and "/home/teddy/Documents/works/akeneo31/pim-community-standard/vendor/akeneo/pim-community-dev/upgrades/1.4-1.5/Version_1_5_20151005132540_oro_user.php", the first will be used. Warning: Ambiguous class resolution, "Pim\Upgrade\schema\Version_1_5_20151121110000_index_logged_at" was found in both "$baseDir . '/upgrades/1.4-1.5/Version_1_5_20151121110000_index_logged_at.php" and "/home/teddy/Documents/works/akeneo31/pim-community-standard/vendor/akeneo/pim-community-dev/upgrades/1.4-1.5/Version_1_5_20151121110000_index_logged_at.php", the first will be used. Warning: Ambiguous class resolution, "Pim\Upgrade\schema\Version_1_5_20151006132723_notifications" was found in both "$baseDir . '/upgrades/1.4-1.5/Version_1_5_20151006132723_notifications.php" and "/home/teddy/Documents/works/akeneo31/pim-community-standard/vendor/akeneo/pim-community-dev/upgrades/1.4-1.5/Version_1_5_20151006132723_notifications.php", the first will be used. Warning: Ambiguous class resolution, "Pim\Upgrade\schema\Version_1_5_20160405165700_versioning" was found in both "$baseDir . '/upgrades/1.4-1.5/Version_1_5_20160405165700_versioning.php" and "/home/teddy/Documents/works/akeneo31/pim-community-standard/vendor/akeneo/pim-community-dev/upgrades/1.4-1.5/Version_1_5_20160405165700_versioning.php", the first will be used. Warning: Ambiguous class resolution, "Pim\Upgrade\Schema\Version_1_6_20160804181154_versioning_index" was found in both "$baseDir . '/upgrades/1.5-1.6/Version_1_6_20160804181154_versioning_index.php" and "/home/teddy/Documents/works/akeneo31/pim-community-standard/vendor/akeneo/pim-community-dev/upgrades/1.5-1.6/Version_1_6_20160804181154_versioning_index.php", the first will be used. Warning: Ambiguous class resolution, "Pim\Upgrade\Schema\Version_1_6_20160726103445_update_product_export_parameters" was found in both "$baseDir . '/upgrades/1.5-1.6/Version_1_6_20160726103445_update_product_export_parameters.php" and "/home/teddy/Documents/works/akeneo31/pim-community-standard/vendor/akeneo/pim-community-dev/upgrades/1.5-1.6/Version_1_6_20160726103445_update_product_export_parameters.php", the first will be used. Warning: Ambiguous class resolution, "Pim\Upgrade\Schema\Version_1_6_20160403110147_remove_job_configuration" was found in both "$baseDir . '/upgrades/1.5-1.6/Version_1_6_20160403110147_remove_job_configuration.php" and "/home/teddy/Documents/works/akeneo31/pim-community-standard/vendor/akeneo/pim-community-dev/upgrades/1.5-1.6/Version_1_6_20160403110147_remove_job_configuration.php", the first will be used. Warning: Ambiguous class resolution, "Pim\Upgrade\Schema\Version_1_6_20160530174030_remove_channel_color" was found in both "$baseDir . '/upgrades/1.5-1.6/Version_1_6_20160530174030_remove_channel_color.php" and "/home/teddy/Documents/works/akeneo31/pim-community-standard/vendor/akeneo/pim-community-dev/upgrades/1.5-1.6/Version_1_6_20160530174030_remove_channel_color.php", the first will be used. Warning: Ambiguous class resolution, "Pim\Upgrade\Schema\Version_1_6_20161028161514_add_missing_csv_product_quick_export" was found in both "$baseDir . '/upgrades/1.5-1.6/Version_1_6_20161028161514_add_missing_csv_product_quick_export.php" and "/home/teddy/Documents/works/akeneo31/pim-community-standard/vendor/akeneo/pim-community-dev/upgrades/1.5-1.6/Version_1_6_20161028161514_add_missing_csv_product_quick_export.php", the first will be used. Warning: Ambiguous class resolution, "Pim\Upgrade\Schema\Version_1_6_20170511132057_add_mongodb_index_on_product_values_options_id" was found in both "$baseDir . '/upgrades/1.5-1.6/Version_1_6_20170511132057_add_mongodb_index_on_product_values_options_id.php" and "/home/teddy/Documents/works/akeneo31/pim-community-standard/vendor/akeneo/pim-community-dev/upgrades/1.5-1.6/Version_1_6_20170511132057_add_mongodb_index_on_product_values_options_id.php", the first will be used. Warning: Ambiguous class resolution, "Pim\Upgrade\Schema\Version_1_6_20160714195239_jobinstance_rawConfiguration_to_raw_parameters" was found in both "$baseDir . '/upgrades/1.5-1.6/Version_1_6_20160714195239_jobinstance_rawConfiguration_to_raw_parameters.php" and "/home/teddy/Documents/works/akeneo31/pim-community-standard/vendor/akeneo/pim-community-dev/upgrades/1.5-1.6/Version_1_6_20160714195239_jobinstance_rawConfiguration_to_raw_parameters.php", the first will be used. Warning: Ambiguous class resolution, "Pim\Upgrade\Schema\Version_1_6_20160526173325_remove_warning_name" was found in both "$baseDir . '/upgrades/1.5-1.6/Version_1_6_20160526173325_remove_warning_name.php" and "/home/teddy/Documents/works/akeneo31/pim-community-standard/vendor/akeneo/pim-community-dev/upgrades/1.5-1.6/Version_1_6_20160526173325_remove_warning_name.php", the first will be used. Warning: Ambiguous class resolution, "Pim\Upgrade\Schema\Version_1_6_20160312201959_batch_mapping" was found in both "$baseDir . '/upgrades/1.5-1.6/Version_1_6_20160312201959_batch_mapping.php" and "/home/teddy/Documents/works/akeneo31/pim-community-standard/vendor/akeneo/pim-community-dev/upgrades/1.5-1.6/Version_1_6_20160312201959_batch_mapping.php", the first will be used. Warning: Ambiguous class resolution, "Pim\Upgrade\Schema\Version_1_6_20160627194118_jobinstance_alias_to_jobname" was found in both "$baseDir . '/upgrades/1.5-1.6/Version_1_6_20160627194118_jobinstance_alias_to_jobname.php" and "/home/teddy/Documents/works/akeneo31/pim-community-standard/vendor/akeneo/pim-community-dev/upgrades/1.5-1.6/Version_1_6_20160627194118_jobinstance_alias_to_jobname.php", the first will be used. Warning: Ambiguous class resolution, "Pim\Upgrade\Schema\Version_1_6_20160722155535_quick_export" was found in both "$baseDir . '/upgrades/1.5-1.6/Version_1_6_20160722155535_quick_export.php" and "/home/teddy/Documents/works/akeneo31/pim-community-standard/vendor/akeneo/pim-community-dev/upgrades/1.5-1.6/Version_1_6_20160722155535_quick_export.php", the first will be used. Warning: Ambiguous class resolution, "Pim\Upgrade\Schema\Version_1_6_20161114150000_add_missing_set_attribute_requirements_job" was found in both "$baseDir . '/upgrades/1.5-1.6/Version_1_6_20161114150000_add_missing_set_attribute_requirements_job.php" and "/home/teddy/Documents/works/akeneo31/pim-community-standard/vendor/akeneo/pim-community-dev/upgrades/1.5-1.6/Version_1_6_20161114150000_add_missing_set_attribute_requirements_job.php", the first will be used. Warning: Ambiguous class resolution, "Pim\Upgrade\Schema\Version_1_6_201603100000_batch_jobs" was found in both "$baseDir . '/upgrades/1.5-1.6/Version_1_6_201603100000_batch_jobs.php" and "/home/teddy/Documents/works/akeneo31/pim-community-standard/vendor/akeneo/pim-community-dev/upgrades/1.5-1.6/Version_1_6_201603100000_batch_jobs.php", the first will be used. Warning: Ambiguous class resolution, "Pim\Upgrade\Schema\Version_1_6_20160616102218_mass_edit" was found in both "$baseDir . '/upgrades/1.5-1.6/Version_1_6_20160616102218_mass_edit.php" and "/home/teddy/Documents/works/akeneo31/pim-community-standard/vendor/akeneo/pim-community-dev/upgrades/1.5-1.6/Version_1_6_20160616102218_mass_edit.php", the first will be used. Warning: Ambiguous class resolution, "Pim\Upgrade\Schema\Version_2_2_20180321164023_index_products_and_product_models" was found in both "$baseDir . '/upgrades/2.1-2.2/Version_2_2_20180321164023_index_products_and_product_models.php" and "/home/teddy/Documents/works/akeneo31/pim-community-standard/vendor/akeneo/pim-community-dev/upgrades/2.1-2.2/Version_2_2_20180321164023_index_products_and_product_models.php", the first will be used. Warning: Ambiguous class resolution, "Pim\Upgrade\Schema\Version_2_2_20180201155905_add_phone_on_user" was found in both "$baseDir . '/upgrades/2.1-2.2/Version_2_2_20180201155905_add_phone_on_user.php" and "/home/teddy/Documents/works/akeneo31/pim-community-standard/vendor/akeneo/pim-community-dev/upgrades/2.1-2.2/Version_2_2_20180201155905_add_phone_on_user.php", the first will be used. Warning: Ambiguous class resolution, "Pim\Upgrade\Schema\Version_2_2_20180321135455_product_model_export_job_parameters" was found in both "$baseDir . '/upgrades/2.1-2.2/Version_2_2_20180321135455_product_model_export_job_parameters.php" and "/home/teddy/Documents/works/akeneo31/pim-community-standard/vendor/akeneo/pim-community-dev/upgrades/2.1-2.2/Version_2_2_20180321135455_product_model_export_job_parameters.php", the first will be used. Warning: Ambiguous class resolution, "Pim\Upgrade\Schema\Version_2_2_20180523125419" was found in both "$baseDir . '/upgrades/2.1-2.2/Version_2_2_20180523125419.php" and "/home/teddy/Documents/works/akeneo31/pim-community-standard/vendor/akeneo/pim-community-dev/upgrades/2.1-2.2/Version_2_2_20180523125419.php", the first will be used. Warning: Ambiguous class resolution, "Pim\Upgrade\Schema\Version_2_2_20180320093100_remove_product_type" was found in both "$baseDir . '/upgrades/2.1-2.2/Version_2_2_20180320093100_remove_product_type.php" and "/home/teddy/Documents/works/akeneo31/pim-community-standard/vendor/akeneo/pim-community-dev/upgrades/2.1-2.2/Version_2_2_20180320093100_remove_product_type.php", the first will be used. Warning: Ambiguous class resolution, "Pim\Upgrade\Schema\Version_2_2_20180228120422" was found in both "$baseDir . '/upgrades/2.1-2.2/Version_2_2_20180228120422.php" and "/home/teddy/Documents/works/akeneo31/pim-community-standard/vendor/akeneo/pim-community-dev/upgrades/2.1-2.2/Version_2_2_20180228120422.php", the first will be used. Warning: Ambiguous class resolution, "Pim\Upgrade\Schema\Version_2_2_20180308081108_add_user_timezone" was found in both "$baseDir . '/upgrades/2.1-2.2/Version_2_2_20180308081108_add_user_timezone.php" and "/home/teddy/Documents/works/akeneo31/pim-community-standard/vendor/akeneo/pim-community-dev/upgrades/2.1-2.2/Version_2_2_20180308081108_add_user_timezone.php", the first will be used. Warning: Ambiguous class resolution, "Pim\Upgrade\Schema\Version_3_0_20181030150153_update_versioning_entities" was found in both "$baseDir . '/upgrades/2.3-3.0/Version_3_0_20181030150153_update_versioning_entities.php" and "/home/teddy/Documents/works/akeneo31/pim-community-standard/vendor/akeneo/pim-community-dev/upgrades/2.3-3.0/Version_3_0_20181030150153_update_versioning_entities.php", the first will be used. Warning: Ambiguous class resolution, "Pim\Upgrade\Schema\Version_3_0_20180717082452_migrate_avatars" was found in both "$baseDir . '/upgrades/2.3-3.0/Version_3_0_20180717082452_migrate_avatars.php" and "/home/teddy/Documents/works/akeneo31/pim-community-standard/vendor/akeneo/pim-community-dev/upgrades/2.3-3.0/Version_3_0_20180717082452_migrate_avatars.php", the first will be used. Warning: Ambiguous class resolution, "Pim\Upgrade\Schema\Version_3_0_20180716083150_add_index_category" was found in both "$baseDir . '/upgrades/2.3-3.0/Version_3_0_20180716083150_add_index_category.php" and "/home/teddy/Documents/works/akeneo31/pim-community-standard/vendor/akeneo/pim-community-dev/upgrades/2.3-3.0/Version_3_0_20180716083150_add_index_category.php", the first will be used. Warning: Ambiguous class resolution, "Pim\Upgrade\Schema\Version_3_0_20180823184342_switch_to_utf8mb4" was found in both "$baseDir . '/upgrades/2.3-3.0/Version_3_0_20180823184342_switch_to_utf8mb4.php" and "/home/teddy/Documents/works/akeneo31/pim-community-standard/vendor/akeneo/pim-community-dev/upgrades/2.3-3.0/Version_3_0_20180823184342_switch_to_utf8mb4.php", the first will be used. Warning: Ambiguous class resolution, "Pim\Upgrade\Schema\Version_3_0_20181227141616_remove_birthdate" was found in both "$baseDir . '/upgrades/2.3-3.0/Version_3_0_20181227141616_remove_birthdate.php" and "/home/teddy/Documents/works/akeneo31/pim-community-standard/vendor/akeneo/pim-community-dev/upgrades/2.3-3.0/Version_3_0_20181227141616_remove_birthdate.php", the first will be used. Warning: Ambiguous class resolution, "Pim\Upgrade\Schema\Version_3_0_20180717082451_add_file_info_to_user" was found in both "$baseDir . '/upgrades/2.3-3.0/Version_3_0_20180717082451_add_file_info_to_user.php" and "/home/teddy/Documents/works/akeneo31/pim-community-standard/vendor/akeneo/pim-community-dev/upgrades/2.3-3.0/Version_3_0_20180717082451_add_file_info_to_user.php", the first will be used. Warning: Ambiguous class resolution, "Pim\Upgrade\Schema\Version_3_0_20181128084612_migrate_users" was found in both "$baseDir . '/upgrades/2.3-3.0/Version_3_0_20181128084612_migrate_users.php" and "/home/teddy/Documents/works/akeneo31/pim-community-standard/vendor/akeneo/pim-community-dev/upgrades/2.3-3.0/Version_3_0_20181128084612_migrate_users.php", the first will be used. Warning: Ambiguous class resolution, "Pim\Upgrade\Schema\Version_3_0_20181205151719_add_configuration_table" was found in both "$baseDir . '/upgrades/2.3-3.0/Version_3_0_20181205151719_add_configuration_table.php" and "/home/teddy/Documents/works/akeneo31/pim-community-standard/vendor/akeneo/pim-community-dev/upgrades/2.3-3.0/Version_3_0_20181205151719_add_configuration_table.php", the first will be used. Warning: Ambiguous class resolution, "Pim\Upgrade\Schema\Version_3_0_20180131154710_add_role_user_if_needed" was found in both "$baseDir . '/upgrades/2.3-3.0/Version_3_0_20180131154710_add_role_user_if_needed.php" and "/home/teddy/Documents/works/akeneo31/pim-community-standard/vendor/akeneo/pim-community-dev/upgrades/2.3-3.0/Version_3_0_20180131154710_add_role_user_if_needed.php", the first will be used. Warning: Ambiguous class resolution, "Pim\Upgrade\Schema\Version_2_3_20180522151757_batch_jobs_migration" was found in both "$baseDir . '/upgrades/2.2-2.3/Version_2_3_20180522151757_batch_jobs_migration.php" and "/home/teddy/Documents/works/akeneo31/pim-community-standard/vendor/akeneo/pim-community-dev/upgrades/2.2-2.3/Version_2_3_20180522151757_batch_jobs_migration.php", the first will be used. Warning: Ambiguous class resolution, "Pim\Upgrade\Schema\Version_2_3_20180620102817_add_table_product_model_associations" was found in both "$baseDir . '/upgrades/2.2-2.3/Version_2_3_20180620102817_add_table_product_model_associations.php" and "/home/teddy/Documents/works/akeneo31/pim-community-standard/vendor/akeneo/pim-community-dev/upgrades/2.2-2.3/Version_2_3_20180620102817_add_table_product_model_associations.php", the first will be used. Warning: Ambiguous class resolution, "Pim\Upgrade\Schema\Version_2_3_20180418094859_add_job_instances" was found in both "$baseDir . '/upgrades/2.2-2.3/Version_2_3_20180418094859_add_job_instances.php" and "/home/teddy/Documents/works/akeneo31/pim-community-standard/vendor/akeneo/pim-community-dev/upgrades/2.2-2.3/Version_2_3_20180418094859_add_job_instances.php", the first will be used. Warning: Ambiguous class resolution, "Pim\Upgrade\Schema\Version_2_3_20180716135306_update_job_instances" was found in both "$baseDir . '/upgrades/2.2-2.3/Version_2_3_20180716135306_update_job_instances.php" and "/home/teddy/Documents/works/akeneo31/pim-community-standard/vendor/akeneo/pim-community-dev/upgrades/2.2-2.3/Version_2_3_20180716135306_update_job_instances.php", the first will be used. Warning: Ambiguous class resolution, "Pim\Upgrade\Schema\Version_2_3_20180620134351_add_table_structure_version_last_update" was found in both "$baseDir . '/upgrades/2.2-2.3/Version_2_3_20180620134351_add_table_structure_version_last_update.php" and "/home/teddy/Documents/works/akeneo31/pim-community-standard/vendor/akeneo/pim-community-dev/upgrades/2.2-2.3/Version_2_3_20180620134351_add_table_structure_version_last_update.php", the first will be used. Warning: Ambiguous class resolution, "Pim\Upgrade\Schema\Version_2_3_20180621121925_index_products_and_product_models" was found in both "$baseDir . '/upgrades/2.2-2.3/Version_2_3_20180621121925_index_products_and_product_models.php" and "/home/teddy/Documents/works/akeneo31/pim-community-standard/vendor/akeneo/pim-community-dev/upgrades/2.2-2.3/Version_2_3_20180621121925_index_products_and_product_models.php", the first will be used. Warning: Ambiguous class resolution, "Pim\Upgrade\Schema\Version_2_3_20180423092444_add_table_aggregated_volume" was found in both "$baseDir . '/upgrades/2.2-2.3/Version_2_3_20180423092444_add_table_aggregated_volume.php" and "/home/teddy/Documents/works/akeneo31/pim-community-standard/vendor/akeneo/pim-community-dev/upgrades/2.2-2.3/Version_2_3_20180423092444_add_table_aggregated_volume.php", the first will be used. Warning: Ambiguous class resolution, "Pim\Upgrade\Schema\Version_2_1_171220144835_batch_jobs" was found in both "$baseDir . '/upgrades/2.0-2.1/Version_2_1_171220144835_batch_jobs.php" and "/home/teddy/Documents/works/akeneo31/pim-community-standard/vendor/akeneo/pim-community-dev/upgrades/2.0-2.1/Version_2_1_171220144835_batch_jobs.php", the first will be used. Warning: Ambiguous class resolution, "Pim\Upgrade\Schema\Version_2_1_171129131942_product_model_associations" was found in both "$baseDir . '/upgrades/2.0-2.1/Version_2_1_171129131942_product_model_associations.php" and "/home/teddy/Documents/works/akeneo31/pim-community-standard/vendor/akeneo/pim-community-dev/upgrades/2.0-2.1/Version_2_1_171129131942_product_model_associations.php", the first will be used. ocramius/package-versions: Generating version class... ocramius/package-versions: ...done generating version class > Incenteev\ParameterHandler\ScriptHandler::buildParameters Updating the "app/config/parameters.yml" file > Sensio\Bundle\DistributionBundle\Composer\ScriptHandler::buildBootstrap > Sensio\Bundle\DistributionBundle\Composer\ScriptHandler::clearCache // Clearing the cache for the dev environment with debug // true [OK] Cache for the "dev" environment (debug=true) was successfully cleared. > Sensio\Bundle\DistributionBundle\Composer\ScriptHandler::installAssets Trying to install assets as relative symbolic links. --- --------------------------- ------------------ Bundle Method / Error --- --------------------------- ------------------ ✔ FOSJsRoutingBundle relative symlink ✔ OroConfigBundle relative symlink ✔ PimDataGridBundle relative symlink ✔ PimUserBundle relative symlink ✔ AkeneoPimEnrichmentBundle relative symlink ✔ AkeneoPimStructureBundle relative symlink ✔ PimDashboardBundle relative symlink ✔ PimAnalyticsBundle relative symlink ✔ PimImportExportBundle relative symlink ✔ PimNotificationBundle relative symlink ✔ PimUIBundle relative symlink --- --------------------------- ------------------ [OK] All assets were successfully installed. > Sensio\Bundle\DistributionBundle\Composer\ScriptHandler::installRequirementsFile > Sensio\Bundle\DistributionBundle\Composer\ScriptHandler::removeSymfonyStandardFiles > Sensio\Bundle\DistributionBundle\Composer\ScriptHandler::prepareDeploymentTarget > php bin/console --ansi fos:js-routing:dump --target=web/js/routes.js Dumping exposed routes. [file+] web/js/routes.js > php bin/console --ansi pim:installer:assets Akeneo PIM assets Dumping exposed routes. [file+] /home/teddy/Documents/works/akeneo31/pim-community-standard/app/../web/js/routes.js Installing assets as hard copies. --- --------------------------- ---------------- Bundle Method / Error --- --------------------------- ---------------- ✔ FOSJsRoutingBundle copy ✔ OroConfigBundle copy ✔ PimDataGridBundle copy ✔ PimUserBundle copy ✔ AkeneoPimEnrichmentBundle copy ✔ AkeneoPimStructureBundle copy ✔ PimDashboardBundle copy ✔ PimAnalyticsBundle copy ✔ PimImportExportBundle copy ✔ PimNotificationBundle copy ✔ PimUIBundle copy --- --------------------------- ---------------- ! [NOTE] Some assets were installed via copy. If you make changes to these ! assets you have to run this command again. [OK] All assets were successfully installed. Generating require.js main config 22:13:51 [file+] en_US.js 22:13:51 [file+] ca_ES.js 22:13:51 [file+] da_DK.js 22:13:51 [file+] de_DE.js 22:13:51 [file+] es_ES.js 22:13:52 [file+] fi_FI.js 22:13:52 [file+] fr_FR.js 22:13:52 [file+] hr_HR.js 22:13:52 [file+] it_IT.js 22:13:52 [file+] ja_JP.js 22:13:52 [file+] nl_NL.js 22:13:52 [file+] pl_PL.js 22:13:53 [file+] pt_BR.js 22:13:53 [file+] pt_PT.js 22:13:53 [file+] ru_RU.js 22:13:53 [file+] sv_SE.js 22:13:53 [file+] tl_PH.js 22:13:53 [file+] zh_CN.js 22:13:53 [file+] sv_SE.js 22:13:53 [file+] en_NZ.js |
Then install with ‘yarn’
NOTE:BUT MAKE SURE node version > 8.10.0
|
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 |
teddy@teddy:~/Documents/works/akeneo31/pim-community-standard$ yarn install yarn install v1.12.3 info No lockfile found. [1/4] Resolving packages... [2/4] Fetching packages... info fsevents@1.2.9: The platform "linux" is incompatible with this module. info "fsevents@1.2.9" is an optional dependency and failed compatibility check. Excluding it from installation. error eslint@5.15.1: The engine "node" is incompatible with this module. Expected version "^6.14.0 || ^8.10.0 || >=9.10.0". Got "8.9.4" error Found incompatible module info Visit https://yarnpkg.com/en/docs/cli/install for documentation about this command. teddy@teddy:~/Documents/works/akeneo31/pim-community-standard$ yarn --version 1.12.3 teddy@teddy:~/Documents/works/akeneo31/pim-community-standard$ node --version v8.9.4 teddy@teddy:~/Documents/works/akeneo31/pim-community-standard$ nvm ls -> v8.9.4 v8.15.0 v10.15.1 default -> 8.9.4 (-> v8.9.4) node -> stable (-> v10.15.1) (default) stable -> 10.15 (-> v10.15.1) (default) iojs -> N/A (default) lts/* -> lts/dubnium (-> v10.15.1) lts/argon -> v4.9.1 (-> N/A) lts/boron -> v6.16.0 (-> N/A) lts/carbon -> v8.15.0 lts/dubnium -> v10.15.1 teddy@teddy:~/Documents/works/akeneo31/pim-community-standard$ nvm install 8.15.0 v8.15.0 is already installed. Now using node v8.15.0 (npm v6.5.0) teddy@teddy:~/Documents/works/akeneo31/pim-community-standard$ nvm use 8.15.0 Now using node v8.15.0 (npm v6.5.0) teddy@teddy:~/Documents/works/akeneo31/pim-community-standard$ nvm ls v8.9.4 -> v8.15.0 v10.15.1 default -> 8.9.4 (-> v8.9.4) node -> stable (-> v10.15.1) (default) stable -> 10.15 (-> v10.15.1) (default) iojs -> N/A (default) lts/* -> lts/dubnium (-> N/A) lts/argon -> v4.9.1 (-> N/A) lts/boron -> v6.17.1 (-> N/A) lts/carbon -> v8.16.0 (-> N/A) lts/dubnium -> v10.16.0 (-> N/A) |
|
1 2 3 4 5 6 7 8 9 10 11 |
teddy@teddy:~/Documents/works/akeneo31/pim-community-standard$ yarn install yarn install v1.12.3 info No lockfile found. [1/4] Resolving packages... [2/4] Fetching packages... info fsevents@1.2.9: The platform "linux" is incompatible with this module. info "fsevents@1.2.9" is an optional dependency and failed compatibility check. Excluding it from installation. [3/4] Linking dependencies... [4/4] Building fresh packages... success Saved lockfile. Done in 25.63s. |
THEN INSTALL FRONTEND. CLEAR CACHE BUT GOT THIS:
|
1 2 3 4 5 6 7 8 |
teddy@teddy:~/Documents/works/akeneo31/pim-community-standard$ php bin/console cache:clear --no-warmup --env=prod PHP Fatal error: Uncaught Error: Call to undefined function apcu_exists() in /home/teddy/Documents/works/akeneo31/pim-community-standard/vendor/doctrine/cache/lib/Doctrine/Common/Cache/ApcuCache.php:34 Stack trace: #0 /home/teddy/Documents/works/akeneo31/pim-community-standard/vendor/doctrine/cache/lib/Doctrine/Common/Cache/ChainCache.php(45): Doctrine\Common\Cache\ApcuCache->doContains('DoctrineNamespa...') #1 /home/teddy/Documents/works/akeneo31/pim-community-standard/vendor/doctrine/cache/lib/Doctrine/Common/Cache/CacheProvider.php(200): Doctrine\Common\Cache\ChainCache->doFetch('DoctrineNamespa...') #2 /home/teddy/Documents/works/akeneo31/pim-community-standard/vendor/doctrine/cache/lib/Doctrine/Common/Cache/CacheProvider.php(177): Doctrine\Common\Cache\CacheProvider->getNamespaceVersion() #3 /home/teddy/Documents/works/akeneo31/pim-community-standard/vendor/doctrine/cache/lib/Doctrine/Common/Cache/CacheProvider.php(60): Doctrine\Common\Cache\CacheProvider->getNamespacedId('Gedmo\\Tree\\Enti...') #4 /home/teddy/Documents/ in /home/teddy/Documents/works/akeneo31/pim-community-standard/vendor/doctrine/cache/lib/Doctrine/Common/Cache/ApcuCache.php on line 34 |
|
1 2 3 4 5 6 7 8 |
teddy@teddy:~/Documents/works/akeneo31/pim-community-standard$ php bin/console cache:clear --no-warmup --env=prod In ApcuCache.php line 34: Attempted to call function "apcu_exists" from the global namespace. cache:clear [--no-warmup] [--no-optional-warmers] [-h|--help] [-q|--quiet] [-v|vv|vvv|--verbose] [-V|--version] [--ansi] [--no-ansi] [-n|--no-interaction] [-e|--env ENV] [--no-debug] [--] <command> |
SOLUTION:
READ: https://stackoverflow.com/questions/36129259/php7-with-apcu-call-to-undefined-function-apc-fetch
SO INSTALL php-apcu
|
1 |
teddy@teddy:~/Documents/works/akeneo31/pim-community-standard$ sudo apt-get install php7.2-apcu |
THEN ENABLE THE EXTENSION. IF YOU CAN’T FIND THE APCU SETTING, PLS DO
|
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 |
teddy@teddy:~/Documents/works/akeneo31/pim-community-standard$ php -i | grep apc/etc/php/7.2/cli/conf.d/20-apcu.ini, /etc/php/7.2/cli/conf.d/25-apcu_bc.ini, apc apcu apc.coredump_unmap => Off => Off apc.enable_cli => Off => Off apc.enabled => On => On apc.entries_hint => 4096 => 4096 apc.gc_ttl => 3600 => 3600 apc.mmap_file_mask => no value => no value apc.preload_path => no value => no value apc.serializer => php => php apc.shm_segments => 1 => 1 apc.shm_size => 32M => 32M apc.slam_defense => Off => Off apc.smart => 0 => 0 apc.ttl => 0 => 0 apc.use_request_time => On => On |
SO ‘apc.enable_cli’ IS OFF. SO MODIFIED THE INI FILE
|
1 |
teddy@teddy:~/Documents/works/akeneo31/pim-community-standard$ sudo gedit /etc/php/7.2/cli/conf.d/20-apcu.ini |
THEN ADD ONE LINE:
|
1 |
apc.enable_cli=1 |
SAVE THEN RESTART THE SERVICES
|
1 2 |
teddy@teddy:~/Documents/works/akeneo31/pim-community-standard$ sudo service php7.2-fpm restart teddy@teddy:~/Documents/works/akeneo31/pim-community-standard$ sudo service nginx restart |
CHECK AGAIN
|
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 |
teddy@teddy:~/Documents/works/akeneo31/pim-community-standard$ php -i | grep apc/etc/php/7.2/cli/conf.d/20-apcu.ini, /etc/php/7.2/cli/conf.d/25-apcu_bc.ini, apc apcu apc.coredump_unmap => Off => Off apc.enable_cli => On => On apc.enabled => On => On apc.entries_hint => 4096 => 4096 apc.gc_ttl => 3600 => 3600 apc.mmap_file_mask => no value => no value apc.preload_path => no value => no value apc.serializer => php => php apc.shm_segments => 1 => 1 apc.shm_size => 32M => 32M apc.slam_defense => Off => Off apc.smart => 0 => 0 apc.ttl => 0 => 0 apc.use_request_time => On => On |
THEN RUN AGAIN:
|
1 2 3 4 5 6 7 |
teddy@teddy:~/Documents/works/akeneo31/pim-community-standard$ php bin/console cache:clear --no-warmup --env=prod // Clearing the cache for the prod environment with debug // false [OK] Cache for the "prod" environment (debug=false) was successfully cleared. |
THEN CONTINUE TO RUN ‘php bin/console pim:installer:assets –symlink –clean –env=prod’
|
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 |
teddy@teddy:~/Documents/works/akeneo31/pim-community-standard$ php bin/console pim:installer:assets --symlink --clean --env=prod Akeneo PIM assets Dumping exposed routes. [file+] /home/teddy/Documents/works/akeneo31/pim-community-standard/app/../web/js/routes.js Installing assets as hard copies. --- --------------------------- ---------------- Bundle Method / Error --- --------------------------- ---------------- ✔ FOSJsRoutingBundle copy ✔ OroConfigBundle copy ✔ PimDataGridBundle copy ✔ PimUserBundle copy ✔ AkeneoPimEnrichmentBundle copy ✔ AkeneoPimStructureBundle copy ✔ PimDashboardBundle copy ✔ PimAnalyticsBundle copy ✔ PimImportExportBundle copy ✔ PimNotificationBundle copy ✔ PimUIBundle copy --- --------------------------- ---------------- ! [NOTE] Some assets were installed via copy. If you make changes to these ! assets you have to run this command again. [OK] All assets were successfully installed. Generating require.js main config 09:18:14 [file+] en_US.js 09:18:14 [file+] ca_ES.js 09:18:14 [file+] da_DK.js 09:18:14 [file+] de_DE.js 09:18:14 [file+] es_ES.js 09:18:15 [file+] fi_FI.js 09:18:15 [file+] fr_FR.js 09:18:15 [file+] hr_HR.js 09:18:15 [file+] it_IT.js 09:18:15 [file+] ja_JP.js 09:18:15 [file+] nl_NL.js 09:18:15 [file+] pl_PL.js 09:18:15 [file+] pt_BR.js 09:18:16 [file+] pt_PT.js 09:18:16 [file+] ru_RU.js 09:18:16 [file+] sv_SE.js 09:18:16 [file+] tl_PH.js 09:18:16 [file+] zh_CN.js 09:18:16 [file+] sv_SE.js 09:18:16 [file+] en_NZ.js Trying to install assets as relative symbolic links. --- --------------------------- ------------------ Bundle Method / Error --- --------------------------- ------------------ ✔ FOSJsRoutingBundle relative symlink ✔ OroConfigBundle relative symlink ✔ PimDataGridBundle relative symlink ✔ PimUserBundle relative symlink ✔ AkeneoPimEnrichmentBundle relative symlink ✔ AkeneoPimStructureBundle relative symlink ✔ PimDashboardBundle relative symlink ✔ PimAnalyticsBundle relative symlink ✔ PimImportExportBundle relative symlink ✔ PimNotificationBundle relative symlink ✔ PimUIBundle relative symlink --- --------------------------- ------------------ [OK] All assets were successfully installed. |
THEN THE INSTALLATION. BUT I GOT AN ERROR
|
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 |
teddy@teddy:~/Documents/works/akeneo31/pim-community-standard$ bin/console pim:install --force --symlink --clean --env=prod Check PIM installation Installing Akeneo PIM Application. Akeneo PIM required directories creation: /home/teddy/Documents/works/akeneo31/pim-community-standard/app/file_storage/catalog directory, created. /tmp/pim/file_storage directory, created. /home/teddy/Documents/works/akeneo31/pim-community-standard/app/archive directory, created. /home/teddy/Documents/works/akeneo31/pim-community-standard/app/uploads/product directory, created. /home/teddy/Documents/works/akeneo31/pim-community-standard/var/logs directory, removed. /home/teddy/Documents/works/akeneo31/pim-community-standard/var/logs directory, created. /tmp/pim/upload_tmp_dir directory, created. Akeneo PIM required directories : creation finished. Akeneo PIM requirements check: 09:21:13 ERROR [console] Error thrown while running command "pim:installer:check-requirements --no-debug=1 --env=prod". Message: "SQLSTATE[HY000] [1045] Access denied for user 'akeneo_pim'@'localhost' (using password: YES)" ["exception" => PDOException { …},"command" => "pim:installer:check-requirements --no-debug=1 --env=prod","message" => "SQLSTATE[HY000] [1045] Access denied for user 'akeneo_pim'@'localhost' (using password: YES)"] In CommunityRequirements.php line 246: SQLSTATE[HY000] [1045] Access denied for user 'akeneo_pim'@'localhost' (usi ng password: YES) pim:installer:check-requirements [-h|--help] [-q|--quiet] [-v|vv|vvv|--verbose] [-V|--version] [--ansi] [--no-ansi] [-n|--no-interaction] [-e|--env ENV] [--no-debug] [--] <command> The command terminated with an error code: 1045. Error during PIM installation. The command terminated with an error code: 1045. |
SOLUTION:
READ https://docs.akeneo.com/2.0/install_pim/system_requirements/system_install_ubuntu_1604.html
Creating a MySQL database and a user for the application
|
1 2 3 4 |
$ mysql -u root -p mysql> CREATE DATABASE akeneo_pim; mysql> GRANT ALL PRIVILEGES ON akeneo_pim.* TO akeneo_pim@localhost IDENTIFIED BY 'akeneo_pim'; mysql> EXIT |
THEN RUN AGAIN. BUT GOT ANOTHER ERROR:
|
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 |
teddy@teddy:~/Documents/works/akeneo31/pim-community-standard$ bin/console pim:install --force --symlink --clean --env=prod Check PIM installation Installing Akeneo PIM Application. Akeneo PIM required directories creation: /home/teddy/Documents/works/akeneo31/pim-community-standard/app/file_storage/catalog directory, removed. /home/teddy/Documents/works/akeneo31/pim-community-standard/app/file_storage/catalog directory, created. /tmp/pim/file_storage directory, removed. /tmp/pim/file_storage directory, created. /home/teddy/Documents/works/akeneo31/pim-community-standard/app/archive directory, removed. /home/teddy/Documents/works/akeneo31/pim-community-standard/app/archive directory, created. /home/teddy/Documents/works/akeneo31/pim-community-standard/app/uploads/product directory, removed. /home/teddy/Documents/works/akeneo31/pim-community-standard/app/uploads/product directory, created. /home/teddy/Documents/works/akeneo31/pim-community-standard/var/logs directory, removed. /home/teddy/Documents/works/akeneo31/pim-community-standard/var/logs directory, created. /tmp/pim/upload_tmp_dir directory, removed. /tmp/pim/upload_tmp_dir directory, created. Akeneo PIM required directories : creation finished. Akeneo PIM requirements check: +---------+------------------------------------------------------------------------------------------+ | Check | Mandatory requirements | +---------+------------------------------------------------------------------------------------------+ | OK | PHP version must be at least 5.5.9 (7.2.20-2+ubuntu16.04.1+deb.sury.org+1 installed) | | OK | PHP version must not be 5.3.16 as Symfony won't work properly with it | | OK | Vendor libraries must be installed | | OK | app/cache/ or var/cache/ directory must be writable | | OK | app/logs/ or var/logs/ directory must be writable | | OK | Configured default timezone "Asia/Jakarta" must be supported by your installation of PHP | | OK | iconv() must be available | | 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 | APC version must be at least 3.1.13 when using PHP 5.4 | | OK | PCRE extension must be available | +---------+------------------------------------------------------------------------------------------+ +---------+---------------------------------------------------------+ | Check | PHP requirements | +---------+---------------------------------------------------------+ | OK | detect_unicode must be disabled in php.ini | | OK | xdebug.show_exception_trace must be disabled in php.ini | | OK | xdebug.scream must be disabled in php.ini | | OK | string functions should not be overloaded | +---------+---------------------------------------------------------+ +---------+-----------------------------------------------------------------------------------------------------------------+ | Check | Pim requirements | +---------+-----------------------------------------------------------------------------------------------------------------+ | OK | PHP version must be at least 7.2.0 (7.2.20-2+ubuntu16.04.1+deb.sury.org+1 installed) | | OK | apcu extension should be available | | OK | bcmath extension should be available | | OK | curl extension should be available | | OK | fileinfo extension should be available | | OK | gd extension should be available | | OK | intl extension should be available | | OK | pdo_mysql extension should be available | | OK | xml extension should be available | | OK | zip extension should be available | | OK | exif extension should be available | | OK | imagick extension should be available | | OK | GD extension must be at least 2.0 | | OK | icu library must be at least 4.2 | | OK | memory_limit should be at least 512M | | OK | web/bundles directory must be writable | | OK | MySQL version must be greater or equal to 5.7.22 and lower than 5.8.0 | | OK | Check support for correct innodb_page_size for utf8mb4 support | | OK | The exec() function should be enabled in order to run jobs | | OK | /home/teddy/Documents/works/akeneo31/pim-community-standard/app/file_storage/catalog directory must be writable | | OK | /tmp/pim/file_storage directory must be writable | | OK | /home/teddy/Documents/works/akeneo31/pim-community-standard/app/archive directory must be writable | | OK | /home/teddy/Documents/works/akeneo31/pim-community-standard/app/uploads/product directory must be writable | | OK | /home/teddy/Documents/works/akeneo31/pim-community-standard/var/logs directory must be writable | | OK | /tmp/pim/upload_tmp_dir directory must be writable | +---------+-----------------------------------------------------------------------------------------------------------------+ +---------+-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | Check | Recommendations | +---------+-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | OK | Vendors should be installed in order to check all requirements. | | OK | xdebug.max_nesting_level should be above 100 in php.ini | | OK | Requirements file should be up-to-date | | OK | You should use at least PHP 5.3.4 due to PHP bug #52083 in earlier versions | | OK | When using annotations you should have at least PHP 5.3.8 due to PHP bug #55156 | | OK | You should not use PHP 5.4.0 due to the PHP bug #61453 | | 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.43 installed) | | OK | PHP-DOM and PHP-XML modules should be installed | | OK | mb_strlen() should be available | | OK | utf8_decode() should be available | | OK | filter_var() should be available | | OK | posix_isatty() should be available | | OK | intl extension should be available | | OK | intl extension should be correctly configured | | OK | intl ICU version should be at least 4+ | | WARNING | To get the latest internationalization data upgrade the ICU system package and the intl PHP extension. | | OK | intl.error_level should be 0 in php.ini | | OK | a PHP accelerator should be installed | | OK | short_open_tag should be disabled 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: mysql, sqlite) | | OK | cURL extension must be at least 7.0 | | WARNING | Set apc.enable_cli to 1 | +---------+-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ Prepare database schema Dropped database `akeneo_pim` for connection named default Created database `akeneo_pim` for connection named default ! ! [CAUTION] This operation should not be executed in a production environment! ! Creating database schema... [OK] Database schema created successfully! [OK] Nothing to update - your database is already in sync with the current entity metadata. Reset elasticsearch indexes In StaticNoPingConnectionPool.php line 53: No alive nodes found in your cluster The command terminated with an error code: 1. Error during PIM installation. The command terminated with an error code: 1. |
SOLUTION:
INSTALL ELASTIC SEARCH FROM https://www.elastic.co/guide/en/elasticsearch/reference/current/deb.html#deb-key
|
1 2 3 4 5 |
teddy@teddy:~/Documents/works/akeneo31/pim-community-standard$ sudo apt install apt-transport-https teddy@teddy:~/Documents/works/akeneo31/pim-community-standard$ wget -qO - https://artifacts.elastic.co/GPG-KEY-elasticsearch | sudo apt-key add - teddy@teddy:~/Documents/works/akeneo31/pim-community-standard$ echo "deb https://artifacts.elastic.co/packages/7.x/apt stable main" | sudo tee -a /etc/apt/sources.list.d/elastic-7.x.list teddy@teddy:~/Documents/works/akeneo31/pim-community-standard$ sudo apt-get update teddy@teddy:~/Documents/works/akeneo31/pim-community-standard$ sudo apt-get install elasticsearch |
START ELASTICSEARCH SERVICE
|
1 |
teddy@teddy:~/Documents/works/akeneo31/pim-community-standard$ sudo service elasticsearch start |
CHECK ON THE BROWSER: http://localhost:9200/
SHOULD SHOW
|
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 |
{ "name" : "teddy", "cluster_name" : "elasticsearch", "cluster_uuid" : "naHr_JQ-RaK7dDx1CAdiDw", "version" : { "number" : "7.3.0", "build_flavor" : "default", "build_type" : "deb", "build_hash" : "de777fa", "build_date" : "2019-07-24T18:30:11.767338Z", "build_snapshot" : false, "lucene_version" : "8.1.0", "minimum_wire_compatibility_version" : "6.8.0", "minimum_index_compatibility_version" : "6.0.0-beta1" }, "tagline" : "You Know, for Search" } |
THEN RUN AGAIN. BUT GOT ANOTHER ERROR:
|
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 |
teddy@teddy:~/Documents/works/akeneo31/pim-community-standard$ bin/console pim:install --force --symlink --clean --env=prod ... Reset elasticsearch indexes In Connection.php line 636: {"error":{"root_cause":[{"type":"mapper_parsing_exception","reason":"Root m apping definition has unsupported parameters: [pim_catalog_product : {dyna mic_templates=[{label_scopable_localizable_structure={path_match=label.*, m apping={type=object}, match_mapping_type=object}}, {label={path_match=label .*, mapping={normalizer=text_normalizer, type=keyword}}}, {ancestor_label={ path_match=ancestors.labels.*, mapping={normalizer=text_normalizer, type=ke yword}, match_mapping_type=string}}, {family={path_match=family.labels.*, m apping={normalizer=family_normalizer, type=keyword}}}, {textarea_scopable_l ocalizable_structure={path_match=values.*-textarea.*, mapping={type=object} , match_mapping_type=object}}, {textarea={path_match=values.*-textarea.*, m apping={analyzer=textarea_analyzer, fields={preprocessed={fielddata=true, a nalyzer=textarea_preprocessed_analyzer, type=text}}, type=text}}}, {text_sc opable_localizable_structure={path_match=values.*-text.*, mapping={type=obj ect}, match_mapping_type=object}}, {text={path_match=values.*-text.*, mappi ng={normalizer=text_normalizer, type=keyword}}}, {completeness_scopable_loc alizable_structure={path_match=completeness.*, mapping={type=object}, match _mapping_type=object}}, {completeness={path_match=completeness.*, mapping={ type=integer}}}, {decimal_scopable_localizable_structure={path_match=values .*-decimal.*, mapping={type=object}, match_mapping_type=object}}, {decimal= {path_match=values.*-decimal.*, mapping={type=double}}}, {boolean_scopable_ localizable_structure={path_match=values.*-boolean.*, mapping={type=object} , match_mapping_type=object}}, {boolean={path_match=values.*-boolean.*, map ping={type=boolean}}}, {date_scopable_localizable_structure={path_match=val ues.*-date.*, mapping={type=object}, match_mapping_type=object}}, {date={pa th_match=values.*-date.*, mapping={type=date}}}, {option_scopable_localizab le_structure={path_match=values.*-option.*, mapping={type=object}, match_ma pping_type=object}}, {option={path_match=values.*-option.*, mapping={type=k eyword}}}, {options_scopable_localizable_structure={path_match=values.*-opt ions.*, mapping={type=object}, match_mapping_type=object}}, {options={path_ match=values.*-options.*, mapping={type=keyword}}}, {reference_data_option_ scopable_localizable_structure={path_match=values.*-reference_data_option.* , mapping={type=object}, match_mapping_type=object}}, {reference_data_optio n={path_match=values.*-reference_data_option.*, mapping={type=keyword}}}, { reference_data_options_scopable_localizable_structure={path_match=values.*- reference_data_options.*, mapping={type=object}, match_mapping_type=object} }, {reference_data_options={path_match=values.*-reference_data_options.*, m apping={type=keyword}}}, {prices_data_options_scopable_localizable_structur e={path_match=values.*-prices.*, mapping={type=object}, match_mapping_type= object}}, {prices={path_match=values.*-prices.*, mapping={type=double}}}, { metric_data={path_match=values.*-metric.*.data, mapping={index=false}}}, {m etric_base_data={path_match=values.*-metric.*.base_data, mapping={type=doub le}}}, {metric_unit={path_match=values.*-metric.*.unit, mapping={index=fals e}}}, {metric_base_unit={path_match=values.*-metric.*.base_unit, mapping={i ndex=false}}}, {media_extension={path_match=values.*-media.*.extension, map ping={index=false}}}, {media_key={path_match=values.*-media.*.key, mapping= {index=false}}}, {media_hash={path_match=values.*-media.*.hash, mapping={in dex=false}}}, {media_mime_type={path_match=values.*-media.*.mime_type, mapp ing={index=false}}}, {media_original_filename={path_match=values.*-media.*. original_filename, mapping={type=keyword}}}, {media_size={path_match=values .*-media.*.size, mapping={index=false}}}, {media_storage={path_match=values .*-media.*.storage, mapping={index=false}}}, {in_group_structure={path_matc h=in_group.*, mapping={type=object}, match_mapping_type=object}}, {in_group ={path_match=in_group.*, mapping={type=boolean}}}], properties={identifier= {normalizer=identifier_normalizer, type=keyword}, parent={normalizer=identi fier_normalizer, type=keyword}, ancestors.codes={normalizer=identifier_norm alizer, type=keyword}, categories_of_ancestors={type=keyword}, created={typ e=date}, groups={type=keyword}, attributes_for_this_level={type=keyword}, e nabled={type=boolean}, attributes_of_ancestors={type=keyword}, family.code= {type=keyword}, ancestors.ids={type=keyword}, categories={type=keyword}, id ={type=keyword}, updated={type=date}, family_variant={type=keyword}, docume nt_type={type=keyword}}}]"}],"type":"mapper_parsing_exception","reason":"Fa iled to parse mapping [_doc]: Root mapping definition has unsupported param eters: [pim_catalog_product : {dynamic_templates=[{label_scopable_localiza ble_structure={path_match=label.*, mapping={type=object}, match_mapping_typ e=object}}, {label={path_match=label.*, mapping={normalizer=text_normalizer , type=keyword}}}, {ancestor_label={path_match=ancestors.labels.*, mapping= {normalizer=text_normalizer, type=keyword}, match_mapping_type=string}}, {f amily={path_match=family.labels.*, mapping={normalizer=family_normalizer, t ype=keyword}}}, {textarea_scopable_localizable_structure={path_match=values .*-textarea.*, mapping={type=object}, match_mapping_type=object}}, {textare a={path_match=values.*-textarea.*, mapping={analyzer=textarea_analyzer, fie lds={preprocessed={fielddata=true, analyzer=textarea_preprocessed_analyzer, type=text}}, type=text}}}, {text_scopable_localizable_structure={path_matc h=values.*-text.*, mapping={type=object}, match_mapping_type=object}}, {tex t={path_match=values.*-text.*, mapping={normalizer=text_normalizer, type=ke yword}}}, {completeness_scopable_localizable_structure={path_match=complete ness.*, mapping={type=object}, match_mapping_type=object}}, {completeness={ path_match=completeness.*, mapping={type=integer}}}, {decimal_scopable_loca lizable_structure={path_match=values.*-decimal.*, mapping={type=object}, ma tch_mapping_type=object}}, {decimal={path_match=values.*-decimal.*, mapping ={type=double}}}, {boolean_scopable_localizable_structure={path_match=value s.*-boolean.*, mapping={type=object}, match_mapping_type=object}}, {boolean ={path_match=values.*-boolean.*, mapping={type=boolean}}}, {date_scopable_l ocalizable_structure={path_match=values.*-date.*, mapping={type=object}, ma tch_mapping_type=object}}, {date={path_match=values.*-date.*, mapping={type =date}}}, {option_scopable_localizable_structure={path_match=values.*-optio n.*, mapping={type=object}, match_mapping_type=object}}, {option={path_matc h=values.*-option.*, mapping={type=keyword}}}, {options_scopable_localizabl e_structure={path_match=values.*-options.*, mapping={type=object}, match_ma pping_type=object}}, {options={path_match=values.*-options.*, mapping={type =keyword}}}, {reference_data_option_scopable_localizable_structure={path_ma tch=values.*-reference_data_option.*, mapping={type=object}, match_mapping_ type=object}}, {reference_data_option={path_match=values.*-reference_data_o ption.*, mapping={type=keyword}}}, {reference_data_options_scopable_localiz able_structure={path_match=values.*-reference_data_options.*, mapping={type =object}, match_mapping_type=object}}, {reference_data_options={path_match= values.*-reference_data_options.*, mapping={type=keyword}}}, {prices_data_o ptions_scopable_localizable_structure={path_match=values.*-prices.*, mappin g={type=object}, match_mapping_type=object}}, {prices={path_match=values.*- prices.*, mapping={type=double}}}, {metric_data={path_match=values.*-metric .*.data, mapping={index=false}}}, {metric_base_data={path_match=values.*-me tric.*.base_data, mapping={type=double}}}, {metric_unit={path_match=values. *-metric.*.unit, mapping={index=false}}}, {metric_base_unit={path_match=val ues.*-metric.*.base_unit, mapping={index=false}}}, {media_extension={path_m atch=values.*-media.*.extension, mapping={index=false}}}, {media_key={path_ match=values.*-media.*.key, mapping={index=false}}}, {media_hash={path_matc h=values.*-media.*.hash, mapping={index=false}}}, {media_mime_type={path_ma tch=values.*-media.*.mime_type, mapping={index=false}}}, {media_original_fi lename={path_match=values.*-media.*.original_filename, mapping={type=keywor d}}}, {media_size={path_match=values.*-media.*.size, mapping={index=false}} }, {media_storage={path_match=values.*-media.*.storage, mapping={index=fals e}}}, {in_group_structure={path_match=in_group.*, mapping={type=object}, ma tch_mapping_type=object}}, {in_group={path_match=in_group.*, mapping={type= boolean}}}], properties={identifier={normalizer=identifier_normalizer, type =keyword}, parent={normalizer=identifier_normalizer, type=keyword}, ancesto rs.codes={normalizer=identifier_normalizer, type=keyword}, categories_of_an cestors={type=keyword}, created={type=date}, groups={type=keyword}, attribu tes_for_this_level={type=keyword}, enabled={type=boolean}, attributes_of_an cestors={type=keyword}, family.code={type=keyword}, ancestors.ids={type=key word}, categories={type=keyword}, id={type=keyword}, updated={type=date}, f amily_variant={type=keyword}, document_type={type=keyword}}}]","caused_by": {"type":"mapper_parsing_exception","reason":"Root mapping definition has un supported parameters: [pim_catalog_product : {dynamic_templates=[{label_sc opable_localizable_structure={path_match=label.*, mapping={type=object}, ma tch_mapping_type=object}}, {label={path_match=label.*, mapping={normalizer= text_normalizer, type=keyword}}}, {ancestor_label={path_match=ancestors.lab els.*, mapping={normalizer=text_normalizer, type=keyword}, match_mapping_ty pe=string}}, {family={path_match=family.labels.*, mapping={normalizer=famil y_normalizer, type=keyword}}}, {textarea_scopable_localizable_structure={pa th_match=values.*-textarea.*, mapping={type=object}, match_mapping_type=obj ect}}, {textarea={path_match=values.*-textarea.*, mapping={analyzer=textare a_analyzer, fields={preprocessed={fielddata=true, analyzer=textarea_preproc essed_analyzer, type=text}}, type=text}}}, {text_scopable_localizable_struc ture={path_match=values.*-text.*, mapping={type=object}, match_mapping_type =object}}, {text={path_match=values.*-text.*, mapping={normalizer=text_norm alizer, type=keyword}}}, {completeness_scopable_localizable_structure={path _match=completeness.*, mapping={type=object}, match_mapping_type=object}}, {completeness={path_match=completeness.*, mapping={type=integer}}}, {decima l_scopable_localizable_structure={path_match=values.*-decimal.*, mapping={t ype=object}, match_mapping_type=object}}, {decimal={path_match=values.*-dec imal.*, mapping={type=double}}}, {boolean_scopable_localizable_structure={p ath_match=values.*-boolean.*, mapping={type=object}, match_mapping_type=obj ect}}, {boolean={path_match=values.*-boolean.*, mapping={type=boolean}}}, { date_scopable_localizable_structure={path_match=values.*-date.*, mapping={t ype=object}, match_mapping_type=object}}, {date={path_match=values.*-date.* , mapping={type=date}}}, {option_scopable_localizable_structure={path_match =values.*-option.*, mapping={type=object}, match_mapping_type=object}}, {op tion={path_match=values.*-option.*, mapping={type=keyword}}}, {options_scop able_localizable_structure={path_match=values.*-options.*, mapping={type=ob ject}, match_mapping_type=object}}, {options={path_match=values.*-options.* , mapping={type=keyword}}}, {reference_data_option_scopable_localizable_str ucture={path_match=values.*-reference_data_option.*, mapping={type=object}, match_mapping_type=object}}, {reference_data_option={path_match=values.*-r eference_data_option.*, mapping={type=keyword}}}, {reference_data_options_s copable_localizable_structure={path_match=values.*-reference_data_options.* , mapping={type=object}, match_mapping_type=object}}, {reference_data_optio ns={path_match=values.*-reference_data_options.*, mapping={type=keyword}}}, {prices_data_options_scopable_localizable_structure={path_match=values.*-p rices.*, mapping={type=object}, match_mapping_type=object}}, {prices={path_ match=values.*-prices.*, mapping={type=double}}}, {metric_data={path_match= values.*-metric.*.data, mapping={index=false}}}, {metric_base_data={path_ma tch=values.*-metric.*.base_data, mapping={type=double}}}, {metric_unit={pat h_match=values.*-metric.*.unit, mapping={index=false}}}, {metric_base_unit= {path_match=values.*-metric.*.base_unit, mapping={index=false}}}, {media_ex tension={path_match=values.*-media.*.extension, mapping={index=false}}}, {m edia_key={path_match=values.*-media.*.key, mapping={index=false}}}, {media_ hash={path_match=values.*-media.*.hash, mapping={index=false}}}, {media_mim e_type={path_match=values.*-media.*.mime_type, mapping={index=false}}}, {me dia_original_filename={path_match=values.*-media.*.original_filename, mappi ng={type=keyword}}}, {media_size={path_match=values.*-media.*.size, mapping ={index=false}}}, {media_storage={path_match=values.*-media.*.storage, mapp ing={index=false}}}, {in_group_structure={path_match=in_group.*, mapping={t ype=object}, match_mapping_type=object}}, {in_group={path_match=in_group.*, mapping={type=boolean}}}], properties={identifier={normalizer=identifier_n ormalizer, type=keyword}, parent={normalizer=identifier_normalizer, type=ke yword}, ancestors.codes={normalizer=identifier_normalizer, type=keyword}, c ategories_of_ancestors={type=keyword}, created={type=date}, groups={type=ke yword}, attributes_for_this_level={type=keyword}, enabled={type=boolean}, a ttributes_of_ancestors={type=keyword}, family.code={type=keyword}, ancestor s.ids={type=keyword}, categories={type=keyword}, id={type=keyword}, updated ={type=date}, family_variant={type=keyword}, document_type={type=keyword}}} ]"}},"status":400} The command terminated with an error code: 400. Error during PIM installation. The command terminated with an error code: 400. |
SETUP NGINX CONF
|
1 |
teddy@teddy:~/Documents/works/akeneo31/pim-community-standard$ sudo gedit /etc/nginx/sites-available/akeneo-pim.test |
CONTENT
|
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 |
server { listen 80; server_name akeneo-pim.test; root /home/teddy/Documents/works/akeneo31/pim-community-standard/web; index index.php; autoindex off; charset UTF-8; error_page 404 403 = /errors/404.php; #add_header "X-UA-Compatible" "IE=Edge"; client_max_body_size 100M; location / { try_files $uri $uri/ /index.php$is_args$args; } location ~ \.php { try_files $uri /index.php =404; fastcgi_pass unix:/run/php/php7.2-fpm.sock; fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name; fastcgi_param SCRIPT_NAME $fastcgi_script_name; fastcgi_split_path_info ^(.+\.php)(/.+)$; fastcgi_index index.php; include fastcgi_params; } error_log /home/teddy/Documents/works/akeneo31/pim-community-standard/var/logs/nginx_error.log; access_log /home/teddy/Documents/works/akeneo31/pim-community-standard/var/logs/nginx_access.log; gzip on; gzip_disable "msie6"; gzip_comp_level 6; gzip_min_length 1100; gzip_buffers 16 8k; gzip_proxied any; gzip_types text/plain text/css text/js text/xml text/javascript application/javascript application/x-javascript application/json application/xml application/xml+rss image/svg+xml; gzip_vary on; # Banned locations (only reached if the earlier PHP entry point regexes don't match) location ~* (\.php$|\.htaccess$|\.git) { deny all; } } |
THEN
|
1 |
teddy@teddy:~/Documents/works/akeneo31/pim-community-standard$ sudo ln -s /etc/nginx/sites-available/akeneo-pim.test /etc/nginx/sites-enabled/akeneo-pim.test |
Then
|
1 |
sudo gedit /etc/hosts |
Then
|
1 |
127.0.0.1 akeneo-pim.test |
Then
|
1 2 |
teddy@teddy:~/Documents/works/akeneo31/pim-community-standard$ sudo nginx -t teddy@teddy:~/Documents/works/akeneo31/pim-community-standard$ sudo service nginx restart |