Skip to content

Upgrading via the command line #35

@jcopehub

Description

@jcopehub

Upgrading from the command line where the webroot is not owned by the webserver user

While the expression engine can be installed with an owner other then www-data, the system/user directory tree should be owned by www-data in order for the templates to synchronize correctly. That means running eecms upgrade as the non-www-data user fails because that user cannot write to the system/users/cache directory.

I wrote a script something like:
chown -R myadmin:myadmin /var/EEBLAHBLAH/system/user || exit
./eecms upgrade -v
chown -R www-data:www-data /var/EEBLAHBLAH/system/user

Error Messages

Does not apply


Additional context

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions