and checking that locations shows there is no css folder:
ls -al /opt/seafile/seafile-server-latest/seahub
total 194
drwxr-xr-x 15 root root 35 May 11 07:06 .
drwxr-xr-x 10 root root 34 May 14 02:28 ..
drwxr-xr-x 2 root root 4 Mar 20 06:18 bin
-rwxr-xr-x 1 root root 1012 Mar 20 06:18 code-check.sh
-rw-r--r-- 1 root root 555 Mar 20 06:18 CONTRIBUTORS
-rw-r--r-- 1 root root 115 Mar 20 06:18 dev-requirements.txt
drwxr-xr-x 2 root root 5 Mar 20 06:18 fabfile
drwxr-xr-x 5 root root 10 May 11 07:09 frontend
drwxr-xr-x 3 root root 3 Mar 20 06:18 .github
-rw-r--r-- 1 root root 841 Mar 20 06:18 .gitignore
-rw-r--r-- 1 root root 2644 Mar 20 06:18 HACKING
-rwxr-xr-x 1 root root 3318 Mar 20 06:18 i18n.sh
-rw-r--r-- 1 root root 69540 Mar 20 06:18 LICENSE-thirdparty.txt
-rw-r--r-- 1 root root 555 Mar 20 06:18 LICENSE.txt
drwxr-xr-x 54 root root 54 Mar 20 06:18 locale
-rw-r--r-- 1 root root 979 Mar 20 06:18 Makefile
-rwxr-xr-x 1 root root 249 Mar 20 06:18 manage.py
drwxr-xr-x 11 root root 13 Jul 27 13:27 media
-rw-r--r-- 1 root root 9063 Mar 20 06:18 pylintrc
-rw-r--r-- 1 root root 9064 Mar 20 06:18 pylintrc.template
-rw-r--r-- 1 root root 101 Mar 20 06:18 pytest.ini
-rw-r--r-- 1 root root 1418 Mar 20 06:18 README.markdown
-rw-r--r-- 1 root root 277 May 11 07:06 requirements.txt
-rwxr-xr-x 1 root root 48 Mar 20 06:18 run-seahub.sh.template
drwxr-xr-x 43 root root 57 Jul 27 13:27 seahub
-rwxr-xr-x 1 root root 310 Mar 20 06:18 send_user_notifications.sh.template
-rw-r--r-- 1 root root 224 Mar 20 06:18 setenv.sh.template
drwxr-xr-x 2 root root 6 Mar 20 06:18 sql
drwxr-xr-x 4 root root 4 Mar 20 06:18 static
-rw-r--r-- 1 root root 66 Mar 20 06:18 test-requirements.txt
drwxr-xr-x 6 root root 11 May 11 07:09 tests
drwxr-xr-x 79 root root 83 May 14 02:28 thirdpart
drwxr-xr-x 2 root root 9 Mar 20 06:18 tools
-rw-r--r-- 1 root root 1412 Mar 20 06:18 .travis.yml.bak
drwxr-xr-x 2 root root 3 May 11 07:06 .tx
OK, sorry, let me correct myself. /media points to /opt/seafile/seafile-server-latest/seahub and there is a media subfolder but this still doesn’t work
But let me ask you these questions:
a.) Does the file default.png exist in …/media/avatars/?
b.) What happens when you click on the links https://cloud.local … / media/avatars/default.png? Does the file open?
If the avatar picture opens, please empty your browser cache and try again.
If not, please check the permissios for the file/the folder in your docker container. Is the owner the same user that runs Seafile?
Another idea: Can you purge your memcached cache if you use memcached?
talking about permissions, since I didn’t find any documentation about changing the user seafile runs as I assume it runs as root. so when I created my docker-compose.yml I mounted a folder as a volume to save my persistent data like this:
volumes:
- /local/path/seafile/data:/shared
so everything in there is owned by root and this seems ok as all the content was created by the seafile container anyway.
ls -al /local/path/seafile/data/seafile/seahub-data/avatars/
total 75
drwxrwxr-x 3 root root 5 Aug 4 17:50 .
drwxr-xr-x 5 root root 5 Jul 27 15:55 ..
-rw-r--r-- 1 root root 3869 Mar 20 07:18 default-non-register.jpg
-rw-r--r-- 1 root root 7642 Mar 20 07:18 default.png
drwxrwxr-x 2 root root 3 Jan 16 2020 groups
I do use memcached but since I have started this thread I have stopped and removed, recreated these countainers a couple of times and memcached does not use persistent data so this should not help at all.
please edit conf/ccnet.conf SERVICE_URL to domain without port. the map error stays but the icon is loaded. i had the same problem with a fresh installation of seafile pro on docker.