Skip to content

Error during install: cloudlog.options does not exist #3234

@john-terrell

Description

@john-terrell

This is for reporting bugs with the code, if this issue is regarding setting up on your local server please use the forum see readme for details

Describe the bug
Installed fresh Ubuntu 22.04 LTS (also tried 24.04 LTS) with PHP7.4 (installed via PPA) and Apache 2 with CloudLog 2.6.16 (tried using the HEAD of 'master' as well). After configuring the install via the install.php page, I receive the following error:

Error Number: 1146
Table 'cloudlog.options' doesn't exist
SELECT * FROM `options` WHERE `autoload` = 'yes'
Filename: models/Options_model.php
Line Number: 14

Looking at the database, several tables have been created but no 'options' table exists. I've tried this with a local MySQL Database as well as a remote one. Same issue.

The only thing in the apache logs are:

[Tue Dec 03 22:34:01.381453 2024] [php7:warn] [pid 28743] [client 10.10.6.157:60135] PHP Warning: unlink(/var/www/html/install/assets/install.sql): Permission denied in /var/www/html/install/index.php on line 17, referer: http://10.10.200.20/install/index.php
[Tue Dec 03 22:34:01.381610 2024] [php7:warn] [pid 28743] [client 10.10.6.157:60135] PHP Warning: unlink(/var/www/html/install/config/config.php): Permission denied in /var/www/html/install/index.php on line 17, referer: http://10.10.200.20/install/index.php
[Tue Dec 03 22:34:01.381638 2024] [php7:warn] [pid 28743] [client 10.10.6.157:60135] PHP Warning: unlink(/var/www/html/install/config/database.php): Permission denied in /var/www/html/install/index.php on line 17, referer: http://10.10.200.20/install/index.php
[Tue Dec 03 22:34:01.381704 2024] [php7:warn] [pid 28743] [client 10.10.6.157:60135] PHP Warning: unlink(/var/www/html/install/includes/core_class.php): Permission denied in /var/www/html/install/index.php on line 17, referer: http://10.10.200.20/install/index.php
[Tue Dec 03 22:34:01.381724 2024] [php7:warn] [pid 28743] [client 10.10.6.157:60135] PHP Warning: unlink(/var/www/html/install/includes/database_class.php): Permission denied in /var/www/html/install/index.php on line 17, referer: http://10.10.200.20/install/index.php
[Tue Dec 03 22:34:01.381741 2024] [php7:warn] [pid 28743] [client 10.10.6.157:60135] PHP Warning: unlink(/var/www/html/install/index.php): Permission denied in /var/www/html/install/index.php on line 17, referer: http://10.10.200.20/install/index.php

To see if these permissions errors were related, I set all of those files to RWX - re-ran the install script with the same result (but with the errors no longer present in the log.    Not sure why the install script is trying to remove those files...but it seems unrelated.)

I also ran the update_cloudlog.sh script as well but that didn't help.

Desktop (please complete the following information):

  • OS: MacOS
  • Browser Safari and Chrome

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions