Skip to content

Upgrade can stall when checking permissions on csrf-secret.php #3253

@eschoeller

Description

@eschoeller

I do not have a csrf-secret.php file. I don't really know what it is. I do have a include/vendor/csrf/csrf-magic.php file, and a csrf-magic.js file, which came with the cacti distribution.

The installer fails to move forward when it sees the permissions for this file are incorrect, because it doesn't exist. My work-around to move forward with the install was simple:

$ sudo touch /cacti/cacti-1.2.9-prod/include/vendor/csrf/csrf-secret.php
$ sudo chown apache:apache /cacti/cacti-1.2.9-prod/include/vendor/csrf/csrf-secret.php

Then a refresh on the permissions requirement and everything was OK. But, if the csrf-secret.php is something I need ... I'd like to know more about it!

Metadata

Metadata

Assignees

Labels

bugUndesired behaviourinstallerInstallation issueresolvedA fixed issue

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions