Questions tagged [setup]

Denotes question related to Magento installation

Filter by
Sorted by
Tagged with
0 votes
1 answer
35 views

How to install Magento 2.4.4 from archive with sample data?

i would like to know how to install Magento 2.4.4 starting from the archive with sample data. The archive can be downloaded here: https://magento.com/tech-resources/download#archive-releases While the ...
user avatar
  • 101
0 votes
1 answer
32 views

Magent 2.3.4 Installation error

I was do setup the magento 2.3.4 version in Php 7.3 version But Frontend throw error Fatal error: Composer detected issues in your platform: Your Composer dependencies require a PHP version ">...
user avatar
1 vote
1 answer
104 views

magento 2 cloud docker setup for 2.4.3-p1 failed gives error

I am trying to setup magento2.4.3-p1 with cloud docker when I run the docker.sh command curl -sL https://github.com/magento/magento-cloud-docker/releases/download/1.2.0/init-docker.sh | bash -s -- --...
user avatar
  • 61
0 votes
1 answer
23 views

Error on setup:install step 4

I am installing magento in clean database but it throws an error In StoreRepository.php line 112: The store that was ...
user avatar
0 votes
1 answer
23 views

error when doing setup install on clean database magento2

Here is an error that occurs when I run setup:install command on clean database magento2 SQLSTATE[42S02]: Base table or view not found: 1146 Table 'clean.core_confi g_data' doesn't exist I added ...
user avatar
0 votes
1 answer
56 views

Magento 2.4, How to autofill value of Page Builder/textarea instead of Page Builder(form details) initialized as blank

In admin Catalog->Category->content I would like this Form detail:Page Builder to have Layout->Row and Element->HTML Code="Default Value" at setup. <?php namespace Justins\...
user avatar
0 votes
0 answers
57 views

Magento 2.3.7 p1 install in Doker using DevilBox

I installed magento2.3.7-p1 using DevilBox in Docker but The requested URL was not found on this server Error occur how to solve this. please share with me. Thank you in advance. I follow this link : ...
user avatar
  • 11
0 votes
2 answers
41 views

couldn't start dockergento and pull images

I am trying to setup new project locally but can't pull any docker images, tried on old project and still same issue. tried restarting everything, re logging in docker etc. pulled docker-hello ...
user avatar
0 votes
2 answers
61 views

Magento after setup ReflectionException Class Magento\Search\ViewModel\ConfigProvider does not exist

I setup my project in localhost and I get the below error when try to access frontend. Exception #0 (ReflectionException): Class Magento\Search\ViewModel\ConfigProvider does not exist My project is ...
user avatar
  • 9,847
0 votes
2 answers
41 views

php -dmemory_limit=-1 bin/magento setup:di:compile

I am trying to install our live website into the localhost But I have encountered this error while running command php -dmemory_limit=-1 bin/magento setup:di:compile Parse error: syntax error, ...
user avatar
0 votes
0 answers
49 views

How to add custom order status via setup data patch?

I have created custom order status via setup data patch and want to add one new status with the same file but the status is not creating. As like we do in setup/upgrade-scheme, is there any file we ...
user avatar
  • 470
0 votes
1 answer
26 views

Error during compilation - Extra parameters passed to parent construct

During deployment when i run setup:di:compile i got error in one of my block, Extra parameters passed to parent construct: $data Guide me on this issue File name:index.php File location:app/code/...
user avatar
  • 1
0 votes
1 answer
380 views

Transport Exception : Content-Length mismatch Installing Magento 2.3.6

I have to install the magento 2.3.6 on my vagrant VM it actually already working on other VMs but today I have created another VM and start installing the magento2 but got this weird error at some ...
user avatar
0 votes
0 answers
111 views

Magento CLI Install Error Megento_Catalog

I'm trying to install Magento 2.3 from the terminal and I find the following error, does anyone know how to fix it? In PatchApplier.php line 170: ...
user avatar
  • 1
1 vote
2 answers
240 views

Class NewRelic\Monolog\Enricher\Handler does not exist

I just reinstalled magento using composer install Then I tried to run this command php bin/magento setup:upgrade and also tried running other setup commands. I got the following error: Class NewRelic\...
user avatar
0 votes
1 answer
20 views

Magento 2 Frontend Page shows Try clearing your cookies

I have installed magento through command line by using bin/magento setup:install --base-url=http://127.0.0.1/magento2/ --db-host=localhost --db-name=magento --db-user=magento --db-password=magento --...
user avatar
  • 147
0 votes
1 answer
430 views

magento 2.4 setup is not displaying, showing the page isn't working, HTTP error 500

