Comments (9)
Can you please check the logs and see what is the error message on 500 response?
from concerto-platform.
I've got errors about being unable to open the log:
[Tue Apr 05 17:41:24.791407 2016] [:error] [pid 26247] [] PHP Fatal error: Uncaught exception 'UnexpectedValueException' with message 'The stream or file "/var/www/html/concerto-platform/app/logs/prod.log" could not be opened: failed to open stream: Permission denied' in /var/www/html/concerto-platform/app/cache/prod/classes.php:5945\nStack trace:\n#0 /var/www/html/concerto-platform/app/cache/prod/classes.php(5883): Monolog\Handler\StreamHandler->write(Array)\n#1 /var/www/html/concerto-platform/app/cache/prod/classes.php(6054): Monolog\Handler\AbstractProcessingHandler->handle(Array)\n#2 /var/www/html/concerto-platform/app/cache/prod/classes.php(6363): Monolog\Handler\FingersCrossedHandler->handle(Array)\n#3 /var/www/html/concerto-platform/app/cache/prod/classes.php(6470): Monolog\Logger->addRecord(500, 'Uncaught PHP Ex...', Array)\n#4 /var/www/html/concerto-platform/vendor/symfony/symfony/src/Symfony/Component/HttpKernel/EventListener/ExceptionListener.php(89): Monolog\Logger->critical('Uncaught PHP Ex...', Array)\n#5 /var/www/html/concerto-platform/vendor/symfony/symfony/src/Symfony/Comp in /var/www/html/concerto-platform/app/cache/prod/classes.php on line 5945
ubuntu:$ less /var/log/apache2/error.log$ grep error /var/log/apache2/error.log
ubuntu:
[Tue Apr 05 17:33:30.719174 2016] [:error] [pid 25888] [] PHP Fatal error: Uncaught exception 'RuntimeException' with message 'Unable to create the cache directory (/var/www/html/concerto-platform/app/cache/prod)\n' in /var/www/html/concerto-platform/app/bootstrap.php.cache:2682\nStack trace:\n#0 /var/www/html/concerto-platform/app/bootstrap.php.cache(2643): Symfony\Component\HttpKernel\Kernel->buildContainer()\n#1 /var/www/html/concerto-platform/app/bootstrap.php.cache(2422): Symfony\Component\HttpKernel\Kernel->initializeContainer()\n#2 /var/www/html/concerto-platform/app/bootstrap.php.cache(2453): Symfony\Component\HttpKernel\Kernel->boot()\n#3 /var/www/html/concerto-platform/web/app.php(23): Symfony\Component\HttpKernel\Kernel->handle(Object(Symfony\Component\HttpFoundation\Request))\n#4 {main}\n thrown in /var/www/html/concerto-platform/app/bootstrap.php.cache on line 2682
[Tue Apr 05 17:41:24.781467 2016] [:error] [pid 26247] [] PHP Warning: SessionHandler::read(): open(/var/www/html/concerto-platform/app/cache/prod/sessions/sess_gn5i0jp1oupm5q0ur22tbep9t0, O_RDWR) failed: Permission denied (13) in /var/www/html/concerto-platform/app/cache/prod/classes.php on line 417
[Tue Apr 05 17:41:24.791407 2016] [:error] [pid 26247] [] PHP Fatal error: Uncaught exception 'UnexpectedValueException' with message 'The stream or file "/var/www/html/concerto-platform/app/logs/prod.log" could not be opened: failed to open stream: Permission denied' in /var/www/html/concerto-platform/app/cache/prod/classes.php:5945\nStack trace:\n#0 /var/www/html/concerto-platform/app/cache/prod/classes.php(5883): Monolog\Handler\StreamHandler->write(Array)\n#1 /var/www/html/concerto-platform/app/cache/prod/classes.php(6054): Monolog\Handler\AbstractProcessingHandler->handle(Array)\n#2 /var/www/html/concerto-platform/app/cache/prod/classes.php(6363): Monolog\Handler\FingersCrossedHandler->handle(Array)\n#3 /var/www/html/concerto-platform/app/cache/prod/classes.php(6470): Monolog\Logger->addRecord(500, 'Uncaught PHP Ex...', Array)\n#4 /var/www/html/concerto-platform/vendor/symfony/symfony/src/Symfony/Component/HttpKernel/EventListener/ExceptionListener.php(89): Monolog\Logger->critical('Uncaught PHP Ex...', Array)\n#5 /var/www/html/concerto-platform/vendor/symfony/symfony/src/Symfony/Comp in /var/www/html/concerto-platform/app/cache/prod/classes.php on line 5945
[Tue Apr 05 17:41:24.795609 2016] [:error] [pid 26247] [] PHP Warning: SessionHandler::write(): open(/var/www/html/concerto-platform/app/cache/prod/sessions/sess_gn5i0jp1oupm5q0ur22tbep9t0, O_RDWR) failed: Permission denied (13) in /var/www/html/concerto-platform/app/cache/prod/classes.php on line 421
from concerto-platform.
Seems like permission issue. I would guess that the cache has been created while doing something as root, and it's now not readable by your web server user. Clearing your cache should solve your problem. Remove all subdirectories in your app/cache directory. Please let me know if that helped.
from concerto-platform.
My apologies, that error was non fatal and the log was opened:
[2016-06-29 14:14:02] request.CRITICAL: Uncaught PHP Exception Doctrine\DBAL\Exception\NotNullConstraintViolationException: "An exception occurred while executing 'INSERT INTO TestNode (type, posX, posY, updated, created, tags, flowTest_id, sourceTest_id, updatedBy_id) VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)' with params ["0", null, null, "2016-06-29 14:14:02", "2016-06-29 14:14:02", "", 33, 12, null]: SQLSTATE[23000]: Integrity constraint violation: 1048 Column 'posX' cannot be null" at /var/www/html/concerto-platform/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/AbstractMySQLDriver.php line 112 {"exception":"[object](Doctrine\DBAL\Exception\NotNullConstraintViolationException%28code: 0%29: An exception occurred while executing 'INSERT INTO TestNode %28type, posX, posY, updated, created, tags, flowTest_id, sourceTest_id, updatedBy_id%29 VALUES %28?, ?, ?, ?, ?, ?, ?, ?, ?%29' with params ["0", null, null, "2016-06-29 14:14:02", "2016-06-29 14:14:02", "", 33, 12, null]:nnSQLSTATE[23000]: Integrity constraint violation: 1048 Column 'posX' cannot be null at /var/www/html/concerto-platform/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/AbstractMySQLDriver.php:112, Doctrine\DBAL\Driver\PDOException%28code: 23000): SQLSTATE[23000]: Integrity constraint violation: 1048 Column 'posX' cannot be null at /var/www/html/concerto-platform/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOStatement.php:93, PDOException(code: 23000): SQLSTATE[23000]: Integrity constraint violation: 1048 Column 'posX' cannot be null at /var/www/html/concerto-platform/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOStatement.php:91)"} []
from concerto-platform.
Unfortunately clearing the cache didn't help.
from concerto-platform.
How did you tried to add a new node? Did you tried to do it manually by creating POST request, or have you tried to do it by right clicking on the flowchart and selecting a new node to insert?
What browser are you using?
from concerto-platform.
Trying to do it via the right click menu. Firefox.
from concerto-platform.
Is it possible for me to get an access to your panel and see it reproduced? Can you send me an access details to [email protected]?
from concerto-platform.
Fixed in 2225b3e - closing.
from concerto-platform.
Related Issues (20)
- Docker image health checks fail with the api disabled
- Input Port Tooltip Flickering and Impossible to Change Due To CSS
- Unsupported dependency versions
- [Error] Unable to create the "cache"
- Run docker container as a non-root user
- Importing tests leads to "Validation failed: There are already pending or ongoing scheduled tasks." HOT 1
- MGRM: Test problem encountered. Execution halted.
- How to expand p colum on Flat Table when response options are 5 option
- Redis integration not working as expected HOT 2
- API updating and inserting rows in data tables
- Cloudformation template concerto-ec2-basic-tls no longer provides lets encrypt certification HOT 1
- Checkbox type selection in which multiple buttons can be selected
- Unable to view structure of Data Tables with uppercase character in the name (PostgreSQL DB)
- Cannot run Concerto on MacOS Ventura
- "Error in user$id: $ operator is invalid for atomic vectors" when enabled [Resumable] in startSession Module.
- Issues uploading Flatitem file
- Ability to assign multiple traits to 1 item?
- Feedback after each question
- 500 Internal Server Error on Running a "show page"
- Concerto server login problem
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from concerto-platform.