Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Invitations not sent #2748

Closed
6 of 18 tasks
Silverscott opened this issue Jan 19, 2023 · 12 comments · Fixed by #2749
Closed
6 of 18 tasks

Invitations not sent #2748

Silverscott opened this issue Jan 19, 2023 · 12 comments · Fixed by #2749
Labels
Milestone

Comments

@Silverscott
Copy link

Silverscott commented Jan 19, 2023

⚠️ This issue respects the following points: ⚠️

  • This is a bug, not a question or a configuration/webserver/proxy issue.
  • This issue is not already reported on Github (I've searched it).
  • I agree to follow Nextcloud's Code of Conduct.

What went wrong, what did you observe?

Hello everyone,

I just posted my NC (25.0.3 Build:2023-01-18T23). I have set up the messaging correctly, the message sending test works but when I create a poll and share it with a group I have a message that appears telling me that the invitations were not sent.

How can I correct the pb please?

What did you expect, how polls should behave instead?

An invitation mail should An email invitation should be sent to people sharing

What steps does it need to replay this bug?

Each time i create a poll

Installation method

Installed/updated from the appstore (Apps section of your site)

Installation type

First time installation

Affected polls version

4.1.0-beta6

Which browser did you use, when experiencing the bug?

  • Firefox
  • Chrome
  • Chromium/Chromium based (i.e. Edge)
  • Safari
  • Other/Don't know

Other browser

No response

Which System did you use, when experiencing the bug?

  • Windows
  • Linux
  • MacOs
  • iOS
  • Android
  • Other/Don't know

Other OS

No response

Add your browser log here

No response

Additional client environment information

No response

NC version

Nextcloud 25 (Nextcloud Hub 3)

Other Nextcloud version

No response

PHP engine version

PHP 8.1

Other PHP version

No response

Database engine

MariaDB

Database Engine version or other Database

15.1 Distrib 10.5.18-MariaDB

Which user-backends are you using?

  • Default user-backend (database)
  • LDAP/ Active Directory
  • SSO - SAML
  • Other/Don't know

Add your nextcloud server log here

[index] Erreur: Exception: OCA\Polls\Model\Mail\MailBase::getParsedMarkDown(): Argument #1 ($source) must be of type string, null given, called in /var/www/nextcloud/apps/polls/lib/Model/Mail/MailBase.php on line 212 in file '/var/www/nextcloud/apps/polls/lib/Model/Mail/MailBase.php' line 215 at <<closure>>

0. /var/www/nextcloud/lib/private/AppFramework/App.php line 172
   OC\AppFramework\Http\Dispatcher->dispatch()
1. /var/www/nextcloud/lib/private/Route/Router.php line 298
   OC\AppFramework\App::main()
2. /var/www/nextcloud/lib/base.php line 1047
   OC\Route\Router->match()
3. /var/www/nextcloud/index.php line 36
   OC::handleRequest()

POST /index.php/apps/polls/share/58OZXgxXvxcXhzwC/invite?time=1673607309005
from 192.168.1.254 by Scott at 2023-01-13T10:55:08+00:00

Additional environment informations

No response

Configuration report

root•/var/www/nextcloud» sudo -u www-data php occ config:list system                                                                               
{
    "system": {
        "instanceid": "***REMOVED SENSITIVE VALUE***",
        "passwordsalt": "***REMOVED SENSITIVE VALUE***",
        "secret": "***REMOVED SENSITIVE VALUE***",
        "trusted_domains": [
            "blackcat-studio.net:8443"
        ],
        "datadirectory": "***REMOVED SENSITIVE VALUE***",
        "dbtype": "mysql",
        "version": "25.0.3.2",
        "overwrite.cli.url": "https:\/\/blackcat-studio.net:8443",
        "dbname": "***REMOVED SENSITIVE VALUE***",
        "dbhost": "***REMOVED SENSITIVE VALUE***",
        "dbport": "",
        "dbtableprefix": "oc_",
        "mysql.utf8mb4": true,
        "dbuser": "***REMOVED SENSITIVE VALUE***",
        "dbpassword": "***REMOVED SENSITIVE VALUE***",
        "updater.release.channel": "daily",
        "installed": true,
        "mail_smtpmode": "smtp",
        "mail_sendmailmode": "smtp",
        "mail_smtpsecure": "ssl",
        "mail_smtphost": "***REMOVED SENSITIVE VALUE***",
        "mail_smtpport": "465",
        "mail_smtpauth": 1,
        "mail_domain": "***REMOVED SENSITIVE VALUE***",
        "mail_smtpname": "***REMOVED SENSITIVE VALUE***",
        "mail_smtppassword": "***REMOVED SENSITIVE VALUE***",
        "mail_smtpauthtype": "LOGIN",
        "mail_from_address": "***REMOVED SENSITIVE VALUE***",
        "app_install_overwrite": [
            "admin_notifications"
        ],
        "updater.secret": "***REMOVED SENSITIVE VALUE***",
        "maintenance": false,
        "theme": "",
        "loglevel": 2,
        "default_phone_region": "FR",
        "filelocking.enabled": true,
        "memcache.locking": "\\OC\\Memcache\\Redis",
        "redis": {
            "host": "***REMOVED SENSITIVE VALUE***",
            "port": 0,
            "timeout": 0
        }
    }
}
------------------------
root•/var/www/nextcloud» php occ config:list system                                                                                                [11:38:26]
Console has to be executed with the user that owns the file config/config.php
Current user id: 0
Owner id of config.php: 33
Try adding 'sudo -u #33' to the beginning of the command (without the single quotes)
If running with 'docker exec' try adding the option '-u 33' to the docker command (without the single quotes)
-------------------------
root•/var/www/nextcloud» ./occ config:list system                                                                                                  
zsh: permission non accordée: ./occ

List of activated Apps

root•/var/www/nextcloud» sudo -u www-data php occ app:list                                                                                         
Enabled:
  - activity: 2.17.0
  - announcementcenter: 6.4.0
  - calendar: 4.2.1
  - circles: 25.0.0
  - cloud_federation_api: 1.8.0
  - comments: 1.15.0
  - contacts: 5.0.2
  - contactsinteraction: 1.6.0
  - dashboard: 7.5.0
  - dav: 1.24.0
  - deck: 1.8.3
  - external: 5.0.0
  - externalpassword: 1.1.0
  - federatedfilesharing: 1.15.0
  - federation: 1.15.0
  - files: 1.20.1
  - files_automatedtagging: 1.15.0
  - files_downloadactivity: 1.15.0
  - files_external: 1.17.0
  - files_mindmap: 0.0.27
  - files_pdfviewer: 2.6.0
  - files_rightclick: 1.4.0
  - files_sharing: 1.17.0
  - files_trashbin: 1.15.0
  - files_versions: 1.18.0
  - firstrunwizard: 2.14.0
  - forms: 3.0.3
  - integration_google: 1.0.9
  - logreader: 2.10.0
  - lookup_server_connector: 1.13.0
  - nextcloud_announcements: 1.14.0
  - notifications: 2.13.1
  - oauth2: 1.13.0
  - password_policy: 1.15.0
  - photos: 2.0.1
  - polls: 4.1.0-beta6
  - privacy: 1.9.0
  - provisioning_api: 1.15.0
  - quota_warning: 1.15.0
  - rainloop: 7.2.6
  - ransomware_protection: 1.14.0
  - recommendations: 1.4.0
  - related_resources: 1.0.4
  - richdocuments: 7.1.0
  - richdocumentscode: 22.5.802
  - serverinfo: 1.15.0
  - settings: 1.7.0
  - sharebymail: 1.15.0
  - spreed: 15.0.2
  - support: 1.8.0
  - survey_client: 1.13.0
  - suspicious_login: 4.3.0
  - systemtags: 1.15.0
  - text: 3.6.0
  - theming: 2.0.1
  - twofactor_backupcodes: 1.14.0
  - twofactor_totp: 7.0.0
  - unsplash: 2.1.1
  - updatenotification: 1.15.0
  - user_status: 1.5.0
  - viewer: 1.9.0
  - weather_status: 1.5.0
  - workflowengine: 2.7.0
Disabled:
  - admin_audit
  - audioplayer: 3.3.1
  - bruteforcesettings
  - encryption: 2.13.0
  - mail: 2.2.2
  - side_menu: 3.5.1
  - user_ldap

-----------------------------
root•/var/www/nextcloud» ./occ app:list                                                                                                            zsh: permission non accordée: ./occ

Nextcloud Signing status

No errors have been found.

Additional Information

Many thx for your help :)

@Silverscott
Copy link
Author

Last log :

[index] Erreur: Exception: OCA\Polls\Model\Mail\MailBase::getParsedMarkDown(): Argument #1 ($source) must be of type string, null given, called in /var/www/nextcloud/apps/polls/lib/Model/Mail/MailBase.php on line 212 in file '/var/www/nextcloud/apps/polls/lib/Model/Mail/MailBase.php' line 215 at <>

  1. /var/www/nextcloud/lib/private/AppFramework/App.php line 172
    OC\AppFramework\Http\Dispatcher->dispatch()
  2. /var/www/nextcloud/lib/private/Route/Router.php line 298
    OC\AppFramework\App::main()
  3. /var/www/nextcloud/lib/base.php line 1047
    OC\Route\Router->match()
  4. /var/www/nextcloud/index.php line 36
    OC::handleRequest()

POST /index.php/apps/polls/share/OgeNF8B7WhoA7H7F/invite?time=1674130384782
from 192.168.1.254 by Scott at 2023-01-19T12:13:04+00:00

@dartcafe dartcafe added this to the 4.1.1 milestone Jan 19, 2023
@dartcafe
Copy link
Collaborator

Thanks for reporting. This happens, if no description was added.

As a workaround enter something in the description field and send the invitation again. v4.1.1 will fix that.

@dartcafe
Copy link
Collaborator

Fixed in v4.1.1
Download here, if you don't want to wait for the appstore release (can take some days)

@Silverscott
Copy link
Author

Many thnx guys !!!

@Silverscott
Copy link
Author

@dartcafe
Copy link
Collaborator

dartcafe commented Jan 19, 2023

@Silverscott
Copy link
Author

Hello Team,

How can i manually install it ? i didn't found how to do it ? :/

@Silverscott
Copy link
Author

I uploaded the archive directly on my server and tried to install it via NC GUI but :

Database error when running migration 040101Date20230119080000 for app polls An exception occurred while executing a query: SQLSTATE[01000]: Warning: 1265 Data truncated for column 'description' at row 1

@dartcafe
Copy link
Collaborator

dartcafe commented Jan 21, 2023

I'll check that

@dartcafe
Copy link
Collaborator

I made a new attempt. Reverted the migration and catch the problem codewise.
See #2745

@Silverscott
Copy link
Author

Hello ! Since my try to manually install Polls 4.1.1 i can't no more install 4.1.2 :/
i have this message when i try to install Polls 4.1.2 via GUI in NC 👎🏻

Database error when running migration 040102Date20230123072601 for app polls An exception occurred while executing a query: SQLSTATE[01000]: Warning: 1265 Data truncated for column 'description' at row 1

Copy link

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators May 29, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants