-
-
Notifications
You must be signed in to change notification settings - Fork 191
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
Error during install: cloudlog.options does not exist #3234
Comments
Sounds like install failed, I'd suggest trying to run it again, you may need to download the codebase again, after install it automatically tries to delete the /install folder for security reasons |
Ok, just tried again with a new install of OS and app. Same thing. Does the install do any logging I could investigate? |
@magicbug - On thing I tried was to run the install.sql directly on the database and it failed with this: 11:30:08 INSERT INTO |
@magicbug - The issue with the above error is the fact that the primary key for the options table isn't specified as part of the "CREATE TABLE" command. Moving the primary key specification from the UPDATE command to the CREATE command fixes this. I have a change in my fork that makes everything work (I also added a few missing "DROP TABLE IF EXISTS"' entries). Let me know if you want me to submit a pull request. |
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:
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
I also ran the update_cloudlog.sh script as well but that didn't help.
Desktop (please complete the following information):
The text was updated successfully, but these errors were encountered: