[Neos] TYPO3-Neos "Could not lock file" error on hosting platform
Richard Marchant
richard.marchant at gandi.net
Tue Apr 14 00:02:12 CEST 2015
When attempting to install TYPO3-Neos using either the packaged .zip or with composer, I receive the following error "Could not lock file" in the web browser.
The Lock directory is filled with about ~1500 files. What could be causing this error? I have tested the ability to lock files with php with the following code:
<?php
$fp = fopen("foo.txt", "w");
if (flock($fp, LOCK_EX)) {
print "Got lock!\n";
sleep(10);
flock($fp, LOCK_UN);
}
?>
Below is the stack trace - any ideas?
Uncaught Exception: TYPO3\Flow\Utility\Exception\LockNotAcquiredException
Message
Could not lock file
"/srv/data/web/vhosts/0b0071d70e.test-url.ws/htdocs/Neos-1.2.3/Data/Temporary/Development/Lock/cae0b14308b54f773954a010550416cb"
More Information
Exception code 1386520597
File Packages/Framework/TYPO3.Flow/Classes/TYPO3/Flow/Utility/Lock/FlockLockStrategy.php line 84
Reference code 2015041314534208b94a
Stack trace
#0 TYPO3\Flow\Utility\Lock\FlockLockStrategy::acquire()
/srv/data/web/vhosts/0b0071d70e.test-url.ws/htdocs/Neos-1.2.3/Packages/Framework/TYPO3.Flow/Classes/TYPO3/Flow/Utility/Lock/Lock.php:60
#1 TYPO3\Flow\Utility\Lock\Lock::__construct()
/srv/data/web/vhosts/0b0071d70e.test-url.ws/htdocs/Neos-1.2.3/Packages/Framework/TYPO3.Flow/Classes/TYPO3/Flow/Cache/Backend/SimpleFileBackend.php:163
#2 TYPO3\Flow\Cache\Backend\SimpleFileBackend::set()
/srv/data/web/vhosts/0b0071d70e.test-url.ws/htdocs/Neos-1.2.3/Packages/Framework/TYPO3.Flow/Classes/TYPO3/Flow/Cache/Frontend/VariableFrontend.php:65
#3 TYPO3\Flow\Cache\Frontend\VariableFrontend::set()
/srv/data/web/vhosts/0b0071d70e.test-url.ws/htdocs/Neos-1.2.3/Packages/Framework/TYPO3.Flow/Classes/TYPO3/Flow/Aop/Builder/ProxyClassBuilder.php:198
#4 TYPO3\Flow\Aop\Builder\ProxyClassBuilder::build()
/srv/data/web/vhosts/0b0071d70e.test-url.ws/htdocs/Neos-1.2.3/Packages/Framework/TYPO3.Flow/Classes/TYPO3/Flow/Command/CoreCommandController.php:183
#5 TYPO3\Flow\Command\CoreCommandController::compileCommand()
#6 ::call_user_func_array()
/srv/data/web/vhosts/0b0071d70e.test-url.ws/htdocs/Neos-1.2.3/Packages/Framework/TYPO3.Flow/Classes/TYPO3/Flow/Cli/CommandController.php:240
#7 TYPO3\Flow\Cli\CommandController::callCommandMethod()
/srv/data/web/vhosts/0b0071d70e.test-url.ws/htdocs/Neos-1.2.3/Packages/Framework/TYPO3.Flow/Classes/TYPO3/Flow/Cli/CommandController.php:110
#8 TYPO3\Flow\Cli\CommandController::processRequest()
/srv/data/web/vhosts/0b0071d70e.test-url.ws/htdocs/Neos-1.2.3/Packages/Framework/TYPO3.Flow/Classes/TYPO3/Flow/Mvc/Dispatcher.php:80
#9 TYPO3\Flow\Mvc\Dispatcher::dispatch()
/srv/data/web/vhosts/0b0071d70e.test-url.ws/htdocs/Neos-1.2.3/Packages/Framework/TYPO3.Flow/Classes/TYPO3/Flow/Cli/CommandRequestHandler.php:107
#10 TYPO3\Flow\Cli\CommandRequestHandler::handleRequest()
/srv/data/web/vhosts/0b0071d70e.test-url.ws/htdocs/Neos-1.2.3/Packages/Framework/TYPO3.Flow/Classes/TYPO3/Flow/Core/Bootstrap.php:108
#11 TYPO3\Flow\Core\Bootstrap::run()
/srv/data/web/vhosts/0b0071d70e.test-url.ws/htdocs/Neos-1.2.3/Packages/Framework/TYPO3.Flow/Scripts/flow.php:55
More information about the Neos
mailing list