KnoAll / cacti-template

Cacti Graphing system install, update, backup and restore scripts, and virtual appliance template
http://www.kevinnoall.com
GNU General Public License v3.0
16 stars 7 forks source link

Cacti graph permissions issue #62

Closed rkrasovich closed 5 years ago

rkrasovich commented 5 years ago

I am a network engineer, but weal at linix. Have an issue with generation graphs. I found that the /var/www/html/cacti/rra has the 3 4 5.. directories. The 3 directory, which has the local cacti graphs had cacti apache rights. The new directories have apache apache 4 5 .... I used cmod 777 on the other directories and now graphs are being generated.

Is this the right way to fix problem, or is there another solution?

KnoAll commented 5 years ago

I'm still trying to work through the exact permissions cacti and apache need. i have a short term fix you can use to update them though. After you have updated to 1.2.3 you can do ./cacti-upgrade.sh --fix-permissions

Let me know if that helps.

rkrasovich commented 5 years ago

Thanks for getting back to me! Do you have an OVA 1.2.3 version? Or do I do a manual upgrade to 1.2.3.

I also do not see the "upgrade script (v1.2.2 is out now)". Perhaps I am looking in the wrong place.

Thanks again for your help. Rich K.

PS is the paypal link on your blog for your personal account??

KnoAll commented 5 years ago

Yes, you can run the upgrade to 1.2.3 directly. (no need to go to 1.2.3 first) from the cacti home directory do ./cacti-upgrade.sh the upgrade will also fix the permissions issue for the files that are already created.

Yes that is my personal

rkrasovich commented 5 years ago

OK thanks for your help.

rkrasovich commented 5 years ago

Just an FYI. I ran the upgrade scritp without issues. However, any the devices I add still have the incorrect rights to the /var/www/html/cacti/rra

KnoAll commented 5 years ago

try re-running the script with --fix-permissions