[SOLVED] Forms app in "read only"?

Hello
With NC 30.0.8 and Forms 5.0.4 I can’t anymore :

  • creat a new forms (the new forms is not there
  • copy an old forms (with the idea to past it as new…)

But I can see my old forms

Any idea how to solve it?
Where are stored the forms in NC directory ?

@ewok2 could you please look at your browser console logs when you create a new form and see if there are any errors?

Oups sorry I only had a look in the nextcloud.log file …

In the browser console I get the folowing message :

{
  "reqId": "CpGLYeqCt4U95sCseQX3",
  "level": 2,
  "time": "2025-03-24T20:31:32+00:00",
  "remoteAddr": "192.168.0.254",
  "user": "dimi",
  "app": "no app in context",
  "method": "GET",
  "url": "/apps/forms/",
  "message": "Capabilities of OCA\\Talk\\Capabilities took 0.67 seconds to generate.",
  "userAgent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:136.0) Gecko/20100101 Firefox/136.0",
  "version": "30.0.8.1",
  "data": [],
  "id": "67e1c14d118c8"
}

=> keyword should be “no app in context” ?

Ok that’s unrelated to your problem. Did you find anything in the server log file?

No no log when trying to copy in nextcloud.log
And no other in the browser consol

Is there a way to put forms in verbose mode? and get more logs?

did you set the nc-log to debug-level?

Indeed with log level to debug is beter :wink:

I get this 3 line that may be strange ?

“app”:“no app in context”,“method”:“GET”,“url”:“/ocs/v2.php/apps/forms/api/v3/forms?type=shared”,“message”:“Calling OCP\DB\QueryBuilder\IQueryBuilder::orX without parameters is deprecated and will throw soon.”,“userAgent”:“Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:136.0) Gecko/20100101 Firefox/136.0”,“version”:“30.0.8.1”,“exception”:{“Exception”:“Exception”,“Message”:“No parameters in call to OC\DB\QueryBuilder\ExpressionBuilder\ExpressionBuilder::orX”,“Code”:0,“Trace”:[{“file”:“/var/www/nextcloud/apps/circles/lib/Db/CircleRequest.php”,“line”:268,“function”:“orX”,“class”:“OC\DB\QueryBuilder\ExpressionBuilder\ExpressionBuilder”,“type”:“->”},{“file”:“/var/www/nextcloud/apps/circles/lib/Db/CircleRequest.php”,“line”:231,“function”:“buildProbeCircle”,“class”:“OCA\Circles\Db\CircleRequest”,“type”:“->”},{“file”:“/var/www/nextcloud/apps/circles/lib/Service/CircleService.php”,“line”:797,“function”:“probeCircles”,“class”:“OCA\Circles\Db\CircleRequest”,“type”:“->”},{“file”:“/var/www/nextcloud/apps/circles/lib/CirclesManager.php”,“line”:531,“function”:“probeCircles”,“class”:“OCA\Circles\Service\CircleService”,“type”:“->”},{“file”:“/var/www/nextcloud/apps/forms/lib/Service/CirclesService.php”,“line”:125,“function”:“probeCircles”,“class”:“OCA\Circles\CirclesManager”,“type”:“->”},{“file”:“/var/www/nextcloud/apps/forms/lib/Service/FormsService.php”,“line”:423,“function”:“getUserTeamIds”,“class”:“OCA\Forms\Service\CirclesService”,“type”:“->”},{“file”:“/var/www/nextcloud/apps/forms/lib/Controller/ApiController.php”,“line”:133,“function”:“getSharedForms”,“class”:“OCA\Forms\Service\FormsService”,“type”:“->”},{“file”:“/var/www/nextcloud/lib/private/AppFramework/Http/Dispatcher.php”,“line”:208,“function”:“getForms”,“class”:“OCA\Forms\Controller\ApiController”,“type”:“->”},{“file”:“/var/www/nextcloud/lib/private/AppFramework/Http/Dispatcher.php”,“line”:114,“function”:“executeController”,“class”:“OC\AppFramework\Http\Dispatcher”,“type”:“->”},{“file”:“/var/www/nextcloud/lib/private/AppFramework/App.php”,“line”:161,“function”:“dispatch”,“class”:“OC\AppFramework\Http\Dispatcher”,“type”:“->”},{“file”:“/var/www/nextcloud/lib/private/Route/Router.php”,“line”:303,“function”:“main”,“class”:“OC\AppFramework\App”,“type”:“::”},{“file”:“/var/www/nextcloud/ocs/v1.php”,“line”:43,“function”:“match”,“class”:“OC\Route\Router”,“type”:“->”},{“file”:“/var/www/nextcloud/ocs/v2.php”,“line”:7,“args”:[“/var/www/nextcloud/ocs/v1.php”],“function”:“require_once”}],“File”:“/var/www/nextcloud/lib/private/DB/QueryBuilder/ExpressionBuilder/ExpressionBuilder.php”,“Line”:87,“message”:“Calling OCP\DB\QueryBuilder\IQueryBuilder::orX without parameters is deprecated and will throw soon.”,“exception”:{},“CustomMessage”:“Calling OCP\DB\QueryBuilder\IQueryBuilder::orX without parameters is deprecated and will throw soon.”}}

“app”:“no app in context”,“method”:“GET”,“url”:“/ocs/v2.php/apps/forms/api/v3/forms?type=shared”,“message”:“Calling OCP\DB\QueryBuilder\IQueryBuilder::orX without parameters is deprecated and will throw soon.”,“userAgent”:“Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:136.0) Gecko/20100101 Firefox/136.0”,“version”:“30.0.8.1”,“exception”:{“Exception”:“Exception”,“Message”:“No parameters in call to OC\DB\QueryBuilder\ExpressionBuilder\ExpressionBuilder::orX”,“Code”:0,“Trace”:[{“file”:“/var/www/nextcloud/apps/forms/lib/Db/FormMapper.php”,“line”:110,“function”:“orX”,“class”:“OC\DB\QueryBuilder\ExpressionBuilder\ExpressionBuilder”,“type”:“->”},{“file”:“/var/www/nextcloud/apps/forms/lib/Service/FormsService.php”,“line”:424,“function”:“findSharedForms”,“class”:“OCA\Forms\Db\FormMapper”,“type”:“->”},{“file”:“/var/www/nextcloud/apps/forms/lib/Controller/ApiController.php”,“line”:133,“function”:“getSharedForms”,“class”:“OCA\Forms\Service\FormsService”,“type”:“->”},{“file”:“/var/www/nextcloud/lib/private/AppFramework/Http/Dispatcher.php”,“line”:208,“function”:“getForms”,“class”:“OCA\Forms\Controller\ApiController”,“type”:“->”},{“file”:“/var/www/nextcloud/lib/private/AppFramework/Http/Dispatcher.php”,“line”:114,“function”:“executeController”,“class”:“OC\AppFramework\Http\Dispatcher”,“type”:“->”},{“file”:“/var/www/nextcloud/lib/private/AppFramework/App.php”,“line”:161,“function”:“dispatch”,“class”:“OC\AppFramework\Http\Dispatcher”,“type”:“->”},{“file”:“/var/www/nextcloud/lib/private/Route/Router.php”,“line”:303,“function”:“main”,“class”:“OC\AppFramework\App”,“type”:“::”},{“file”:“/var/www/nextcloud/ocs/v1.php”,“line”:43,“function”:“match”,“class”:“OC\Route\Router”,“type”:“->”},{“file”:“/var/www/nextcloud/ocs/v2.php”,“line”:7,“args”:[“/var/www/nextcloud/ocs/v1.php”],“function”:“require_once”}],“File”:“/var/www/nextcloud/lib/private/DB/QueryBuilder/ExpressionBuilder/ExpressionBuilder.php”,“Line”:87,“message”:“Calling OCP\DB\QueryBuilder\IQueryBuilder::orX without parameters is deprecated and will throw soon.”,“exception”:{},“CustomMessage”:“Calling OCP\DB\QueryBuilder\IQueryBuilder::orX without parameters is deprecated and will throw soon.”}}

“app”:“app_api”,“method”:“GET”,“url”:“/ocs/v2.php/apps/notifications/api/v2/notifications”,“message”:“ExApp "updatenotification" not found.”,“userAgent”:“Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:136.0) Gecko/20100101 Firefox/136.0”,“version”:“30.0.8.1”,“data”:{“app”:“app_api”}}

Argh!!!
Sorry I am so stupid…
My user was not anymore in the group allowed to creat some new forms.
Thanks for help

1 Like

This topic was automatically closed 8 days after the last reply. New replies are no longer allowed.