Initially, when the Drupal site was set up all the media images were coming properly in the JSON API output. However, after migrating the Drupal site to another instance, the newly uploaded images or the updated images are getting lost in the JSON API results.
Observations:
I have tried setting the permissions for the private and public folder but nothing is working.
Also, there are no errors in the logs.
Both the old instance and new instance have the same configuration:
I have exported the database using the command: drush sql-dump --extra-dump=--no-tablespaces > /tmp/dbname.sql and imported the database in the new instance using the command drush sql-cli < /tmp/dbname.sql
I have also exported the private files folder by compressing it using the command: tar cfzv private.tar private
The tar file is extracted by using the command: tar -xf private.tar
Please help me with the issue.
Closed: outdated
9.3
Last updated
Not all content is available!
It's likely this issue predates Contrib.social: some issue and comment data are missing.