Every single time I click "Insert Link" and then try to Upload a File it gives me the error: "Could not upload the file to Confluence. The server may be unavailable." If I then click cancel and then go back to Insert Link > Files, the file I tried to upload is uploaded. Why must I need to go through this process of clicking cancel and then clicking back into Insert Link for it to work properly? Any help is greatly appreciated.
Sometimes the issue you are reporting occurs when the base URL does not match the URL you are using. This page has two other possible causes as well as resolutions: Upload attachment function does not work in editing mode
I look forward to hearing whether any of the resolutions work for your case.
I have confirmed that the configured base URL matches the URL used to access Confluence via browser so that should not cause the issue.
We do have Brikit Theme Press. How can I check what version of Confluence I have? I don't believe we would have a legacy version because we just signed on in September. If Brikit is in fact causing issue is there anything else we can do to solve for this? Or will this just keep happening?
If Brikit is causing the issue we can move your question to the part of the Community where the Brikit support team can address it. Maybe they will recommend a newer version of Brikit.
To check your version of Confluence, please go to Confluence Admin>System Information. Alternately, on many instances there will be a "powered by Atlassian Confluence" footer with the version:
Looks like we have Confluence 6.4. According to the page you sent me to, the Brikit issue was only reported with legacy versions (e.g. Confluence 5.6.X). Therefore still not sure what it could be.
If you still think it is a Brikit issue, can you please move my question appropriately?
Thanks for checking the version.
I just tested Brikit Theme Press 2.1.1 with Confluence 6.4 and I was able to upload attachments in the editor without the error message. So I think we need to collect more information.
I look forward to hearing what you find.
The logs are on the file system. The install directory is where all the Confluence program files are, it's specified when Confluence is installed and varies between instances so I am not sure what yours is.
On the Confluence Admin>System Information page the Application Server Working Directory is <your_confluence_install>/bin, in case you need to find it.
If you don't have easy access to the file system a useful tool is the Support Zip. You generate that under Confluence Admin>Support Tools> Support Zip tab. After you generate it you can download it from a link that will be displayed. (Then unzip it.) The install logs will be in the folder tomcat-logs and the atlassian-confluence.log will be in the application-logs directory.
Not sure exactly what to look for. I can send over the zip file if that will be easier, but here are snippets of what I see:
-- url: /display/AC/Accounting+Home | traceId: 7e51035481edc779 | userName: merchandmark | referer: http://intranet.cswo.com/display/AC/Accounting+Home
-- url: /brikit/pages/editpage.action | page: 1181003 | traceId: 97244d066acf0814 | userName: merchandmark | referer: http://intranet.cswo.com/display/AC/Accounting+Home?reload=true | action: editpage
-- url: /display/AC/Accounting+Home | traceId: a9275868e3d6ea62 | userName: merchandmark | referer: http://intranet.cswo.com/display/AC/Accounting+Home
-- url: /brikit/pages/editpage.action
referer: http://intranet.cswo.com/display/MAR/Marketing+Home1 | url: /plugins/brikit/pages/apply.action | traceId: 9435d222d63249f8 | userName: merchandmark
2017-11-22 19:42:37,436 ERROR [http-nio-8090-exec-7] [[Standalone].[localhost].[/].[servlet-module-container-servlet]] log Servlet.service() for servlet [servlet-module-container-servlet] in context with path  threw exception
java.io.IOException: Not a valid requested file in http://intranet.cswo.com/plugins/servlet/themepress/brikitservlet/designs/themes/Lumen2/images/
The errors mentioned above are known bugs in Theme Press which are currently being tracked on the following tickets:
The second issue, which we are still investigating, happens when a theme file (eg. image) cannot be found in the server. This is theme specific and it is triggered during GET requests and not POST.
@Digital Media could you attach a Support Zip in our open CC ticket for us to investigate further?
Not an answer but a pile on. I'm on Confluence Data Center v7.3.5 and we don't even see the error. There's just a really quick flicker and the dialog is unchanged. If I click Cancel and then immediately try again, the file I was trying to upload from a local folder is there and then I can add it as a link. A user brought it to my attention - Until recently we were on Confluence Server v6.1.2 and I always used the Attachments method of getting files to a page and then I'd go in Edit mode and surface the attached document in whatever way made sense at the time. I don't think Link > Files was even an option in 6.1.2.
Anyway, we don't have Brikit installed so that's not what's going on for us. We have very few apps inf act.
Atlassian's marketplace partners have had a very productive start to 2021! Since our last roundup, our developer community has added over 160 new cloud apps to the Atlassian Marketplace to help you...
Connect with like-minded Atlassian users at free events near you!Find an event
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no Community Events near you at the moment.Host an event
You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events