I have a fresh Confluence 6.3 install (official Docker image) and when I edit a page and want to insert new emoticons, I can't see any pictograms/images. Tried it with three browsers - the images are always missing.
Screenshots:
Thanks!
UPDATE:
The isssue is solved now. User error :/
Since I am using Docker, I have created a docker-compose.yaml file. The relevant part looks like this:
version: '2' services: confluence: image: atlassian/confluence-server:6.3 restart: always ports: - "127.0.0.1:8090:8090" depends_on: - postgres volumes: - confluence-data:/var/atlassian/application-data/confluence - /opt/docker/mount/confluence-cfg-mount/server.xml:/opt/atlassian/confluence/conf/server.xml - /opt/docker/mount/confluence-cfg-mount/server.xml:/opt/atlassian/confluence/conf/web.xml
As you can see the last line mounts the *contents* of server.xml into the web.xml file. Confluence rightly complains about a directive missing - well the entire web.xml was missing but ok:
23-Aug-2017 16:14:52.643 SEVERE [localhost-startStop-1]org.springframework.web.servlet.DispatcherServlet.initServletBean Context initialization failed
confluence_1 | org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'defaultServletHandlerMapping' defined in class org.springframework.web.servlet.config.annotation.DelegatingWebMvcConfiguration: Bean instantiation via factory method failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [org.springframework.web.servlet.HandlerMapping]: Factory method 'defaultServletHandlerMapping' threw exception; nested exception is java.lang.IllegalStateException: Unable to locate the default servlet for serving static content. Please set the 'defaultServletName' property explicitly.
The weird thing though is that I did edit the web.xml file before because I changed the session timeout. I don't understand how Confluence was able to change my session timeout even though the web.xml file had the wrong contents...
However, if anybody else stumbles over this - you're welcome. Thank you all for your help. Special thanks to Ann for her dedication and perseverence :)
The screenshots you linked indicate that your Confluence instance must be integrated with HipChat to make the emoticons available. Here is the guide for linking the two applications: Use HipChat and Confluence together
I just want the standard emoticons, nothing else.
According to Atlassian's reponse via Twitter, this should work without HipChat integration:
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Standard Emoticons should be no problem at all.
Could you please add your screenshot in the community, because from my working place, I am not allowed to look at the imgur.com-site.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
what happens, if you just type (/) on your confluence page?
It should change immediately to:
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
It doesn't - that's why I have the slight suspicion that something is broken :)
Right after typing it the following happens:
in Chrome:
in Safari:
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
thanks for the screenshots. It looks like Confluence can't reach the emoji images on its server. Could you please have a look at the url, where your page tries to load the image?
Maybe a full reindex might also help.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Started a search re-index but it didn't help.
I tried to access a direct image url:
But then I get a Java Nullpointer exception:
As I mentioned, this is a fairly straightforward setup with the default Docker image. I did import some space, but this problem existed even before importing stuff.
Here is my nginx proxy conf:
user nginx;
worker_processes 1;
#error_log /dev/null;
error_log /var/log/nginx/error.log warn;
pid /var/run/nginx.pid;
events {
worker_connections 1024;
}
http {
include /etc/nginx/mime.types;
default_type application/octet-stream;
log_format main '$remote_addr - $remote_user [$time_local] "$request" '
'$status $body_bytes_sent "$http_referer" '
'"$http_user_agent" "$http_x_forwarded_for" "$proxy_host"';
access_log /dev/null;
#access_log /var/log/nginx/access.log main;
#sendfile on;
#tcp_nopush on;
keepalive_timeout 600;
proxy_connect_timeout 600;
proxy_send_timeout 600;
proxy_read_timeout 600;
gzip on;
include /etc/nginx/conf.d/*.conf;
server {
listen 80 default_server;
server_name myserver;
location /cf {
proxy_set_header X-Forwarded-Host $host:$server_port;
proxy_set_header X-Forwarded-Server $host;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_pass http://confluence:8090/cf;
client_max_body_size 500M;
}
location / {
proxy_set_header X-Forwarded-Port $server_port;
proxy_set_header X-Forwarded-Proto $http_x_forwarded_proto;
proxy_set_header Host $http_host;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_pass http://pihole;
}
}
}
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
@StefanN Sorry I misunderstood earlier.
What if you bypass the proxy to access the instance?
Please also check the permissions on the file system to make sure the user running Confluence can access the images.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I compared your url with an url from my system's thumbs_up.png
What happens, if you remove the "cf" part from the URL?
But anyway, I think, you have to contact Atlassian Support with this problem.
They can take a deeper look into the problem. You can then refer to this ticket, so you don't have to explain it all again.
Sorry, I couldn't help, good luck :-)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Tried to remove the "cf" part from the URL, now no image can be found.
Sadly I can't contact Atlassian Support because I am on the starter license and they killed official support for that a few weeks ago :(
Help me Atlassian Community, you're my only hope :)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks very much for your input, Thomas. Stefan's license makes him eligible for support here in the Community. He cannot open a ticket but I will be happy to take a deeper look here.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
@AnnWorley exactly...
Permissions are fine - just checked. As I said this is the default Docker image made by Atlassian. If the permissions were off, then every other Confluence instance powered by that image would have broken standard emoticons.
I accessed the confluence server on port 8090 via an ssh tunnel (server is headless...) and I have the same problem. So it is not related to the nginx proxy server.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Though you didn't upgrade, the symptoms are similar to what is described in: Broken avatars/icons in Confluence after an upgrade due to corrupted cache
Please try the resolutions in that article. I look forward to hearing how it goes.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Nope, still no luck. I performed all steps mentioned there and double-checked that I have set the correct context path as detailed here (Notes section at the bottom):
https://confluence.atlassian.com/doc/configuring-the-server-base-url-148592.html
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You should receive an email from our support portal shortly; it's me asking for logs. :)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
@AnnWorley @StefanN I started to face the same issue after upgrading to confluence 6.15.2. Can you please provide the resolution here, so that others can benefit from it.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.