Hi
Currently we migrated website using duplicator plugin which the website was successfully migrated
The issue were having is accessing the admin panel wp-admin.
were getting the issue You do not have sufficient permissions to access this page
we have already deleted the .htaccess file and also checked the permissions on the phpmyadmin db
using this guide WordPress- Admin interface access permission issues
this is my docker compose file
i also thought it was permission but i also gave 777 to the HTML folder
version: '3.9'
services:
# Database
db:
image: mysql:8.0
volumes:
- /wordpress/db_data:/var/lib/mysql
restart: always
environment:
MYSQL_ROOT_PASSWORD: mypass
MYSQL_DATABASE: wordpress
MYSQL_USER: wordpress
MYSQL_PASSWORD: mypass
networks:
- wpsite
# phpmyadmin
phpmyadmin:
depends_on:
- db
image: phpmyadmin/phpmyadmin
restart: always
ports:
- '8083:80'
environment:
PMA_HOST: db
MYSQL_ROOT_PASSWORD: mypass
networks:
- wpsite
# Wordpress
wordpress:
depends_on:
- db
image: wordpress:latest
ports:
- '8084:80'
restart: always
volumes:
- /wordpress/html:/var/www/html
environment:
WORDPRESS_DB_HOST: db:3306
WORDPRESS_DB_USER: wordpress
WORDPRESS_DB_PASSWORD: mypass
networks:
- wpsite
networks:
wpsite:
volumes:
db_data:
html:
root@proxy:/wordpress/html# ls -l -h
total 82M
-rwxrwxrwx 1 www-data www-data 82M Jun 13 18:11 20220613_xx_39ad5bd678dadb4c1748_20220613214539_archive.zip
-rwxrwxrwx 1 www-data www-data 65K Jun 13 22:49 20220613_xxx_39ad5bd678dadb4c1748_20220613214539_installer-backup.php
drwxrwxrwx 8 www-data www-data 4.0K Jun 13 22:51 dup-installer
-rw-r--r-- 1 www-data www-data 2.2K Jun 14 02:03 dup-installer-bootlog__656eb9c-13214539.txt
-rwxrwxrwx 1 www-data www-data 3.2K Jun 13 22:51 dup-wp-config-arc__39ad5bd-13214539.txt
-rwxrwxrwx 1 www-data www-data 405 Jun 13 22:49 index.php
-rwxrwxrwx 1 www-data www-data 65K Jun 13 18:11 installer.php
-rwxrwxrwx 1 www-data www-data 20K Jun 13 22:49 license.txt
-rwxrwxrwx 1 www-data www-data 7.3K Jun 13 22:49 readme.html
-rwxrwxrwx 1 www-data www-data 7.0K Jun 13 22:49 wp-activate.php
drwxr-xr-x 9 www-data www-data 4.0K Jun 13 22:49 wp-admin
-rwxrwxrwx 1 www-data www-data 351 Jun 13 22:49 wp-blog-header.php
-rwxrwxrwx 1 www-data www-data 2.3K Jun 13 22:49 wp-comments-post.php
-rwxrwxrwx 1 www-data www-data 3.0K Jun 13 22:49 wp-config-sample.php
-rwxrwxrwx 1 www-data www-data 3.5K Jun 13 23:06 wp-config.php
drwxrwxrwx 7 www-data www-data 4.0K Jun 13 23:07 wp-content
-rwxrwxrwx 1 www-data www-data 3.9K Jun 13 22:49 wp-cron.php
drwxrwxrwx 26 www-data www-data 12K Jun 13 22:49 wp-includes
-rwxrwxrwx 1 www-data www-data 2.5K Jun 13 22:49 wp-links-opml.php
-rwxrwxrwx 1 www-data www-data 3.9K Jun 13 22:49 wp-load.php
-rwxrwxrwx 1 www-data www-data 48K Jun 13 22:49 wp-login.php
-rwxrwxrwx 1 www-data www-data 8.4K Jun 13 22:49 wp-mail.php
-rwxrwxrwx 1 www-data www-data 24K Jun 13 22:49 wp-settings.php
-rwxrwxrwx 1 www-data www-data 32K Jun 13 22:49 wp-signup.php
-rwxrwxrwx 1 www-data www-data 4.7K Jun 13 22:49 wp-trackback.php
-rwxrwxrwx 1 www-data www-data 3.2K Jun 13 22:49 xmlrpc.php
Thank you