-
-
Notifications
You must be signed in to change notification settings - Fork 405
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
[patch] upgrade_database.php fails #63
Comments
Paul, Please test out of the develop branch. All development is going on there. |
Hi cigamit, commit 4ad6ed is 8 days old. Is that already too much for you to consider a patch? Just for your info, the patch still applies to commit a412be1, which you committed several hours ago. Paul |
Oh, Geeze Paul, Yea, I missed this completely. Let me take a second look. Started the day too early I think. You are correct cigamit |
resolved here 0b452c9 |
cigamit are you sure that you can now run upgrade_database.php stand-alone, i.e. not via http://example.com/cacti/install/ (it is in the script folder for a reason I guess)? I had to get a working version of db_install_execute available to that script. Why I noticed is that in Debian we run this script during upgrades as discussed in the past. |
I simply merged by eye. Let me test it. Will respond shortly. |
Confirmed, not working. Looking into it now. |
Paul, Give it another shot after you apply d35ca21. Note that after you have things working, we are aware of a few issues, namely that graph export is broken pretty bad. Also, we have disabled magic quotes in this release. The web server should have them disabled as well. We also require the mysql_trime_zone tables to be loaded and the cacti user needs select access to mysql.time_zone_name table. |
Another few packaging notes: We need jQueryUI 1.14. jQuery 1.2 is pretty broken. There is a another issue with the csrf stuff that needs to be addressed and is still open. We also need a custom response header in the apache config to handle the font-awesome mime types. We are using a configuration option to add the response header 'Access-Control-Allow-Origin" for the file types tts|otf|svg|eot|woff. I hope that helps. cigamit |
Thanks for the heads up on the "interesting" issues. Debian has jquery-ui version 1.10.1 Is the jquery-multiselect.js really custom, or could it be used in Paul |
Looks like Eric Hynds has his plugin in github now. We will look at a pull request to merge the functionality. |
Seems like there is still something missing, although I am suspecting this may very well be related to the Debian setup, i.e. where the cli scripts are not in the same tree as the "site" functions, but one level higher. Nevertheless, I would appreciate any comment. Upgrading to 1.0.0 |
Where do you have the install directory located as compared to the include directory. I just tested (translating to debian world) /usr/share/cacti/site/include How is your setup? It's working fine for me when upgrading from 0.8.8c |
Okay, I see the issue now. Resolving momentarily. |
Resync. Just tested 'and' verified the cacti.log for backtrace errors. All clean now. |
Hi cigamit, On 20-09-16 23:54, cigamit wrote:
The upgrade script is in
I still got: I was able to fix that by using the attached patch. Paul |
|
okay, all set now. give some of the new themes a test drive. my favorite is 'Dark', though not finished 'Paw' looks pretty good too. |
The upgrade_database.php script fails for multiple reasons:
I am going to try to attach a patch (generated with commit 4ad6ed as base)
The text was updated successfully, but these errors were encountered: