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

OB Server Updates Failing #173

Open
eric-pirozok opened this issue Nov 18, 2024 · 3 comments
Open

OB Server Updates Failing #173

eric-pirozok opened this issue Nov 18, 2024 · 3 comments

Comments

@eric-pirozok
Copy link

localadmin@observer:/var/www/html$ sudo tools/cli/ob updates run all
Updating OB Core
Core: Update failed, exiting.
localadmin@observer:/var/www/html$

Screenshot 2024-11-17 155618
Screenshot 2024-11-17 155756

@webguy-nz
Copy link

I have this issue too. Fresh install, PHP 8.2.27, MySQL 8. There is no other indication of what the error is, just this:

CleanShot 2025-01-07 at 06 48 46@2x

@webguy-nz
Copy link

I also added #[AllowDynamicProperties] to multiple classes in updates.php, checker.php and the DB Class I think to deal with the deprecation error that is thrown in PHP 8.2

@webguy-nz
Copy link

The error in this update is resolved if you change line 19 to:
$this->db->query('ALTER TABLE playlists ADD COLUMN file_location VARCHAR(2) NOT NULL AFTER name;');
The IF NOT EXISTS is not supported in MySQL 8.
Removing this and running again, I managed to get the last 4 updates to install.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

2 participants