magento 2.4 setup is not displaying, showing the page isn't working HTTP error 500, but i tried with simple php code.server is working fine. what may be the error, i am using php 7.3
user avatar
0 votes
3 answers
378 views

What are System Requirements for Magento 2.4?

I am using ubuntu 18.04 with PHP 7.3 and MySQL 5.7 Magento 2.3.5 is working fine what are requirements for Magento 2.4
user avatar
  • 2,029
5 votes
6 answers
7k views

Magento 2.4 Best way setup with Docker environment

What is the best way to Configure Docker environment with Magento 2.4. If some know please give me a solution.
user avatar
0 votes
1 answer
248 views

Magento2.4 : How to setup PWA with Angular

I want to setup PWA with Angular. I search but I only found Magento 2 project setup with react. I correctly set up with react but not found the best practice and correct way to setup Magento 2.4 with ...
user avatar
0 votes
1 answer
3k views

Composer installation fails with "failed to open stream: Too many open files"

When trying to install Magento 2 Open Source with the following command, I get the following error. I've already upped my maxfiles to kingdom come, without any positive effect. How do I fix this? ...
user avatar
  • 113
0 votes
2 answers
506 views

Magneto 2 setup - incorrect permissions

After install magento 2.3.5-p1 i got exception on setup page (in web setup). PHP Fatal error: Uncaught Zend_Cache_Exception: cache_dir "/var/www/html/magento2/var/page_cache" is not writable in /var/...
user avatar
1 vote
1 answer
548 views

Cant install magento/pwa

I am trying to install Magento with pwa,but when i run in terminal command yarn create @magento/pwa, and after answer of the question- Im getting an error-- Invalid directory path; contains illegal ...
user avatar
0 votes
1 answer
249 views

Magento 2 Angular js error while run setup

I am new to Magento, I am trying to set up Magento with ddev. So, Downloaded setup version 2.3 with sample data. When I run the setup it shows AngularJs errors in the console (See the screenshot). ...
user avatar
  • 101
0 votes
2 answers
869 views

An error has happened during application run. See exception log for details. during deployment

