kind-knife-79323
11/09/2021, 1:10 PM10 silly lifecycle alles.auto@~yves: Args: [ '-c', 'run-s "yves:development:* -- {@}" --' ]
11 silly lifecycle alles.auto@~yves: Returned: code: 1 signal: null
12 info lifecycle alles.auto@~yves: Failed to exec yves script
13 verbose stack Error: alles.auto@ yves: `run-s "yves:development:* -- {@}" --`
13 verbose stack Exit status 1
13 verbose stack at EventEmitter.<anonymous> (/usr/local/lib/node_modules/npm/node_modules/npm-lifecycle/index.js:332:16)
13 verbose stack at EventEmitter.emit (events.js:315:20)
13 verbose stack at ChildProcess.<anonymous> (/usr/local/lib/node_modules/npm/node_modules/npm-lifecycle/lib/spawn.js:55:14)
13 verbose stack at ChildProcess.emit (events.js:315:20)
13 verbose stack at maybeClose (internal/child_process.js:1021:16)
13 verbose stack at Process.ChildProcess._handle.onexit (internal/child_process.js:286:5)
14 verbose pkgid alles.auto@
15 verbose cwd /var/www/html/skryper/avag
16 verbose Linux 5.4.0-89-generic
17 verbose argv "/usr/local/bin/node" "/usr/local/bin/npm" "run" "yves"
18 verbose node v12.18.3
19 verbose npm v6.14.6
20 error code ELIFECYCLE
21 error errno 1
22 error alles.auto@ yves: `run-s "yves:development:* -- {@}" --`
22 error Exit status 1
23 error Failed at the alles.auto@ yves script.
23 error This is probably not a problem with npm. There is likely additional logging output above.
24 verbose exit [ 1, true ]
kind-knife-79323
11/09/2021, 2:29 PMincalculable-van-2330
11/09/2021, 10:17 PMrich-solstice-79518
11/10/2021, 5:08 AMpurple-forest-91115
11/10/2021, 8:14 AMbored-quill-76197
11/10/2021, 3:17 PMquaint-midnight-78937
11/11/2021, 8:23 AM$jobs[] = [
'name' => 'daily-reports',
'command' => '$PHP_BIN vendor/bin/console sales-reporting:reports -vvv',
'schedule' => '0 5 * * 0-6',
'enable' => true,
'stores' => ['DE'],
'run_on_non_production' => false,
];
Having set the property run_on_non_production
to false
, I assume that this shouldn't run on my local environment and yet it does.
Any thoughts what's wrong here?thousands-postman-15049
11/12/2021, 9:04 AMmysterious-ambulance-11183
11/12/2021, 9:33 AMbest-sundown-96727
11/16/2021, 9:42 AMrough-scientist-68683
11/16/2021, 1:25 PMPageMapExpanderPlugins
, for example one that implements \Spryker\Zed\ProductPageSearch\Dependency\Plugin\ProductPageMapExpanderInterface
. This one is deprecated without a replacement and now I wonder what I need to do with such plugins.
I tried to find some hints in the documentation and in the migration guide but didn't find anything helpful. Does anyone have a hint for me where to look or what to do with the PageMapExpanderPlugins?calm-controller-74059
11/16/2021, 2:59 PM{{ app.request.getSchemeAndHttpHost }}
mammoth-painting-63509
11/16/2021, 5:42 PMnew
to paid
with the condition IsPaid
. The oms:check-condition
starts to check the condition for the first item, but it's false
at this moment. The process picks the next item. In the meantime, the notification arrived and suddenly all remaining items from that order are in the paid
state, but the first one is still in new
. Any ideas on how to solve this?
I already tried to couple that condition with an empty command that implements CommandByOrderInterface
, but this does not work as expected.rough-scientist-68683
11/17/2021, 10:39 AM\Spryker\Zed\ProductLabel\Business\Label\LabelReaderInterface
. It looks to me that it's basically replaced by the \Spryker\Zed\ProductLabel\Persistence\ProductLabelRepositoryInterface
(have a look here) .
I wonder why this proxy was removed since from what I know it's a common practice to use a reader/writer/updater in between. Furthermore, the LabelCreator, LabelDeleter and LabelUpdater still exist.
Should I now use the Repository directly in the business class that formerly used the LabelReader?rough-egg-5359
11/17/2021, 12:08 PMrough-egg-5359
11/17/2021, 12:09 PMmysterious-king-59256
11/18/2021, 8:00 AM\PyzAcceptanceTest\Shared\Testify\Helper\Environment
 in the PyzAcceptanceTest\Glue\ExampleModuleRestApi
). Not sure how it works with modules from vendor (eg \SprykerTest\Glue\GlueApplication\Helper\GlueBootstrap
). Do you know how to deal with this?mysterious-ambulance-11183
11/18/2021, 10:13 AMkind-knife-79323
11/21/2021, 4:14 PM<?php
namespace Pyz\Zed\HelloSpryker\Communication\Controller;
use Spryker\Zed\Kernel\Communication\Controller\AbstractController;
use Symfony\Component\HttpFoundation\Request;
class IndexController extends AbstractController
{
/**
* @param \Symfony\Component\HttpFoundation\Request $request
*
* @return array
*/
public function indexAction(Request $request)
{
return ['string' => 'Test modal!'];
}
}
3-Create index.twig in src/Pyz/Zed/HelloSpryker/Presentation/Index/index.twig
{% extends '@Gui/Layout/layout.twig' %}
{% block content %}
{{ string }}
{% endblock %}
But when i want to get result in http://yves.us.spryker.local/hello-spryker i get an error
NotFoundHttpException
No route found for "GET http://backoffice.us.spryker.local/hello-spryker"
Also i clear cache
cache:empty-all and yves routercachewarm-up
what's my wrong?purple-forest-91115
11/23/2021, 6:04 AMhundreds-flower-81270
11/23/2021, 12:47 PM/**
* Global timezone used to for underlying data, timezones for presentation layer can be changed in stores configuration
*
* @deprecated Will be removed without replacement.
*
* @api
*/
public const PROJECT_TIMEZONE = 'PROJECT_TIMEZONE';
What am I supposed to use instead?
Background: The queries for the sales statistic dashboard don't translate to our local time zone (while order reference date and order times are correct in our timezone).aloof-advantage-27856
11/23/2021, 1:22 PMcolossal-alligator-85110
11/24/2021, 10:19 AMmammoth-autumn-37948
11/24/2021, 11:52 AM// ---------- Queue
$config[QueueConstants::QUEUE_ADAPTER_CONFIGURATION_DEFAULT] = [
QueueConfig::CONFIG_QUEUE_ADAPTER => RabbitMqAdapter::class,
QueueConfig::CONFIG_MAX_WORKER_NUMBER => 12,
];
$config[QueueConstants::QUEUE_ADAPTER_CONFIGURATION][ProductPageSearchConfig::PUBLISH_PRODUCT_ABSTRACT_PAGE][QueueConfig::CONFIG_MAX_WORKER_NUMBER] = 6;
As u see I defined a specific CONFIG_MAX_WORKER_NUMBER
for queue PUBLISH_PRODUCT_ABSTRACT_PAGE
because it has an high usage of memory (known issue!).
Since this configuration the worker does not start more the task event for this specific queue.
I debugged \Spryker\Zed\Queue\Business\Worker\Worker::startProcesses
to see if the right number of maxWorkerNumbers is read and calculated and everything is fine, but no processes are started.
Can anyone help me to understand the problem? Thank u in advance.!!!better-controller-5205
11/26/2021, 8:31 AMbest-sundown-96727
11/26/2021, 10:20 AMkind-tiger-22841
11/27/2021, 6:53 PMmysterious-ambulance-11183
11/29/2021, 1:59 PMbetter-controller-5205
11/29/2021, 3:09 PM{
"data": {
"type": "agent-access-tokens",
"attributes": {
"username": "_{{admin_username}}_",
"password": "_{{admin_password}}_"
}
}
}
As resonse I get 401
{"errors":[{"code":"4101","status":401,"detail":"Failed to authenticate an agent."}]}
After some searching in the code, I found out that the error core 4101 means “invalid credentials”.
Is there any way to get deeper in the analysis, why this happens?mysterious-alarm-44228
11/30/2021, 11:00 AMconsole sync:data
Any idea how I can snych the data without running console sync:data