openbroadcaster / observer

:radio: OBServer Automation, Scheduler, Media Library and Player Manager
https://openbroadcaster.com
148 stars 44 forks source link

no logins work new install #81

Closed SpudGunMan closed 1 year ago

SpudGunMan commented 1 year ago

Describe the bug new install with installer.sh script

To Reproduce Steps to reproduce the behavior: newos,git clone, run installer.sh cant login with set password or attempted reset of admin admin, no login accepted. updates account won't login

if wrong password used that error shows up but the login just dies

Expected behavior script login/password combo to work

Desktop (please complete the following information):

brookgagnon commented 1 year ago

We have been having some issues with this install script. We're working on it. You may wish to consider this install script instead: https://github.com/brookgagnon/ob-install/ (requires fresh Ubuntu 20.04 install).

SpudGunMan commented 1 year ago

that script was no good either (using 20.04 focal vm)

brookgagnon commented 1 year ago

Same problem, login/password not working?

Can you run the command line tool checker from OB server directory: php tools/cli/ob.php check

And what does it report?

SpudGunMan commented 1 year ago

It was a large mess actually, it half installed packages and such so never even got the files properly into /www errors about sudo and missing files and folders the script crashed.

I didn't troubleshoot it further yet. The "official script" did better with the dependency installing.

brookgagnon commented 1 year ago

Okay, script is half baked still :). Works when it works but ya.

Can you either:

  1. Fresh Ubuntu 20.04 install, run the script again and log all the output / attach to comment here? Or,
  2. Meet us on Discord so we can debug together? (Let me know your discord username).

thanks!

SpudGunMan commented 1 year ago

yes I can, username is same as this SpudGunMan I didn't see a discord group first search?

SpudGunMan commented 1 year ago

ran the 2nd provided script on 20.04 new install (I might have had 20.04-1LTS prior) and the script finished. so good news there.

brookgagnon commented 1 year ago

yes I can, username is same as this SpudGunMan I didn't see a discord group first search?

Currently a private server as it's new (plans to make public later). There should be 4 digits after your username, could you confirm those? Thanks!

SpudGunMan commented 1 year ago

I just noticed OBplayer also still uses python2? this might be more effort to forklift for my use case I am going to likely head a different direction.

radiorob commented 1 year ago

I just noticed OBplayer also still uses python2? this might be more effort to forklift for my use case I am going to likely head a different direction.

Already supports Python 3 See change Log

SpudGunMan commented 1 year ago

I just noticed OBplayer also still uses python2? this might be more effort to forklift for my use case I am going to likely head a different direction.

Already supports Python 3 See change Log

Good to know I loaded the script as published and it required python2

Might be good to update that?

radiorob commented 1 year ago

Thanks. Where did you see it asking for python2? Was this in the observer installer? Obplayer doesn't come with an installer.

SpudGunMan commented 1 year ago

Could be the problem the instructions said to run

https://github.com/openbroadcaster/obplayer/blob/main/obplayer_check

Which pulls via python2 I will look to load just directly. Was following too closely I suppose! Sorry