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

v2.7.3 causes internal server error in NC 28 #309

Open
fHainer77 opened this issue Dec 3, 2024 · 11 comments
Open

v2.7.3 causes internal server error in NC 28 #309

fHainer77 opened this issue Dec 3, 2024 · 11 comments
Labels
bug Something isn't working

Comments

@fHainer77
Copy link

fHainer77 commented Dec 3, 2024

Describe the bug
After updating to version 2.7.3, nextcloud was no longer accessible -> internal server error. After deactivating the app, the nextcloud instance works again. the app cannot be reactivated, nextcloud reports: this app cannot be activated because it makes the server unavailable.

To Reproduce
Steps to reproduce the behavior:

  1. Try to update the app

Expected behavior
App keeps working

System (please complete the following information):

  • App version 2.7.3
  • Nextcloud version 28.0.7
  • BigBlueButton version [e.g. 2.2.9]
  • Is your BigBlueButton instance working with Greenligh? I dont know
  • Did you enter your BBB API url and secret? yes
  • Are you using a load balancer, like Scalelite? no

Nextcloud log:

TypeError OCA\BigBlueButton\Db\Restriction::setGroupName(): Argument #1 ($groupName) must be of type string, null given, called in /var/www/html/lib/public/AppFramework/Db/Entity.php on line 75

Javascript log:

REPLACE ME WITH YOUR JS LOG

Additional context
Add any other context about the problem here.

@RolKl
Copy link

RolKl commented Dec 3, 2024

same issue here with NC 29.0.1

@ThibautPlg ThibautPlg added the bug Something isn't working label Dec 3, 2024
@ThibautPlg
Copy link
Collaborator

Hello,
@RolKl the logs are similar? We tried to reproduce without success, both on new install or by updating the app through the appstore.

@RolKl
Copy link

RolKl commented Dec 4, 2024

Sorry, my knowledge is limited. I installed NC at a web host and not on my own server. So I have limited access. Where can I find the log file I need?

@fHainer77
Copy link
Author

Sorry, my knowledge is limited. I installed NC at a web host and not on my own server. So I have limited access. Where can I find the log file I need?

You schould have access to the logs in the adminsettings of your nextcloud...

@fHainer77
Copy link
Author

Hello, @RolKl the logs are similar? We tried to reproduce without success, both on new install or by updating the app through the appstore.

Should I give you any other information (installed apps etc.)?

@garthh
Copy link

garthh commented Dec 5, 2024

Hello, I've the same issue on Nextcloud 28.0.10 when I update or install BBB 2.7.3 (2.7.2 was working perfectly).
This morning, installing BBB don't crash my instance, but, I can't activate this app.

Error log :

TypeErrorOCA\BigBlueButton\Db\Restriction::setGroupName(): Argument #1 ($groupName) must be of type string, null given, called in /var/www/html/lib/public/AppFramework/Db/Entity.php on line 75
--

ThibautPlg added a commit that referenced this issue Dec 5, 2024
@ThibautPlg
Copy link
Collaborator

ThibautPlg commented Dec 5, 2024

A fix has been made by @smarinier . Until a new release is made (I can't give you a ETA atm, but should happen sooner than later), you can probably patch yourself as it's not a big change: arawa@834e2a7

This piece of code hasn't moved in ages, I'm a bit confused on why it happens now. Did you all upgrade to 2.7.2 before without any issues?
Out of curiosity, any big changes on your Nextcloud between 2.7.2 and 2.7.3? I wonder what could have created those nameless groups. My guess it that it's made by a third-party app because we couldn't reproduce the bug on our side with a relatively stock NC.

Best regards,

EDIT: Reopening the issue until the release is done

@ThibautPlg ThibautPlg reopened this Dec 5, 2024
@smarinier
Copy link
Collaborator

The change is very small, can be tried if you can modify the files:
https://github.com/littleredbutton/cloud_bbb/pull/310/files

@fHainer77
Copy link
Author

@ThibautPlg I updated nextcloud from 27 to 28 before upgrading to 2.7.3.
3rd party apps: Onlyoffice, Ldap user and groups backend, Discourse SSO. And we use a lot of group folders. Oh, and the instance runs on a univention system in a container. I can't think of any more unusual features...

@RolKl
Copy link

RolKl commented Dec 9, 2024

Thank you for the solution.
I have made the changes as indicated, but cannot force a restart as I am with a web host.
I receive the message: "this app cannot be activated because it makes the server unavailable".
Does anyone have an idea?

@RolKl
Copy link

RolKl commented Dec 10, 2024

My solution:
Delete the app bbb
update nextcloud to 30.0.2
reinstall bbb

Runs great

Thanks for this great piece of software!

P.S. (Can you also improve the plug-in to moddle, they could learn a lot from here ;-) )

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

5 participants