cr:projectionReplayAll is not working for me:
This will replay all projections in "default", which may take some time. Are you sure to proceed? (y/n) y
Replaying events for all projections of Content Repository "default" ...
3/3 [████████████████████████████] 100% 1 min, 3 secs/1 min, 3 secs 72.0 MiB
doctrineDbalContentGraph - 28562/230334 [===>------------------------] 12% 5 mins, 48 secs/46 mins, 46 secs 88.0 MiB
Neos\Neos\AssetUsage\Service\AssetUsageIndexingService_Original::removeIndexForNode(): Argument #2 ($node) must be of type Neos\ContentRepository\Core\Projection\ContentGraph\Node, null given, called in /Data/Temporary/Development/Cache/Code/Flow_Object_Classes/Neos_Neos_AssetUsage_CatchUpHook_AssetUsageCatchUpHook.php on line 127
Type: TypeError
File: Data/Temporary/Development/Cache/Code/Flow_Object_Classes/Neos_Neos_AssetUs
age_Service_AssetUsageIndexingService.php
Line: 174
Additionally, I found this Exception:
Exception in line 127 of /Data/Temporary/Development/Cache/Code/Flow_Object_Classes/Neos_Neos_AssetUsage_CatchUpHook_AssetUsageCatchUpHook.php: Neos\Neos\AssetUsage\Service\AssetUsageIndexingService_Original::removeIndexForNode(): Argument #2 ($node) must be of type Neos\ContentRepository\Core\Projection\ContentGraph\Node, null given, called in /Data/Temporary/Development/Cache/Code/Flow_Object_Classes/Neos_Neos_AssetUsage_CatchUpHook_AssetUsageCatchUpHook.php on line 127
18 Neos\Neos\AssetUsage\Service\AssetUsageIndexingService_Original::removeIndexForNode(ContentRepositoryId|default|, NULL)
17 Neos\Neos\AssetUsage\CatchUpHook\AssetUsageCatchUpHook_Original::removeNodes(WorkspaceName|live|, NodeAggregateId|04ca6743-710d-459d-81a0-5eeb906ae20f|, DimensionSpacePointSet|[{"language":"de"}]|)
16 Neos\Neos\AssetUsage\CatchUpHook\AssetUsageCatchUpHook_Original::onBeforeEvent(NodeAggregateWasRemoved|{"workspaceName":"live","contentStreamId":"5b40481f-8c5a-4fe5-965b-ceee3bfdf49c","nodeAggregateId":"…|, EventEnvelope|{"event":{"id":{"value":"31192a11-a3d3-43c8-bbf3-22f89a16339a"},"type":{"value":"NodeAggregateWasRem…|)
15 Neos\ContentRepository\Core\Projection\DelegatingCatchUpHook::onBeforeEvent(NodeAggregateWasRemoved|{"workspaceName":"live","contentStreamId":"5b40481f-8c5a-4fe5-965b-ceee3bfdf49c","nodeAggregateId":"…|, EventEnvelope|{"event":{"id":{"value":"31192a11-a3d3-43c8-bbf3-22f89a16339a"},"type":{"value":"NodeAggregateWasRem…|)
14 Neos\ContentRepository\Core\ContentRepository::Neos\ContentRepository\Core\{closure}(EventEnvelope|{"event":{"id":{"value":"31192a11-a3d3-43c8-bbf3-22f89a16339a"},"type":{"value":"NodeAggregateWasRem…|)
13 Neos\ContentRepository\Core\Projection\CatchUp::run(Neos\EventStore\Helper\BatchEventStream)
12 Neos\ContentRepository\Core\ContentRepository::catchUpProjection("Neos\ContentGraph\DoctrineDbalAdapter\DoctrineDbalContentGraphProjection", CatchUpOptions|{"maximumSequenceNumber":null,"progressCallback":{}}|)
11 Neos\ContentRepositoryRegistry\Service\ProjectionReplayService::replayAllProjections(CatchUpOptions|{"maximumSequenceNumber":null,"progressCallback":{}}|, Closure)
10 Neos\ContentRepositoryRegistry\Command\CrCommandController_Original::projectionReplayAllCommand("default", false, false, 0)
9 Neos\Flow\Cli\CommandController_Original::callCommandMethod()
8 Neos\Flow\Cli\CommandController_Original::processRequest(Neos\Flow\Cli\Request, Neos\Flow\Cli\Response)
7 Neos\Flow\Cli\Dispatcher_Original::dispatch(Neos\Flow\Cli\Request, Neos\Flow\Cli\Response)
6 Neos\Flow\Cli\CommandRequestHandler::Neos\Flow\Cli\{closure}()
5 Closure::__invoke()
4 Neos\Flow\Security\Context_Original::withoutAuthorizationChecks(Closure)
3 Neos\Flow\Cli\CommandRequestHandler::handleRequest()
2 Neos\Flow\Core\Bootstrap::run()
1 require("/Packages/Framework/Neos.Flow/Scripts/flow.php")
# 0.) backup the events (cr_default_events)
./flow migrateevents:backup
# 1.) mark dangling content streams as removed (temporary ones and ones that are no longer in use)
./flow contentStream:removeDangling
# 2.) prune removed content streams that are not required for a full replay to work
./flow contentStream:pruneRemovedFromEventStream
# 3.) replay all projections
./flow cr:projectionReplayAll
Okay, I decided to wait for the release infos. Logging in to the backend works for me and afterwards my frontend displays the site, as I’m authenticated. But my backend throws a “Call to undefined method Neos\Neos\Domain\Service\WorkspaceService::getWorkspacePermissionsForUser()” - I’ll look into it in the evening
Thank you. It’s working now. The problem in removeNodes() seems to be resolved. The problem in whenNodePropertiesWereSet() still exists with my setup:
/Packages/Libraries/neos/contentrepository-core/Classes/ContentRepository.php: Exception while catching up to sequence number 218137: Cannot update node with copy on write since no anchor point could be resolved for node 5b686d29-c990-42bc-8d37-5bebf4512681 in content stream 5b40481f-8c5a-4fe5-965b-ceee3bfdf49c
13 Neos\ContentRepository\Core\Projection\CatchUp::run(Neos\EventStore\Helper\BatchEventStream)
12 Neos\ContentRepository\Core\ContentRepository::catchUpProjection("Neos\ContentGraph\DoctrineDbalAdapter\DoctrineDbalContentGraphProjection", Neos\ContentRepository\Core\Projection\CatchUpOptions)
11 Neos\ContentRepositoryRegistry\Service\ProjectionService::replayAllProjections(Neos\ContentRepository\Core\Projection\CatchUpOptions, Closure)
10 Neos\ContentRepositoryRegistry\Command\CrCommandController_Original::projectionReplayAllCommand("default", false, false, 0)
9 Neos\Flow\Cli\CommandController_Original::callCommandMethod()
8 Neos\Flow\Cli\CommandController_Original::processRequest(Neos\Flow\Cli\Request, Neos\Flow\Cli\Response)
7 Neos\Flow\Cli\Dispatcher_Original::dispatch(Neos\Flow\Cli\Request, Neos\Flow\Cli\Response)
6 Neos\Flow\Cli\CommandRequestHandler::Neos\Flow\Cli\{closure}()
5 Closure::__invoke()
4 Neos\Flow\Security\Context_Original::withoutAuthorizationChecks(Closure)
3 Neos\Flow\Cli\CommandRequestHandler::handleRequest()
2 Neos\Flow\Core\Bootstrap::run()
1 require("/Packages/Framework/Neos.Flow/Scripts/flow.php")
Previous exception: Exception #1645303332 in line 224 of /Packages/Libraries/neos/contentgraph-doctrinedbaladapter/src/DoctrineDbalContentGraphProjection.php: Cannot update node with copy on write since no anchor point could be resolved for node 5b686d29-c990-42bc-8d37-5bebf4512681 in content stream 5b40481f-8c5a-4fe5-965b-ceee3bfdf49c
16 Neos\ContentGraph\DoctrineDbalAdapter\DoctrineDbalContentGraphProjection::whenNodePropertiesWereSet(Neos\ContentRepository\Core\Feature\NodeModification\Event\NodePropertiesWereSet, Neos\EventStore\Model\EventEnvelope)
15 Neos\ContentGraph\DoctrineDbalAdapter\DoctrineDbalContentGraphProjection::apply(Neos\ContentRepository\Core\Feature\NodeModification\Event\NodePropertiesWereSet, Neos\EventStore\Model\EventEnvelope)
14 Neos\ContentRepository\Core\ContentRepository::Neos\ContentRepository\Core\{closure}(Neos\EventStore\Model\EventEnvelope)
13 Neos\ContentRepository\Core\Projection\CatchUp::run(Neos\EventStore\Helper\BatchEventStream)
12 Neos\ContentRepository\Core\ContentRepository::catchUpProjection("Neos\ContentGraph\DoctrineDbalAdapter\DoctrineDbalContentGraphProjection", Neos\ContentRepository\Core\Projection\CatchUpOptions)
11 Neos\ContentRepositoryRegistry\Service\ProjectionService::replayAllProjections(Neos\ContentRepository\Core\Projection\CatchUpOptions, Closure)
10 Neos\ContentRepositoryRegistry\Command\CrCommandController_Original::projectionReplayAllCommand("default", false, false, 0)
9 Neos\Flow\Cli\CommandController_Original::callCommandMethod()
8 Neos\Flow\Cli\CommandController_Original::processRequest(Neos\Flow\Cli\Request, Neos\Flow\Cli\Response)
7 Neos\Flow\Cli\Dispatcher_Original::dispatch(Neos\Flow\Cli\Request, Neos\Flow\Cli\Response)
6 Neos\Flow\Cli\CommandRequestHandler::Neos\Flow\Cli\{closure}()
5 Closure::__invoke()
4 Neos\Flow\Security\Context_Original::withoutAuthorizationChecks(Closure)
3 Neos\Flow\Cli\CommandRequestHandler::handleRequest()
2 Neos\Flow\Core\Bootstrap::run()
1 require("/Packages/Framework/Neos.Flow/Scripts/flow.php")
[array] =>
previousException:
[string] => Exception #1645303332 in line 224 of /Packages/Libraries/neos/contentgraph-doctrinedbaladapter/src/DoctrineDbalContentGraphProjection.php: Cannot update node with copy on write since no anchor point could be resolved for node 5b686d29-c990-42bc-8d37-5bebf4512681 in content stream 5b40481f-8c5a-4fe5-965b-ceee3bfdf49c