Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Activity
    Rajan Shah
    @rajanshahsa
    image.png
    I am getting this error. Can anyone help me ASAP?
    Loan Laux
    @loan-laux
    @rajanshahsa The reaction CLI has been deprecated for a while. You should use reaction-development-platform instead: http://github.com/reactioncommerce/reaction-development-platform
    Rajan Shah
    @rajanshahsa
    Ohh. Thank you @loan-laux . Let me try this.
    Keshav Bist
    @dSquadAdmin
    How do i set up default reaction admin in development mode?
    Thanks in advance
    Loan Laux
    @loan-laux
    @dSquadAdmin Within your root reaction-development-platform directory, run make dev-link-reaction-admin
    Then restart the admin container
    Julien QUENNEHEN
    @JulienQHN
    Hi, i succeeded to install the Reaction-dev-platform on a unbuntu bionic64 Virtual Machine, the "make init-dev" was working and my containers running corectly, i tried to make a new installation after deleting the previous one and now i have my "reaction-admin_reaction-admin_1" crashing like this : "Failed to reset plugins file at /usr/local/src/app/client/plugins.js", sometimes its making crash others containers like the identity one. Anyone has an idea ? Thanks
    Casdfsdfpture.JPG
    Julien QUENNEHEN
    @JulienQHN
    @loan-laux Did you know anything about this error recently ? Since the last update maybee ? Thanks
    Eduard-Hasa
    @Eduard-Hasa
    @JulienQHN Check linux file owner permissions
    if you are using a linux virtual machine because you thought that was the only option to install reaction on windows I would recommend you choose an alternative route which is using WSL 2.0. In my opinion that's a much more efficient setup as you don't need a whole virtual machine taking up more resources than it needs to.
    If you are on windows here is something I put together a while ago if its of any help. This was roughly put together so please do your own research.
    1. Setup WSL 2.0 and docker (https://docs.microsoft.com/en-us/windows/wsl/install-win10) and Docker Desktop for windows (https://docs.docker.com/docker-for-windows/install/) and Docker Desktop for WSL 2.0 (https://docs.docker.com/docker-for-windows/wsl/)
    2. open ubuntu app and cd to home directory (very important that you use a wsl directory and not a windows directory).
    3. use git clone commands for reaction development platform
    4. cd to the reaction-development-platform folder 5. run sudo make init-dev command
    5. once done run the command to fix permissions (my wsl username is reaction so modify your command accordingly "sudo chown -R reaction:reaction /home/reaction/reaction-development-platform" and "sudo chown -R reaction:reaction /home/reaction/reaction-development-platform/*"
    6. Make sure all your directories have your primary wsl user as the owner with the following command "ls -la"... if there is any that say root:root you can always use the commands from above to change the owner.
    7. Use visual studio code as your IDE and download the extension Remote Development (https://marketplace.visualstudio.com/items?itemName=ms-vscode-remote.vscode-remote-extensionpack). Remote development allows you to work inside the wsl file directory enabling a seamless development experience with git extensions and debugging.
    Julien QUENNEHEN
    @JulienQHN

    @JulienQHN Check linux file owner permissions

    Thanks ! i will take a look to this, and like you can see the permissions seems ok, the strange this is like "vagrant" il the default user for "example-storefront" and "reaction", aniway i tested with vagrant for all and with root for all and its not working, i will continue to look at. Regards

    Capsdfsdfsdfsdfture.JPG
    Eduard-Hasa
    @Eduard-Hasa
    sudo chown -R vagrant:vagrant /home/vagrant/reaction-development-platform
    sudo chown -R vagrant:vagrant /home/vagrant/reaction-development-platform/*
    ofcourse that is assuming that your reaction-development-platform is in the home directory for the vagrant user
    Julien QUENNEHEN
    @JulienQHN
    yes i tryed that already but not in the good folders .. thanks a lot its working ! I will modifiy my vagrant now. As i said the idea his just to deploy with specific Linux VM by a simple "vagrant up" and connect to it with My local Visual Studio Code, Regards
    Nathan
    @NateTsg
    Hello, I set the Mongo ur l in the .env as specified in the doc but it is still using the default, does anyone know how I can set it?
    Eduard-Hasa
    @Eduard-Hasa
    @JulienQHN glad to help! Everyone has different environment preferences as long as you consider all your options and settle with what works best for you.
    @NateTsg for which project? Storefront?
    Nathan
    @NateTsg
    @Eduard-Hasa for reaction (the api) i went through the code ReactionApiCore and the .env is not loaded
    Eduard-Hasa
    @Eduard-Hasa
    Are you just trying to setup the development platform?
    Allegany
    @Allegany
    Hi! I have some problem running reaction in development mode. I can run "make" and everything works as expected but when I then type "make dev-reaction" for entering to development-mode I get the following error I can't seem to bypass: "ln: failed to create symbolic link 'docker-compose.override.yml': No such file or directory
    make: * [Makefile:316: dev-link-reaction] Error 1" Can anyone please help me to locate what I'm doing wrong?
    Loan Laux
    @loan-laux
    @Allegany cd into your reaction directory and run ln -s docker-compose.dev.yml docker-compose.override.yml. Do you get an error when doing so?
    Allegany
    @Allegany
    @loan-laux Yes, I get the same exact error when I run that command inside reaction directory. In my reaction folder I have one docker-compose.dev.yml and one docker-compose.yml. But no docker-compose.override.yml. This is correct?
    Loan Laux
    @loan-laux
    Yes, that’s correct. The ln command is supposed to create docker-compose.override.yml (as a symlink pointing to docker-compose.dev.yml).
    It shouldn’t complain about docker-compose.override.yml not existing, because it’s supposed to create that exact file.
    Which OS are you running, @Allegany?
    Allegany
    @Allegany
    Windows 10 Education - 64-bit
    Loan Laux
    @loan-laux
    Are you running your commands inside WSL 2?
    Allegany
    @Allegany
    Hm, no I should? I have earlier tried to change the settings inside Docker to test both to use WSL 2 based engine or not just to try something.
    Loan Laux
    @loan-laux
    Yes, you should run the commands inside WSL 2. The Makefile uses Linux commands (like ln), and these can either not work at all or work differently through the Windows terminal.
    I realized this should have been mentionned on the quick start guide, so I’ve submitted a GitHub issue to track that. reactioncommerce/docs#1
    Allegany
    @Allegany
    Oh! Silly of me not to realize this. Now everything is working. Thanks for the help!
    Loan Laux
    @loan-laux
    @Allegany Well, hard to blame you if the quick start guide doesn’t mention it. We’ll try to fix this so as to not confuse too many people. Thanks for reporting it, and enjoy your tour of Open Commerce!
    Rajeev Nair U
    @rajeevmemo
    How can i run the api from outside of docker with mongodb replicaset disabled. I am not able to replicate mongodb in my local windows system and i read somewhere that replica need to be created for production only
    Loan Laux
    @loan-laux
    @rajeevmemo Are you running your containers through WSL?
    Janus Reith
    @janus-reith

    @rajeevmemo Even a single node of mongogb is able to initate a replicaset, although it certainly doesnt provide replication benefits at that point. I think the main reason of the replicaset mode was being to query the mongodb oplog which Meteor used to do, and Reaction used to rely on these features of Meteor.

    I'm not aware of specific contraints on windows though that would prevent you from running rs.initiate() in your mongodb node and use it as a replicaset?

    Rajeev Nair U
    @rajeevmemo
    @janus-reith Thank you for the replies. I got replicaset to work in my local system now. I am also able to run api locally without docker.
    @loan-laux I am actually trying to work with reaction commerce without docker. Just trying to get all the services to work individually in my local system , as i wont be able to run through docker in my production setup.
    Loan Laux
    @loan-laux
    Good to hear you’ve managed to start it, @rajeevmemo
    Rajeev Nair U
    @rajeevmemo
    @loan-laux Thanks for the replies and support. Hoping for the same in the future also as i there is a great scope to encounter some issues later
    JR
    @rblackfox
    Where did the reaction website, documentation, & blog tutorials etc go? I was under the impression Reaction commerce was still going to be an external project to Mailchimp, that seems no be the case...? All that good information is now just gone...?
    Akarshit Wal
    @Akarshit
    Hello everyone!
    This is Akarshit from Mailchimp and I had a news to share with you all. We are officially moving off Gitter and will be migrating to Discord.
    Here is the invite to the server: https://discord.gg/Bwm63tBcQY
    I request you all to deprecate this channel and move conversations to the Discord server.
    Loan Laux
    @loan-laux
    @rblackfox The old docs are still available on GitHub. I belive the blog is gone for good now, though. But it should still be available from the Wayback Machine.
    Loan Laux
    @loan-laux
    I will not be answering questions on Gitter anymore. Let’s all move to Discord, as @Akarshit said. https://discord.gg/Bwm63tBcQY