Giter Club home page Giter Club logo

Comments (9)

wash34000 avatar wash34000 commented on September 18, 2024

I've tried the same config with rsync instead of nfs and the admin page is working with no more 404 error page.
I think this is error come with file permission of nfs settings but i don't know how to check that.

from magento2-fast-vm.

zepgram avatar zepgram commented on September 18, 2024

Do you have 'admin' => 'DSFgSsS45' in your app/etc/env.php ?
You can check nginx log to get more info.

I'll try on my side with NFS.

from magento2-fast-vm.

wash34000 avatar wash34000 commented on September 18, 2024

yes i have it on app/etc/env.php.

/var/log/nginx/magento.access.log
/var/log/nginx/magento.error.log
stay empty all times so i cannot debug the admin errors ...

from magento2-fast-vm.

wash34000 avatar wash34000 commented on September 18, 2024

Another details :
when i run permission with mount set as nfs it take 0 second to run without any console return information.
when i run permission with mount set as rsync it take long time (normal time to reset all permission) and return "Applying permissions to /home/vagrant/magento".

If this could help you !

from magento2-fast-vm.

zepgram avatar zepgram commented on September 18, 2024

Yep, it's because I made a check to skip permissions on NFS because they are not editable: https://github.com/zepgram/magento2-fast-vm/blob/master/provision/100-magento-pre.sh#L47

from magento2-fast-vm.

wash34000 avatar wash34000 commented on September 18, 2024

I understand that they are not editable but are they correct for all folder ?
With NFS i have no admin page / wrong cache folder image link / no log writted.

How can i help you ?

from magento2-fast-vm.

zepgram avatar zepgram commented on September 18, 2024

Could you check the value in db of:
SELECT * FROM core_config_data WHERE path = 'web/seo/use_rewrites'

Set the value to 0, you can also disable it from back-office.
Once it's done you should be able to access it this way: dev.xxxxxxxxx.com/index.php/admin

Not ideal, but this should work I guess.

from magento2-fast-vm.

wash34000 avatar wash34000 commented on September 18, 2024

I already try this without success. Like i cannot check logs i cannot debug it ...

from magento2-fast-vm.

zepgram avatar zepgram commented on September 18, 2024

I reinstalled the project and I'm able to login in back-office :
image

Did you try to login in private navigation ? Sometimes navigator cookie force the redirection.

And could you confirm that your /etc/hosts is pretty similar to this ?
192.168.200.50 dev.magento.com

from magento2-fast-vm.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.