hope you can help me out! Best regards Joost [2020-03-28 19:24:43] main.CRITICAL: Class Magento\Framework\Session\Config\ConfigInterface\Proxy does not exist {"exception":"[object] (...
user avatar
0 votes
0 answers
40 views

installed project on local and have an error

I installed project on local , used dump in the database but I have an error {"0":"The website with code base that was requested wasn't found. Verify the website and try again.","1":"<pre>#1 ...
user avatar
0 votes
1 answer
190 views

How to override a file in root/setup/src/Magento/ in Magento?

I'm working on a solution that requires adding a bit of functionality to the magento installation process. How do I override a file in root/setup/src/Magento/... How would i override setup/src/...
user avatar
  • 1,196
0 votes
1 answer
1k views

Missing setup_module table in Magento 2.3.2 database

i am missing a table setup_module in magent 2.3.2 database, the site is working, however i cannot install any extensions as the new tables are not being created due to missing setup_module. i could ...
user avatar
1 vote
1 answer
647 views

how to override the Setup/Patch/Data file in magento2

How to override the core "module-store/Setup/Patch/Data/DisableSid.php" into "app/code/Mymodule/Test/" module. can anyone please help me. Thanks
user avatar
4 votes
3 answers
3k views

Magento 2: Setup Magento project after clone git repository

I want to set up a git project on my local machine. I have successfully set up the database. I have run git clone command and clone the project from git but some repository is blank. so how can I ...
user avatar
0 votes
2 answers
117 views

Magento 2.3.3 - How to setup theme after migrate M1 to M2?

After successful migration theme setup not working, setup Magento luma theme not working. Theme Setup : My website look like: Debug.log: main.ERROR: Unable to load theme by specified key: '...
user avatar
  • 103
1 vote
3 answers
3k views

Magento Update to 2.3.3 backend after login Specified invalid parent id Magento_Analytics

i have a problem while upgrading Magento from 2.3.2 to 2.3.3. The update works fine and i have all done which mentioned here: https://devdocs.magento.com/guides/v2.3/comp-mgr/cli/cli-upgrade.html ...
user avatar
0 votes
0 answers
29 views

I am getting an error when i run setup : Magento 1

I am getting below error: Call to a member function getDefaultStore() on boolean in D:\wampstack\apache2\htdocs\juliasvn\app\code\core\Mage\Core\Model\App.php on line 562 can anyone have any ...
user avatar
  • 1
1 vote
1 answer
39 views

InstallSchema.php fails to execute

I've read various posts here but none of them have been helpful. Steps I have taken: Remove My_Module from setup_module in DB Add Setup/InstallSchema.php Clear generated/* directory Clear cache ...
user avatar
  • 1,590
0 votes
1 answer
27 views

Magento 1.3 installaton

i am trying to do magento 1.3 setup on local. The setup is not fresh, its a server setup i am doing it on local and i am getting this error. https://prnt.sc/opxr9g Can anyone help me out please
user avatar
  • 700
0 votes
0 answers
25 views

White Screen During Setup. Tried everything

I'm trying to set up Magento locally using MAMP, and I'm getting the WSOD. I've changed permissions, to the point that just about everything has full permissions, and still nothing I'm running PHP 7....
user avatar
4 votes
2 answers
2k views

How to convert install/upgrade schema scripts to db_schema.xml files?

I'm following the guide from Magento DevDocs about the Declarative Schema I created a new module with old setup way (InstallSchema.php, InstallData.php) to test the convert install/upgrade schema ...
user avatar
4 votes
1 answer
2k views

phpcs Use ::class notation instead warning on attribute source field

I've created a setup script to load from a source model $eavSetup->addAttribute( \Magento\Catalog\Model\Category::ENTITY, 'location_reference', [ 'type' => 'varchar', ...
user avatar
0 votes
2 answers
627 views

Magento 2 installation settings - mysql database password problem

I am trying to run the magento 2 install (default shown below). However, if I add a symbol into the password it complains and says Your password must include both numeric and alphabetic characters. ...
user avatar
1 vote
3 answers
284 views

Magento installation error from command line

I tried to install magento CE- v2.3.1, from the windows command line interface. Instead of full command i used the short one, as "magento setup:install " I did not provide the full arguments ...
user avatar
0 votes
2 answers
754 views

Magento 2: How do I enable or disable all modules (or subset) of a vendor in 1 command?

Seeing we are installing, upgrading, removing a new M2 (2.3.1) install we wouldlike a fast way to enable or disable modules from vendors in 1 go. Either by the Vendor name or for a Subset of modules ...
user avatar
  • 5,312
4 votes
0 answers
218 views

How to solve Magento 2.3 Setup Version Errors

When running the command n98-magerun2 sys:setup:compare-versions I'm receiving the following errors: +-------------------------------------+---------+---------+---------+--------+ | Setup ...
user avatar
  • 650
2 votes
1 answer
473 views

How this InstallData works each line in Magento 2?

My questions: I want know how this works by each and every line of code I want to add new attribute here Difference between InstallData and InstallSchema Here is InstallData.php <?php ...
user avatar
  • 1,037
5 votes
1 answer
2k views

Specific order for patch

I'm new in Magento 2. I create several Patchs in Project/Module/Setup/Patch : Patch 1 Patch 2 Patch 3 I set all my patchs, one by one, with : php bin/magento setup:upgrade In DB, all it's OK : ...
user avatar
  • 894
4 votes
3 answers
7k views

Magento 2.3 : How to create product attribute via declarative schema?

How to create a product attribute in Magento 2.3 via declarative schema. I have tried below code but the input element is not visible on the form. <?php namespace Rokanthemes\Updates\Setup\Patch\...
user avatar
3 votes
1 answer
5k views

Magento 2 : Running magento 2 on windows using windows subsystem for Linux

Is there some good guide on how to use Linux subsystem provided with Windows 10 to set up and run Magento 2?
user avatar
  • 4,585
1 vote
1 answer
744 views

unable to update Magento to latest version from 2.2.4 to 2.3

I am trying to update Magento 2.2.4 to Magento 2.3 via composer but I am getting below error: Your requirements could not be resolved to an installable set of packages. Problem 1: - magento/...
user avatar
1 vote
1 answer
6k views

Magento 2 Setup error on latest xampp version 3.2.2

I've installed Xampp v.3.2.2 and downloaded Magento CE 2.2.4 & 2.3. but I am facing issue when installing them. I get the following error:: Fatal error: Uncaught Exception: Warning: "continue" ...
user avatar
2 votes
1 answer
118 views

Unable to install magento 2

I downloaded magento2 latest version from https://www.mageplaza.com/download-magento/#download. I pasted the unzipped folder to the htdocs of /Applications/MAMP/ When I started the mamp servers and ...
user avatar
1 vote
0 answers
175 views

how to remove setup page magento 2

I'm using 2.2.6, How to remove setup page magento 2 when installed after like http://xxxx.com/setup/index.php/session/unlogin thank you!
user avatar