Users unable to access forms in our nextcloud

Support intro

Sorry to hear you’re facing problems :slightly_frowning_face:

help.nextcloud.com is for home/non-enterprise users. If you’re running a business, paid support can be accessed via portal.nextcloud.com where we can ensure your business keeps running smoothly.

In order to help you as quickly as possible, before clicking Create Topic please provide as much of the below as you can. Feel free to use a pastebin service for logs, otherwise either indent short log examples with four spaces:

example

Or for longer, use three backticks above and below the code snippet:

longer
example
here

Some or all of the below information will be requested if it isn’t supplied; for fastest response please provide as much as you can :heart:

Nextcloud version (eg, 19.0.1):
Operating system and version _: CloudLinux 4.14.146-225.ELK.el6.x86_64 :
Apache or nginx version (eg, Apache 2.4.25):
PHP version (eg, 7.3.19):

The issue you are facing:
User can not access form created in Next Cloud

Is this the first time you’ve seen this error? (Y/N): No

Steps to replicate it:

  1. User clicks on a lik of publicly shared form
  2. The cloud website opens
  3. Form is not seen instead user sees

Internal Server Error

The server was unable to complete your request.

If this happens again, please send the technical details below to the server administrator.

More details can be found in the server log.

The output of your Nextcloud log in Admin > Logging:

Exception: Argument 2 passed to OCA\Forms\Db\NotificationMapper::findByUserAndForm() must be of the type string, null given, called in /home/atiprtgd/cloud.atipra.in/apps/forms/lib/Controller/PageController.php on line 277
/home/atiprtgd/cloud.atipra.in/lib/private/AppFramework/App.php - line 137:

OC\AppFramework\Http\Dispatcher->dispatch(OCA\Forms\Co ... {}, "gotoForm")

/home/atiprtgd/cloud.atipra.in/lib/private/AppFramework/Routing/RouteActionHandler.php - line 47:

OC\AppFramework\App::main("OCA\\Forms\ ... r", "gotoForm", OC\AppFramew ... {}, { hash: "1Ho ... "})

<<closure>>

OC\AppFramework\Routing\RouteActionHandler->__invoke({ hash: "1Ho ... "})

/home/atiprtgd/cloud.atipra.in/lib/private/Route/Router.php - line 297:

call_user_func(OC\AppFramew ... {}, { hash: "1Ho ... "})

/home/atiprtgd/cloud.atipra.in/lib/base.php - line 1007:

OC\Route\Router->match("/apps/forms ... n")

/home/atiprtgd/cloud.atipra.in/index.php - line 37:

OC::handleRequest()


The output of your config.php file in /path/to/nextcloud (make sure you remove any identifiable information!):

<?php
$CONFIG = array (
  'instanceid' => 'ocgmtedm7mbx',
  'passwordsalt' => '9w7y1ogop2wmvL7ApEJk/p0hfGiXcV',
  'secret' => '*************************',
  'trusted_domains' => 
  array (
    0 => 'cloud.atipra.in',
  ),
  'datadirectory' => '/home/atiprtgd/cloud.atipra.in/data',
  'dbtype' => 'mysql',
  'version' => '19.0.1.1',
  'overwrite.cli.url' => 'http://cloud.atipra.in',
  'dbname' => 'atiprtgd_next481',
  'dbhost' => 'localhost',
  'dbport' => '',
  'dbtableprefix' => 'oc_',
  'dbuser' => 'atiprtgd_next481',
  'dbpassword' => '**********',
  'installed' => true,
  'mail_smtpmode' => 'smtp',
  'mail_smtpsecure' => 'tls',
  'mail_sendmailmode' => 'smtp',
  'mail_from_address' => 'artim',
  'mail_domain' => 'atipra.in',
  'mail_smtpauthtype' => 'LOGIN',
  'mail_smtphost' => 'mail.atipra.in',
  'mail_smtpauth' => 1,
  'mail_smtpport' => '587',
  'mail_smtpname' => 'artim@atipra.in',
  'mail_smtppassword' => '*****',
);

The output of your Apache/nginx/system log in /var/log/____:

not accessible (Remote shared server)

Hello and weclome to nextcloud @mitradranirban
could you please create a dummy form and try to share it with me?
and are you also able to access the form on your computer?

Thank for your prompt reply. This is the link of a test form I created with access set to everyone. http://cloud.atipra.in/index.php/apps/forms/form/VMWmQSX9fQjRdLhy
I can access the form from my computer but not from a incognito tab in browser when ‘Internal Server Error’ message comes.

did you download the forms app from the app store or did you import it (download the zip and unzip it in the apps folder)

make shure that www-data:www-data is the owner of the folder!

In Cloudlinux of my hosting privider there is no user apache or www-data

I downloaded from app store directly

1 Like

It looks like was reported already long time ago: https://github.com/nextcloud/forms/issues/291
But seems does not work still… Just tested and have the same issue as you - internal Server Error.

Do you have version 1.1.1???

Just did update to 2.0.1 and it works!

I downloaded from App Store of nextcloud

ok set the forms folder to the correct owner just to be sure

Hi all,

just as @gas85 wrote: This is definitely the bug, that V1.1.1 still had. Just update to forms V2 on the app-store, that should solve your problem! :slight_smile:

Greets,
Jonas

1 Like

Thanks for your support. Updating the version to 2.1 solved the problem. I was under the misconception that a new install of nextcloud will install the latest version of its recommended apps. So I did not check for updates. Now I have learnt the lession.

1 Like