- Проблема с Confluence
- Срочно обновите серверы Confluence
- Что собой представляет уязвимость CVE-2021-26084
- Какие версии Confluence уязвимы
- Как остаться в безопасности
- It’s not the same without you
- Перестал запускаться Confluence на сервере
- 2 answers
- Suggest an answer
- Was this helpful?
- Confluence Mythbusters: Does Atlassian even use Confluence?
- Community Events
- Confluence Support
- Knowledge base
- Products
- Jira Software
- Jira Service Management
- Jira Core
- Confluence
- Bitbucket
- Resources
- Documentation
- Community
- Suggestions and bugs
- Marketplace
- Billing and licensing
- Viewport
- Confluence
- Upgrading Confluence
- Confluence installation and upgrade guide
- On this page
- In this section
- Related content
- Still need help?
- Before you begin
- Plan your upgrade
- 1. Determine your upgrade path
- Enterprise releases
- 2. Complete the pre-upgrade checks
- 3. Upgrade Confluence in a test environment
- Upgrade Confluence
- 4. Back up
- 5. Download Confluence
- 6. Run the installer
- After the upgrade
- 7. Copy your database driver
- 8. Reinstall the service if required (Windows only)
- 9. Re-apply any modifications
- 10. Update your apps (add-ons)
- 11. Update your reverse proxy and check you can access Confluence
- Troubleshooting
Проблема с Confluence
Добрый день. Задача посадить confluence на https. Хотел спросить, кто сталкивался с такой задачей? После модификации данных конфигов открывается https://confluence.my.com:8443, но выдаёт пустую страницу и сертификатов не видит. Подскажите пожалуйста.
Настроили конфиг nginx , в файле server.xml раскомментировали следующую часть :
в файл web.xml добавили :
У меня оно на простом http, но доступен только из локалки, а в сеть выставлен nginx уже с https. Какой смысл делать бэкенд с https? Даже для установки confluence/jira, только timeout побольше выставить, чтобы не было bad gateway.
0. Верни все как было
1. Поскольку во фронтэнде nginx, настрой https на нем
2. Переадресуй запросы из nginx на бэкенд tomcat, порт 8090 (кажется он такой по дефолту)
3. В confluence, server.xml, в параметры «connector port=8090» пропиши scheme=https и proxyname=dns_name по которому ты подключаешься к confluence, чтобы редиректы нормально работали.
https://confluence.atlassian.com/confeap/running-confluence-behind-nginx-with.
4. Все же читай сначала документацию, слава богу у Atlassian она есть и хорошая.
После того, как все сделаешь и проверишь, что работает — усложняй схему по необходимости.
так вот в сеть и нужно выставить nginx с https, но сертификаты он не видит, 8443 порт слушает. страница аутентификации не выходит.
Есть изменить server.xml, то он будет подключаться с 8090 на 8443. Ты говоришь, чтобы с 8090 сделать редирект на 8443?
Так ты настрой https только на nginx, в конфиге nginx, а свой коннектор с 8443 портом вообще убери, тебе не нужен https на tomcat. И поставь нормальный коннектор, например, который тебе дал предыдущий оратор. У тебя в сеть должен быть выставлен только nginx 443 портом. А 8090 порт у тебя вообще должен быть заблочен фаерволлом, если у тебя nginx на той же машине конечно же.
Фаерволла нет,а вообще конфлуенсе до этого работал на порту 8090 с редиректом с другого поддомена 🙂 хорошо сейчас попробую твой вариант с 443 портом. Да,всё лежит на одной машине.
Кто будет куда подключаться?
Я тебе написал, что надо сделать, дал ссылку на документацию, где написано детально, куда и как.
Вместо этого получил в ответ бессвязный набор слов. ((
Установить сертификат в конфл нужно чтоб избавиться от срача в логах, хотя полностью от него избавится и не получится, но какие-то кейсы это фиксит и это факт.
Источник
Срочно обновите серверы Confluence
Злоумышленники ищут уязвимые серверы Confluence и эксплуатируют уязвимость CVE-2021-26084.
6 сентября 2021
В конце августа компания Atlassian объявила о выпуске обновления для исправления уязвимости CVE-2021-26084 в корпоративных вики-системах Confluence. Не прошло и недели, как эксперты обнаружили массовое сканирование в поисках уязвимых серверов Confluence и активные попытки эксплуатации. Мы рекомендуем всем администраторам как можно скорее обновить Confluence Server.
Что собой представляет уязвимость CVE-2021-26084
CVE-2021-26084 — это уязвимость Confluence, возникшая из-за использования языка Object-Graph Navigation Language (OGNL) в системе тегов. Уязвимость позволяет произвести инъекцию кода на OGNL и таким образом исполнить произвольный код на машинах, где развернут Confluence Server или Confluence Data Center, причем в некоторых случаях эксплуатировать ее может даже неаутентифицированный пользователь (в том случае, если в Confluence включена опция Allow people to sign up to create their account).
Atlassian оценивает эту уязвимость как критическую: по системе CVSS ей присвоен рейтинг 9,8. К тому же в Интернете уже появилось несколько демонстраций использования этой уязвимости, в том числе и вариант, допускающий удаленное исполнение кода (RCE).
Какие версии Confluence уязвимы
С перечнем уязвимых версий у Atlassian достаточно сложно — клиенты используют Confluence разных версий и зачастую не спешат переходить на самую свежую (зачем, если и так все работает). Согласно официальному описанию, выпущены обновления для версий 6.13.23, 7.4.11, 7.11.6, 7.12.5 и 7.13.0. Соответственно, CVE-2021-26084 все еще можно проэксплуатировать в версиях, предшествующих 6.13.23, а также версиях начиная с 6.14.0 и до 7.4.11, с 7.5.0 до 7.11.6, с 7.12.0 до 7.12.5. Пользователей Confluence Cloud проблема не затрагивает.
Как остаться в безопасности
Atlassian рекомендует клиентам переходить на самую свежую версию Confluence — 7.13.0. Но если это невозможно, то пользователям версий 6.13.x рекомендуют перейти на 6.13.23; 7.4.x на 7.4.11, 7.11.x на 7.11.6, а 7.12.x — на версию 7.12.5. Если же и это по каким-то причинам невозможно, то компания предлагает несколько временных обходных путей как для решений под системы семейства Linux, так и для Microsoft Windows. Подробную информацию о них можно найти на сайте компании.
Со своей стороны хотим напомнить, что машины, на которых развернут Confluence, — точно такие же конечные точки, как и все прочие серверы. А следовательно, нуждаются в защитном решении — это затруднит потенциальным злоумышленникам исполнение произвольного кода. Кроме того, для удаленной эксплуатации уязвимости злоумышленникам потребуется добраться до сети компании, а такую подозрительную активность могут выявить эксперты сервисов класса Managed Detection and Response. Также стоит ограничивать доступ к Confluence — внутренние сервисы компании не должны быть доступными извне.
Источник
It’s not the same without you
Join the community to find out what other Atlassian users are discussing, debating and creating.
- Community
- Products
- Confluence
- Questions
- Перестал запускаться Confluence на сервере
Перестал запускаться Confluence на сервере
После перезагрузки сервера перестал запускаться Confluence
в браузере страница не открывается
административная консоль так же не открывается
2 answers
@Andrey Dubinin, что говорят последние логи? Найти их можно тут:
- /logs/atlassian-confluence.log и
- /logs/catalina- .log
You must be a registered user to add a comment. If you’ve already registered, sign in. Otherwise, register and sign in.
Look at this posts, maybe can help you
You must be a registered user to add a comment. If you’ve already registered, sign in. Otherwise, register and sign in.
Suggest an answer
Still have a question?
Get fast answers from people who know.
Was this helpful?
Thanks!
DEPLOYMENT TYPE
Sharon Tan
Confluence Mythbusters: Does Atlassian even use Confluence?
Hi, Confluence collaborators! As part of #Confluence-Collaboratory month, we’ve created a very special Mythsbusters segment, where we’re dive into an interesting myth and uncover the truth behind i.
Community Events
Connect with like-minded Atlassian users at free events near you!
Connect with like-minded Atlassian users at free events near you!
Find events near me
Unfortunately there are no Community Events near you at the moment.
You’re one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events
Источник
Confluence Support
Knowledge base
Products
Jira Software
Project and issue tracking
Jira Service Management
Service management and customer support
Jira Core
Manage any business project
Confluence
Bitbucket
Git code management
Resources
Documentation
Usage and admin help
Community
Answers, support, and inspiration
Suggestions and bugs
Feature suggestions and bug reports
Marketplace
Billing and licensing
Frequently asked questions
Viewport
Confluence
Versions
Upgrading Confluence
Confluence installation and upgrade guide
On this page
In this section
Related content
Still need help?
The Atlassian Community is here for you.
In this guide we’ll run you through using the installer to upgrade your Confluence site to the latest Confluence version on Windows or Linux.
Upgrading to any later version is free if you have current software maintenance. See our Licensing FAQ to find out more.
Other ways to upgrade Confluence:
- Manually – upgrade Server or single-node Data Center without using the installer.
- Cluster with downtime – upgrade your Data Center cluster.
- Cluster without downtime — rolling upgrade to a compatible bug fix version, with no downtime.
XML backups should not be used to upgrade Confluence.
On this page:
Before you begin
Before you upgrade Confluence, there’s a few questions you need to answer.
Which upgrade method is the best option?
You will need to upgrade manually if you are:
- moving to another operating system or file location as part of this upgrade.
- upgrading from Confluence 3.5 or earlier
- upgrading from Confluence 5.6 or earlier and previously used the EAR/WAR distribution to deploy Confluence into an existing application server.
- performing a rolling upgrade, and you need to upgrade each node individually.
Are you eligible to upgrade?
- Software maintenance: upgrade at any time during this period.
If your support period has expired, follow the prompts to renew your license and reapply it before upgrading.
Have our supported platforms changed?
Check the Supported Platforms page for the version of Confluence you are upgrading to. This will give you info on supported operating systems, databases and browsers.
Good to know:
- The Confluence installer includes Java (JRE) and Tomcat, so you won’t need to upgrade these separately.
- If you need to upgrade your database, be sure to read the upgrade notes for the Confluence version you plan to upgrade to (and any in-between) to check for any database configuration changes that you may need to make.
Good to know:
We use Upgrade Notes to communicate changes that will impact you, such as:
- Changes to supported databases, memory requirements or other changes that will impact your environment.
- Features that have significantly changed or been removed in this release.
- Actions you may need to take in your instance or environment immediately after the upgrade.
It’s important to read the notes for the version you’re upgrading to and those in-between. For example, if you are upgrading from 5.8 to 5.10 you should read the upgrade notes for 5.9 and 5.10.
Plan your upgrade
Create a custom upgrade plan
Planning an upgrade? You can instantly generate a tailored upgrade plan from within Confluence. Head to > General Configuration > Plan your upgrade
You’ll need to have a compatible version of the Troubleshooting and Support tools app installed. Learn more
1. Determine your upgrade path
Use the table below to determine the most efficient upgrade path from your current version to the latest versions of Confluence.
Recommended upgrade path to Confluence 7
Upgrade to 5.0.3, and follow paths below.
Upgrade to 5.10.x , and follow paths below.
If you are upgrading to the next bug fix update (for example, from 7.9.0 to 7.9.4), you can upgrade with no downtime.
Confluence 7 is a major upgrade
Be sure to check the Confluence Upgrade Matrix, take a full backup, and test your upgrade in a non-production environment before upgrading your production site.
Enterprise releases
Long Term Support releases were originally referred to as Enterprise Releases .
2. Complete the pre-upgrade checks
Check the Upgrade Notes for the version you plan to upgrade to (and any in between).
Go to > General Configuration > Plan your upgrade then select the version you want to upgrade to. This will run some pre-upgrade checks.
Go to > General Configuration > Troubleshooting and support tools to run the health check.
If the software maintenance period included in your license has expired you can keep using Confluence, but you’ll need to renew before you can upgrade.
Go to > General Configuration > License Details and follow the prompts to renew your license.
If you are using the embedded (trial) database you should migrate to a different database before upgrading. See Embedded H2 Database for more information.
Database character encoding must be set to UTF+8 (or AL32UTF8 for Oracle databases). You will not be able to upgrade to current Confluence versions unless you have the correct character encoding.
Go to > Manage apps and scroll down to the Confluence Update Check to check the compatibility of your Marketplace apps.
Choose the version you plan to upgrade to then hit Check.
If your users rely on particular Marketplace apps, you may want to wait until they are compatible before upgrading Confluence. Vendors generally update their apps very soon after a major release.
Good to know:
- You can disable an app temporarily while you upgrade if it is not yet compatible.
- Compatibility information for Atlassian Labs and other free apps is often not available immediatley after a new release. In many cases the app will still work, so give it a try in a test site before upgrading your production site.
3. Upgrade Confluence in a test environment
- Create a staging copy of your current production environment.
See Create a staging environment for upgrading Confluence for help creating an environment to test your upgrade in.
Follow the steps below to upgrade your test environment.
Test any unsupported user-installed apps, customizations (such as custom theme or layouts) and proxy configuration (if possible) before upgrading your production environment.
Upgrade Confluence
4. Back up
- Back up your database and confirm the backup was created properly.
If your database does not support online backups you’ll need to stop Confluence first.
Once you’ve confirmed your database backup was successful, you can choose to disable the automatic generation of an upgrade recovery file, as this process can take a long time for sites that are medium sized or larger.
Back up your home directory.
The installation wizard gives you the option to also back up your home directory as part of the installation process, but you should also back up this directory manually before starting the upgrade.
You can find the location of your home directory in the /confluence/WEB-INF/classes/confluence-init.properties file.
This is where your search indexes and attachments are stored. If you store attachments outside the Confluence Home directory, you should also backup your attachments directory.
5. Download Confluence
Download the installer for your operating system.
6. Run the installer
Run the installer.
Run the .exe file. We recommend using a Windows administrator account.
If prompted to allow the upgrade wizard to make changes to your computer, choose ‘Yes‘. If you do not, the installation wizard will have restricted access to your operating system and any subsequent installation options will be limited.
Change to the directory where you downloaded Confluence then execute this command to make the installer executable:
Where X.X.X is is the Confluence version you downloaded.
Next, run the installer – we recommend using sudo to run the installer:
You can also choose to run the installer with root user privileges.
Follow the prompts to upgrade Confluence:
- When prompted choose Upgrade an existing Confluence installation (for Linux users this is option 3).
- Make sure the Existing Confluence installation directory suggested by the wizard is correct (especially important if you have multiple Confluence installations on the same machine).
- Back up Confluence home is strongly recommended. This will create a .zip backup of the Confluence home and installation directories.
The installation wizard notifies you of customizations in the Confluence Installation directory. Make a note of these as you’ll need to reapply them later.
The installation wizard’s ability to notify you about customizations will depend on how your existing Confluence instance was installed:
- If your current Confluence instance was installed using the installer, the wizard will check the entire Confluence Installation directory.
- If your current Confluence instance was installed manually it will only check the confluence subdirectory of the Confluence Installation directory. The installation wizard will not notify you of modifications in any other directory, for example modifications to start-up scripts under the bin directory or modifications to the server.xml file (such as an SSL configuration).
You won’t be notified about files you’ve added to the installation directory, so be sure to back them up first.
The wizard will shut down your Confluence instance and proceed with the upgrade. Once complete, it will restart Confluence and you can then launch Confluence in your browser to confirm the upgrade was successful.
Depending on the size of your instance and the number of upgrade tasks to be run, this step may take a few minutes or several hours.
After the upgrade
7. Copy your database driver
Microsoft SQL and Postgres users can skip this step.
8. Reinstall the service if required (Windows only)
If you run Confluence as a service on Windows you should delete the existing service then re-install the service by running /bin/service.bat .
This makes sure the service gets the most recent JVM options.
9. Re-apply any modifications
During the upgrade the wizard migrated the following from your existing Confluence installation:
- TCP port values in your /conf/server.xml file.
- Location of your Confluence home directory in /confluence/WEB-INF/classes/confluence-init.properties .
All other customizations, including CATALINA_OPTS parameters in your /bin/setenv.sh / setenv.bat files, need to be reapplied manually.
Any other configurations, customizations (including any other modifications in the /conf/s erver.xml file), the path to your own Java installation in /bin/setjre.sh , or setjre.bat , or additional files added to the installation directory are not migrated during the upgrade and need to be reapplied manually.
- Stop your upgraded Confluence instance.
- Edit each file, and reapply the customizations in your upgraded Confluence Installation directory.
- Copy over any additional files (such as keystore or SSL certificate)
- Restart the upgraded Confluence instance.
We strongly recommend you test your customizations in a test instance prior to upgrading your production instance as changes may have been made to Confluence that make your customizations unusable.
Edit the new file manually, rather than copying over the old file, as the default configuration in these files may have changed between Confluence versions.
10. Update your apps (add-ons)
You can update any apps that are compatible with the new version of Confluence.
> Manage apps
At this stage, it can be useful to clear your plugin cache. Learn how to do this
This is optional, but can be useful to avoid any issues with third-party apps and plugins.
11. Update your reverse proxy and check you can access Confluence
Once your upgrade is complete, you should access Confluence (via your reverse proxy, not directly) and:
- Head to
>General Configuration >Collaborative editing and check the Synchrony status is running.
- Edit any page to check that your browser can connect to Synchrony.
See Troubleshooting Collaborative Editing for suggested next steps if Synchrony is not running or you see an error in the editor, as you may have a misconfigured reverse proxy.
Troubleshooting
Did something go wrong?
If you need to retry the upgrade, you must restore your pre-upgrade backups first. Do not attempt to run an upgrade again, or start the older version of Confluence again after an upgrade has failed.
- Can’t proceed with upgrade because license has expired
If your license has expired and was not renewed and reapplied before upgrading you will receive errors during the upgrade process. See upgrading beyond current license period for information on how to resolve this problem. - Can’t proceed with upgrade because of a conflict with anti virus
Some anti-virus or other Internet security tools may interfere with the Confluence upgrade process and prevent the process from completing successfully, particularly if you run Confluence as a Windows service. If you experience or anticipate experiencing such an issue with your anti-virus / Internet security tool, disable this tool first before proceeding with the Confluence upgrade. - Database does not support online backups
The upgrade wizard will prompt you to backup your database using your database’s backup utilities. If your database does not support online backups, stop the upgrade process, shut down Confluence, perform your database backup and then run the installer again to continue with the upgrade. - Upgrade is taking a very long time
If you have a very large database (i.e. database backups take a very long time to complete), setting the confluence.upgrade.recovery.file.enabled system property to false will speed up the upgrade process. It should be used only when there is a process to back up database and verify the backup before performing an upgrade. - Confluence doesn’t start
Incompatible Marketplace apps can occasionally prevent Confluence from starting successfully. You can troubleshoot the problem by starting Confluence with all user installed apps temporarily disabled. See Start and Stop Confluence for more info. - Collaborative editing errors
If Synchrony is not running or you see an error, head to Troubleshooting Collaborative Editing for info on how to get collaborative editing up and running in your environment. The most common problems are a misconfigured reverse proxy or port 8091 not being available for Synchrony.
Space directory is empty after the upgrade
If you are upgrading from Confluence 6.3 or earlier, there’s a known issue where spaces do not appear in the space directory. You’ll need to reindex your site after upgrading to fix this.
You can also refer to the Upgrade Troubleshooting guide in the Confluence Knowledge Base, or check for answers from the community at Atlassian Answers.
Источник