File permissions

Created on 13 March 2024, 9 months ago

Problem/Motivation

First of all, I have this module installed locally and it works fine without any issues.

My problem is that I have this same website on 2 different servers (Lagoon & Acquia) but something is not working properly there. I am able to upload and overwrite the file and it give me no errors. But when I check the old file is still same although the file size corresponds to the new file. I see no errors in the watchdog. Am a bit stumped. Could this be linked to a permission issue on the files folder or needs an additional extension since this is working fine on my local so it can't be site related, right?

πŸ’¬ Support request
Status

Closed: works as designed

Version

1.0

Component

Code

Created by

πŸ‡²πŸ‡ΊMauritius whiz11

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

  • Issue created by @whiz11
  • πŸ‡ΊπŸ‡ΈUnited States bkosborne New Jersey, USA

    But when I check the old file is still same although the file size corresponds to the new file.

    You checked the file on the filesystem, or the file metadeta that is stored in Drupal's database?

    If the file on the filesystem is showing the old contents but the new filesize, that seems ... impossible? How are you verifying the information? If it's by making an HTTP request for the file, it may be cached by your browser or some proxy cache.

  • πŸ‡²πŸ‡ΊMauritius whiz11

    I was just coming to update my issue to say that is browser cache related but you got to it before me :) Everything works as designed.

    I still don't understand one thing though, why is it that on my local, the new file loads fine but for the other servers, I need a hard refresh on the file?

  • Status changed to Closed: works as designed 9 months ago
  • πŸ‡ΊπŸ‡ΈUnited States bkosborne New Jersey, USA

    Other servers? If it's a browser cache issue, servers aren't involved - just the cache in each browser. Not sure I understand. But glad it's working out now!

Production build 0.71.5 2024