by

Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
  • Jul 02 17:40

    mikemurray on trunk

    chore: use yalc for package lin… chore: use yalc update to keep … chore: add script to run yalc u… and 6 more (compare)

  • Jul 02 17:40
    mikemurray closed #6266
  • Jul 02 17:40
    mikemurray closed #6248
  • Jul 01 22:57
    mikemurray edited #6266
  • Jul 01 22:47
    mikemurray edited #6266
  • Jul 01 22:46
    mikemurray edited #6266
  • Jul 01 22:46
    mikemurray commented #6266
  • Jul 01 22:36
    mikemurray review_requested #6266
  • Jul 01 22:35
    mikemurray edited #6266
  • Jul 01 22:32
    mikemurray synchronize #6266
  • Jul 01 22:32

    mikemurray on chore-6248-mikemurray-fix-package-link-scripts

    chore: remove commented out cod… (compare)

  • Jul 01 22:31
    mikemurray synchronize #6266
  • Jul 01 22:31

    mikemurray on chore-6248-mikemurray-fix-package-link-scripts

    chore: remove yalc check Signe… feat: add yalc-packages file fo… chore: use v3 dev image Signed… and 1 more (compare)

  • Jul 01 01:59
    martavis labeled #6267
  • Jul 01 01:59
    martavis labeled #6267
  • Jul 01 01:59
    martavis opened #6267
  • Jun 30 22:23
    mikemurray edited #6266
  • Jun 30 22:23
    mikemurray edited #6266
  • Jun 30 22:13
    mikemurray synchronize #6266
  • Jun 30 22:13

    mikemurray on chore-6248-mikemurray-fix-package-link-scripts

    chore: add script to run yalc u… (compare)

erisvulgaris
@erisvulgaris
image.png
getting this error
at the beging
*begining
HarisSpahijaPon
@HarisSpahijaPon
You need to use docker to run reaction
erisvulgaris
@erisvulgaris
ok
HarisSpahijaPon
@HarisSpahijaPon
docker-compose up --build
erisvulgaris
@erisvulgaris
thanks for the help
HarisSpahijaPon
@HarisSpahijaPon
windows might be tricky
Vladimir Puz
@redscare
i have the same issues with 3.x update failed: Access denied. No allow validators set on restricted collection for method 'update'. git@github.com:/reactioncommerce/reaction-admin.git,reaction-admin,v3.0.0-beta.5
running on windows
Fakhriddin
@softerboy
Hi everyone. I installed reaction platform using reaction-development-platform. I have all done and works well, but I can't to login admin dashboard. So my question is what's the default email and password of admin user or how can I create new? I tried admin@localhost and r3@cti0n
Vladimir Puz
@redscare
@softerboy just register a new user on http://localhost:4080/
Fakhriddin
@softerboy
@redscare Thanks bro. En error occurs during registration. Error message: "The+request+is+missing+a+required+parameter,+includes+an+invalid+parameter+value,+includes+a+parameter+more+than+once,+or+is+otherwise+malformed"
IvanovRoman
@IvanovRoman
I am use Cygwin in Windows 10. How solve the problem of "ERROR: .UnicodeDecodeError: 'utf-8' codec can't decode byte 0xff in position 10:
invalid start byte
make: * [Makefile:209: build-reaction] Error 1
"
Vladimir Puz
@redscare
@IvanovRoman probably that's because of line endings.. re-save script files with windows line endings, and that should solve it
IvanovRoman
@IvanovRoman
@redscare I saved file with windows line endings. Error did not disappear.
Vladimir Puz
@redscare
@IvanovRoman not makefile itself... on line 209 it includes template from subproject..
Dmitry Motyl
@nectar1

Hi guys
Could you please explain purpose of this methods ?
make stop-<project-name>
make dev-link-<project-name>
make <start-project-name>

How I can use them ?

Dmitry Motyl
@nectar1
thanks but that doesn't describe usage flow
How I can debug it via VS Code for example
?
@HarisSpahijaPon
Loan Laux
@loan-laux
@nectar1 You’d have to do make dev-link-reaction to use the docker-compose.dev.yml file instead of the production-like one. Then, make sure to stop the reaction_api container by running make stop-reaction. And finally, go into your reaction directory and start the API like this to enable the debugger: docker-compose run --rm --service-ports reaction yarn run inspect --service-ports.
samkonix
@samkonix

Hi, I'm noob here, I trying to install reaction for testing but have an error :

Starting reaction-hydra_postgres_1 ... error                                                                                                                                                                                                                                    
ERROR: for reaction-hydra_postgres_1  Cannot start service postgres: AppArmor enabled on system but the docker-default profile could not be loaded: running `/usr/sbin/apparmor_parser apparmor_parser -Kr /var/lib/docker/tmp/docker-default214847281` failed with output: AppArmor parser error for /var/lib/docker/tmp/docker-default214847281 in /etc/apparmor.d/tunables/global at line 17: Could not open 'tunables/proc'

error: exit status 1

ERROR: for postgres  Cannot start service postgres: AppArmor enabled on system but the docker-default profile could not be loaded: running `/usr/sbin/apparmor_parser apparmor_parser -Kr /var/lib/docker/tmp/docker-default214847281` failed with output: AppArmor parser error for /var/lib/docker/tmp/docker-default214847281 in /etc/apparmor.d/tunables/global at line 17: Could not open 'tunables/proc'

I have node v12.16 and docker v19. Any idea what's going on?

And I am under ubuntu 19.10 server
samkonix
@samkonix
It was a system specific problem, I just created /etc/apparmor.d/tunables/proc and edit it :
@{PROC}=/proc/
Vigy
@vigyano
is there any deployment production deployment guide/setup for 3.0.0
It seems this deployment guide is outdated https://github.com/reactioncommerce/proxy-traefik/blob/master/docs/SimpleDeploymentGuide.md
Spencer Norman
@spencern
Hey @vigyano, one of our engineers @willopez is working on a guide for simple deployments with v3.0.0.
samkonix
@samkonix
it would be greatly appreciated. Nothing works for me, blank page for admin and Identity, error 404 for hydra
Alefe Mafra
@alefemafra
Hello, I was testing the integration tests (v 2.9), and is giving this error: "TypeError: _simplSchema.default.extendOptions is not a function", could someone help me?
In case this error is coming from the data-factory, when it imports "createFactoryForSchema"
Dmitry Motyl
@nectar1
@loan-laux thank for answer!
How to debug in this way
Loan Laux
@loan-laux
@samkonix @vigyano We (out:grow) are also working on updating our AWS ECS tutorial for 3.0… Stay tuned.
@alefemafra I’m wondering if your simpl-schema is at the right version… Can you try and reinstall your NPM packages?
@nectar1 Once you’ve done what I said, just connect whatever debugger you want (VS Code’s for example) to localhost:9229. It should work without any issue.
samkonix
@samkonix

Thanks @loan-laux .
I'm still testing.
I have not been able to run the development platform on a remote server, even by modifying the .env files
I am trying to get it to work on my windows laptop, but I get this error message:

sam@DESKTOP-UC7SSM5:~/reaction-development-platform$ make
Error response from daemon: network with name reaction.localhost already exists
Removed docker.exe development symlink for reaction-hydra
Running pre-build hook script for reaction-hydra.
reaction-hydra post-project-start script invoked.
ERROR:
        Can't find a suitable configuration file in this directory or any
        parent. Are you in the right directory?

        Supported filenames: docker-compose.yml, docker-compose.yaml

make: *** [Makefile:209: build-reaction-hydra] Error 1

I'm trying to see why. The docker-compose.yml file exists. It is not easy I am not familiar with node and docker. I learn :)

samkonix
@samkonix
just for information, I have installed node for windows and follow this tutorial for the docker installation and it works :
https://nickjanetakis.com/blog/setting-up-docker-for-windows-and-wsl-to-work-flawlessly
John Tronolone
@johntronolone
Hello. I'm following this guide https://github.com/reactioncommerce/proxy-traefik/blob/master/docs/SimpleDeploymentGuide.md and I have the example-storefront up and running. When I try to create an account, it just displays Cannot GET /. I'm new to docker and reactioncommerce so I'm not entirely sure where the issue is but I believe it has something to do with hydra. Would someone be able to take a look at these logs from the hydra startup and confirm whether or not this issue is indeed with hydra?
john@ubuntu-s-2vcpu-4gb-nyc3-01:~/reaction-platform/reaction-hydra$ docker-compose up
Starting reaction-hydra_postgres_1 ... done
Starting reaction-hydra_hydra-migrate_1 ... done
Starting reaction-hydra_hydra_1         ... done
Attaching to reaction-hydra_postgres_1, reaction-hydra_hydra-migrate_1, reaction-hydra_hydra_1
hydra-migrate_1  | Config file not found because "Config File ".hydra" Not Found in "[/]""
hydra-migrate_1  | time="2020-02-19T19:53:13Z" level=info msg="No tracer configured - skipping tracing setup"
hydra-migrate_1  | time="2020-02-19T19:53:13Z" level=info msg="Establishing connection with SQL database backend" dsn="postgres://*:*@postgres.reaction.localhost:5432/hydra?sslmode=disable"
hydra-migrate_1  | time="2020-02-19T19:53:13Z" level=info msg="Successfully connected to SQL database backend" dsn="postgres://*:*@postgres.reaction.localhost:5432/hydra?sslmode=disable"
hydra-migrate_1  | The following migration is planned:
hydra-migrate_1  | 
hydra-migrate_1  | | DRIVER | MODULE | ID | # |        QUERY         |
hydra-migrate_1  | |--------|--------|----|---|----------------------|
hydra-migrate_1  | |--------|--------|----|---|----------------------|
hydra-migrate_1  | Successfully applied 0 SQL migrations!
postgres_1       | 2020-02-19 19:53:12.001 UTC [1] LOG:  listening on IPv4 address "0.0.0.0", port 5432
postgres_1       | 2020-02-19 19:53:12.001 UTC [1] LOG:  listening on IPv6 address "::", port 5432
postgres_1       | 2020-02-19 19:53:12.011 UTC [1] LOG:  listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432"
postgres_1       | 2020-02-19 19:53:12.041 UTC [24] LOG:  database system was shut down at 2020-02-19 19:51:49 UTC
postgres_1       | 2020-02-19 19:53:12.050 UTC [1] LOG:  database system is ready to accept connections
reaction-hydra_hydra-migrate_1 exited with code 0
hydra_1          | Config file not found because "Config File ".hydra" Not Found in "[/]""
hydra_1          | time="2020-02-19T19:53:14Z" level=info msg="No tracer configured - skipping tracing setup"
hydra_1          | time="2020-02-19T19:53:14Z" level=info msg="Establishing connection with SQL database backend" dsn="postgres://*:*@postgres.reaction.localhost:5432/hydra?sslmode=disable"
hydra_1          | time="2020-02-19T19:53:14Z" level=info msg="Successfully connected to SQL database backend" dsn="postgres://*:*@postgres.reaction.localhost:5432/hydra?sslmode=disable"
hydra_1          | Thank you for using ORY Hydra v1.0.8+oryOS.12!
hydra_1          | 
hydra_1          | Take security seriously and subscribe to the ORY Security Newsletter. Stay on top of new patches and security insights.                                                                                                
hydra_1          | 
hydra_1          | >> Subscribe now: http://eepurl.com/di390P <<
hydra_1          | time="2020-02-19T19:53:14Z" level=info msg="Software quality assurance features are enabled. Learn more at: https://www.ory.sh/docs/ecosystem/sqa"
hydra_1          | time="2020-02-19T19:53:14Z" level=info msg="Setting up http server on :4445"
hydra_1          | time="2020-02-19T19:53:14Z" level=warning msg="HTTPS disabled. Never do this in production."
hydra_1          | time="2020-02-19T19:53:14Z" level=info msg="Setting up http server on :4444"
hydra_1          | time="2020-02-19T19:53:14Z" level=warning msg="HTTPS disabled. Never do this in production."
These are the hydra logs for when I click create account from the example-storefront:
hydra_1          | time="2020-02-19T19:54:35Z" level=info msg="started handling request" method=GET remote=173.54.55.65 request="/oauth2/auth?loginAction=signup&response_type=code&redirect_uri=https%3A%2F%2Fstorefront.patchamp-store.com%2Fcallback&scope=offline%20openid&state=xNuqnfxrB1FI9Xytuegj8reE&client_id=example-storefront"
hydra_1          | time="2020-02-19T19:54:35Z" level=info msg="completed handling request" measure#hydra/public: https://hydra.patchamp-store.com/.latency=12263330 method=GET remote=173.54.55.65 request="/oauth2/auth?loginAction=signup&response_type=code&redirect_uri=https%3A%2F%2Fstorefront.patchamp-store.com%2Fcallback&scope=offline%20openid&state=xNuqnfxrB1FI9Xytuegj8reE&client_id=example-storefront" status=302 text_status=Found took=12.26333ms
Spencer Norman
@spencern
@johntronolone that guide was written for version 2.x of Reaction and has not yet been updated for v3.0
Will Lopez
@willopez
@johntronolone As Spencer mentioned, that guide is outdated. Planning on updating soon, stay tuned.
Karbal
@karbal
Hello, i am ask if the last version v3.0.0 support the multiplestore . Thanks
John Tronolone
@johntronolone
I was able to get it deployed on v3.0 by
  1. setting the appropriate environment variables on these pages: https://docs.reactioncommerce.com/docs/next/upgrading and https://docs.reactioncommerce.com/docs/next/environment-variables
  2. creating docker-compose.override.yml files for reaction-identity and reaction-admin
  3. adding the necessary A DNS records for admin and identity
Vladimir Puz
@redscare
Has anyone found a way to fix error "update failed: Access denied. No allow validators set on restricted collection for method 'update'"
Loan Laux
@loan-laux
@redscare When does that happen and are you using the latest version?
Vladimir Puz
@redscare
@loan-laux it is happening when i am trying to change any value in Shop Localization
i am using latest reaction-development-platform (trunk).
reaction-admin is beta5