youngmon/atlassian-qna huggingface dataset:
upgrade 3.5-> 4.3.2 (windows) how to safely switch to running tomcat as a service
Asked by Linda Petty:

Hi

I've just done a test upgrade confluence 3.5-\> 4.3.2

My question is how can I safely switch to running tomcat as a service from running it in a command window?

I upgraded on the TEST server using the intaller. At the end I got a warning not to close the windows cmd window that had opened running TOMCAT.

Then I tested the TEST site all good.

On the live site we run TOMCAT as a service so on the TEST site I needed to switch. So I closed the tomcat cmd window and started the Apaches tomcat service setting it to start automatically in future (it had not been running and was set to manual).

After that on dashboard.action I see a 404 error where the recent activity was showing before. I edited a page but still got the 404 on dashboard.action

How can I safely switch to tomcat as service??

thanks!!


Answers:
author: Jobin Kuruvilla [Adaptavist]
body: See <https://confluence.atlassian.com/display/DOC/Start+Confluence+Automatically+on+Windows+as+a+Service>

comments: author: Jobin Kuruvilla [Adaptavist]
body: It is relevent to 4.3.2 as well.


author: Linda Petty
body: OK that's great. Many thanks!!


author: Linda Petty
body: OK Thanks Jobin, I looked at this. But at the top it says

"**Confluence Latest** -- This documentation is for Confluence OnDemand and **Confluence 5.0** developer (EAP) releases only." so I assumed it wouldn't be relevant to v4.3.2.

Can you confirm this actually revelant to v4.3.2?

Many thanks!!


Tags: service

tomcat

upgrade

windows
Any way to tell when a page was last viewed?
Asked by Damen Knight:

One of the things we'd like to do with our confluence instance (which is getting quite large) is find the pages that are old and that noone visits and clean them out. Unfortunately, I havent been able to figure out any way to tell when a page was last viewed. It seems like this sort of information must be in the system somewhere. Does anyone know of a macro or plugin that would make it accessible? Or failing that, how I would access the information directly from the DB or elsewhere so I could write something?


Answers:
author: Thomas Schlegel
body: Hi Damen,

have a look at the tracking plugin from customware (<https://marketplace.atlassian.com/plugins/net.customware.confluence.plugin.tracking>)

This plugin counts the hits of each page, so you can find out, which pages are not visited. It can also give you the value of the last visit.

Cheers

Thomas

comments: author: Damen Knight
body: that looks perfect, thank you kindly!


author: Midori
body: [Archiving Plugin](https://marketplace.atlassian.com/plugins/com.midori.confluence.plugin.archiving) tracks Confluence page views just for the very same purpose you mentioned. We built this plugin to find the pages that are [not viewed by anyone](http://www.midori-global.com/products/confluence-archiving-plugin/documentation/page-view-tracking) in a configurable period, and also those that are [not updated by anyone](http://www.midori-global.com/products/confluence-archiving-plugin/documentation/page-expiration-tracking) in another period.

You can set up flexible rules and be auto-notified when the plugin finds pages that match these criteria (see the screenshot).

Even better, the plugin can actually do the "clean them out" part instead of you. Instead of permanently deleting the old pages (which may not be a good idea), it can [move them to archive spaces](http://www.midori-global.com/products/confluence-archiving-plugin/documentation/page-archiving).

**[See the full user manual](http://www.midori-global.com/products/confluence-archiving-plugin/documentation/)**

notification-email-not-viewed.png  
[](https://community.atlassian.com/t5/Confluence-questions/Any-way-to-tell-when-a-page-was-last-viewed/qaq-p/422420?attachment-id=5840){#link_11962f4b59b11b}  
[](/tnckb94959/attachments/tnckb94959/confluence-questions/71637/1/notification-email-not-viewed.png){#display_11962f4b59b11b_0}
profile picture
Asked by Alexander Theiss:

When working with a profile picture and using the command show user profile a get an error message: page does not exist or you don not have permission to seee the page.

My profile doesn t have any restriction. Two days ago everything was working fine.

Whe I try to insert a pprofile picture with the makro no user is shown in the field for entering user names.


Answers:
author: Ivan Maduro
body: Hi Alexander,

This is likely caused by an error that has occured after the last maintenance. The People Directory cache has been cleared and needs to be re-indexed. Every part of Confluence that relies on the user cache will fail to find a result.

You can start a re-index from the following link **https://** **\<yourdomain\>.atlassian.net/wiki/admin/search-indexes.action**

Click on 'rebuild' and this will run for a few minutes, your users will still be able to access Confluence during this. Once complete, you should be able to insert and do searches for users as before.

Cheers,

Ivan.


Tags: cloud

confluence-cloud
Drop down list when editing an existing page
Asked by KPAH:

Hi. I have already saved pages, created from templates that use drop-down menus to select values for certain fields.

I would like to retain this drop-down lists for later editing of the same pages. Is there a way to insert a drop-down selector to a saved page, so that it would somehow save current state and show it on page render, yet allow to change the value on page editing.

The values should be preset without user input.

Thanks


Answers:
author: KPAH
body: no comments


author: BernardoA
body: Honestly I'm not sure if is possible, but I suggest you to take a look at this plugin which is similar from what you requested:

<https://marketplace.atlassian.com/plugins/net.customware.confluence.plugin.scaffolding>


Tags: select-list
Few questions about confluence
Asked by Gerga Alex:

Hello

1. What is the difference between USERS and ACCOUNTS? Here I see <http://atlassian.com/software/confluence/overview/team-collaboration-software> (users), here <https://confluence.atlassian.com/display/DOC/Server+Hardware+Requirements+Guide> (accounts). I do not understand. Tell me please

<br />

2. Many administrators say that there (<https://confluence.atlassian.com/display/DOC/Server+Hardware+Requirements+Guide>) is a table untrue. Java uses a lot more RAM. What is the real RAM need for 5, 10, 15, 25 users.

Thank You!  


Answers:
author: Nic Brough -Adaptavist-
body: Users are people who are going to use the system

Accounts is a little more general, as you could be talking about:

* user accounts - each user needs an account in order to use the system
* "dummy" accounts - these look like users, but are set up to be used by scripts or programs either internal or external, or for flagging purposes or organisational reasons, or, or, or - the important thing is that there isn't really a human behind them.
* Accounts on the operating system to enable things to work.

Example - if I log into our confluence server, I log in as "nic" into the operating system. I can see confluence running as an operating system user with an account called "conflu", which logs into the database using an account called "conf". On the front-end confluence web-ui, I log in as "nicb"

RAM is a more difficult one. For a smaller installation under light load (i.e. up to 25 users, and no heavy reporting or automation requirements), then I'd say the document you have found is generally quite accurate.

comments: author: Gerga Alex
body: 1. So, are users like administrators that own the system and can control the accounts, distribute the spaces, accesses?

2. About the fact that confluence consumes a lot of RAM I was told by the persons that were using version 2.9.1. As I understood in version 4.1 this problem was solved. Am I right?


author: Nic Brough -Adaptavist-
body: 1. I think you're trying to over-simplify it. Think of a user as a human. That human is given an account on a system. They use that account to do things in the system. One of the things they can do in the system \*might\* be to administrate other users. Most user-accounts won't have the rights to do that, but you do need some who can.

In the example I gave above, I've mentioned four accounts, but only one human user. That human (me) has a confluence account, and a unix account. There's a non-human account called "conflu" on the unix machine, and another account "conf" on the database.

Sometimes, people use "user" and "account" to talk about similar things, and the way I'm thinking of them may not be the same as the way other people use them. For example, someone might call "conflu" a "user", even though there's no human involved.

2. It does improve in later versions of Confluence - the jump from 2.9 to 3.something made a noticable difference in the systems I've upgraded. I've not spent a lot of time on 4.x yet, but at a glance, it's better than 3 as well.
Can't create an application link between JIRA and Confluence while over SSL
Asked by jiraguy:

Hi,

I am currently recieveing an error whenever I try to connect JIRA and Confluence. They are both running on same server but separate Tomcat instances. In addition, they are both running over SSL.

Everytime I try to make a Application link between the two I get the following message: " The host doesn't respond. Change the URL or click Next to confirm. " However, of course both are running. Any ideas on how to solve this issue?

Cheers,

Graham


Answers:
author: Alex Perez
body: Can you access from the server to the two apps using the https URL? maybe it's a DNS issue


author: Farzad Panahi
body: I have the same problem. Did you find the fix?


author: Hemal Udani
body: are you using Apache as proxy for tomcat? If so, where does the SSL terminate? on Apache?

comments: author: jiraguy
body: There is no proxy currently being used.


author: Jobin Kuruvilla [Adaptavist]
body: Are you using the https url? If so, what is the error in logs? You might have to import the public certificate in to the Java keystore.

comments: author: jiraguy
body: Yes, I am using the HTTPS url. I assumed it may be a better idea to use the non HTTPS urls for the Application link but it tells me it can't even access via that url even though I can navigate to them.


Tags: jira

ssl
Team Calendars trial : no Confluence users recognized
Asked by Lucian Masalar:

I started a free trial for Team Calendars in our Atlassian OnDemand.

Every time I try entering an event , none of our existing users are recognized

in the "Who" field

![](../../upfiles/Screen_Shot_2012-11-12_at_12.59.23_PM.png)


Answers:
author: Felipe Cuozzo
body: This seems to be a problem that will require Support Assistance, please feel free to open a ticket at <https://support.atlassian.com>

This seems to be a bug that is affecting production at this stage.

Felipe Cuozzo  
OnDemand Team

comments: author: Lucian Masalar
body: Thanks Felipe, I did. There was indeed a problem in the system, the sysadmin had to re-build the indexes, it's working fine now.


Tags: cloud

confluence-cloud

team-calendars-for-confluence
In Confluence, when sharing a page, the search does not pull up user names unless I type the commplete email address.
Asked by Don Girman:

In Confluence, when sharing a page, the search does not pull up user names unless I type the complete email address. This happens for all users including my admin account.


Answers:
author: Luzia Mendes
body: Hi Don,

This does not seem new to me. I've seen similar complaints in the past. I think it depends whether you're using LDAP, Confluence OnDemand and other things.

I believe you want to contact [support.atlassian.com](http://support.atlassian.com) about that. May be a new bug...or something they already know how to fix.
Alphabetically page sorting in Confluence not working now
Asked by Juan Felipe Cardona:

Hello

We just noticed that the option for arranging pages alphabetically in Confluence OnDemand is not working.

Perhaps it has something to do with the most recent upgrade.

Thank you


Answers:
author: Luzia Mendes
body: Hi, you should contact support to check that, as they can access your instance and see what is going on.

[support.atlassian.com](http://support.atlassian.com)

comments: author: Juan Felipe Cardona
body: Thank you Luzia. I will close this "Answer" since it seems that it only happened in my environment.


author: Juan Felipe Cardona
body: Finally Atlassian support helped me and everything was working fine except in my own computer. Therefore I will close this "Answer" as a false bug.

Sorry for the inconveniences.


Tags: bug
Confluence starts then shuts itself down...
Asked by John Wright:

Upgrade to Confluence 3.4.2 was successful on our test server but the same setup doesn't work in production.

It appears to start then shut itself down:

(from atlassian-confluence.log)

2012-11-12 14:06:02,367 INFO main com.atlassian.confluence.lifecycle init Confluence is ready to serve

2012-11-12 14:06:03,447 INFO main atlassian.plugin.manager.DefaultPluginManager shutdown Shutting down the plugin system

2012-11-12 14:06:05,969 INFO main com.atlassian.confluence.lifecycle destroy Shutting down long running task service

2012-11-12 14:06:06,060 INFO main com.atlassian.confluence.lifecycle contextDestroyed Stopping Confluence


Answers:
author: J. Caldwell
body: Did you check the catalena log for additional information?

comments: author: John Wright
body: There was nothing in it that led me to anything concrete. I have, however, determined that the problem is a conflict of some sort between Confluence 3.4.2 (port 9090) and Confluence 3.0.0_01 (port 8080) which run on the same server. I can run one or the other but not both.


author: Harry Chan
body: There's not just the outgoing port. There's also a server control port - 8005 unless you've change it. You will need to modify that as well.


author: John Wright
body: Absolutely, you are correct. I had different server ports prior to the upgrade. I knew this particular conflict had to be something simple. Thanks Harry. I'm not out of the woods yet unfortunately (different issues to tackle now that the instance actually comes up) - buts that's for another post. :-)


author: J. Caldwell
body: Did you check the catalena log for additional information?


Tags: startup

upgrade
Confluence 4 and inability to edit links in IE8
Asked by Kevin Buchs:

Have others encountered this problem. I can't believe that Atlassian doesn't have someone addressing it. This is a major flaw with a supported browser.

<https://jira.atlassian.com/browse/CONF-26375>


Answers:
author: Kevin Buchs
body: The Answers robot keeps prompting me to accept an answer to this question! No one has answered. Really, I guess the answer is that no one at Atlassian cares.


author: Kevin Buchs
body: I am amazed that Atlassian does not consider it important enough to assign someone to the issue referenced above. Come on! I'm left to conclude that what is claimed to be a supported browser is actually NOT supported.


author: AlysonA
body: Hi Kevin,

I understand this is highly affecting the usage of Confluence for you. So from a quick look of it, since the link is no longer editable via UI, can you try editing it via database?

You may be able to change the link text via the BODY_CONTENT table by creating an UPDATE statement. Just be sure to create a backup prior to changing anything. Does that makes sense?

Cheers

comments: author: Kevin Buchs
body: Though I might do a data base edit in an extreme case, I can't imagine my users who want to refuse to use Confluence because of this flaw.

Still, this case has no one assigned to it!
How to make Confluence look the same in all computer resolutions?
Asked by Karina Clemente:

How to make Confluence look the same in all computer resolutions? All of our users have different resolutions and we are having trouble making Confluence look the same for all our users. For some computers, it looks great and for others it looks real ugly. Please help!


Answers:
author: Tim
body: If you don't like the default themes provided with confluence, you can build your own theme for confluence:

<https://developer.atlassian.com/display/CONFDEV/Writing+a+Confluence+Theme>

Then you have control over the look and feel of your confluence instance and you can start changing decorators and css to your liking.

I don't know exactly what you mean by "look the same in all computer resolutions", but if you mean a fixed width layout, I would not recommend it, especially not for something like confluence. I agree, that Confluence should look good and should work at almost any resolution, but that does not mean, that it should look the same. You can take a look at some technique, called responsive design:

* <http://www.alistapart.com/articles/responsive-web-design/>
* <http://www.alistapart.com/articles/the-web-aesthetic/>
* <http://www.alistapart.com/articles/the-infinite-grid/>

However, implementing a custom theme with these things in mind is not a trivial task. It requires a lot of effort and quite likely a lot of ongoing maintenance regarding further confluence updates.

comments: author: Bashierah
body: Can you use @media queries or anything similar?

Does Confluence use CSS2 and not 3?

If so, is there any way to specify a different font size for larger screens, for example?


Tags: resolution
Upgrade from 3.2.1_01 (clustered) to 3.5.16 is failing due to SQLException
Asked by Uwe Schirmer:

We are currently preparing our production upgrade from Confluence 3.2.1 to 4.3 (via 3.5.16) in our system integration stage. During the migration process we also want to change from the clustered to an unclustered version.

Our first migration step from 3.2.1 to 3.5.16 is failing due to an

contextInitialized 1 errors were encountered during upgrade:

2012-11-12 15:20:07,964 ERROR main atlassian.confluence.upgrade.UpgradeLauncherServletContextListener contextInitialized 1: StatementCallback; uncategorized SQL state 72000 ; error code 1440 ; ORA-01440: column to be modified must be empty to decrease precision or scale

; nested exception is java.sql.SQLException: ORA-01440: column to be modified must be empty to decrease precision or scale

I found one work around here (<https://confluence.atlassian.com/display/CONFKB/Confluence+Upgrade+Fails+due+to+ORA-01440>) which is not applicabel for us, as we have about 50 GB data in the database (13000 users). Is there any other way to get the data migrated?


Answers:
author: Rodrigo Girardi Adami
body: Hi Uwe, were you able to upgrade the instance? If so, it would be great if you can share with us the results.

Cheers,

Rodrigo


author: Paul Tempera
body: You could try this.

You may have the same issue I had. Bad data in your tables.

Here is one link that helped.

[https://answers.atlassian.com/questions/60408/confluence-upgrade-3-2-1_01-to-3-5-problem-with-database?sort=votes](/questions/60408/confluence-upgrade-3-2-1_01-to-3-5-problem-with-database?sort=votes)

and this one.

<https://confluence.atlassian.com/display/CONFKB/Upgrade+or+XML+Backup+Fails+Due+to+Constraint+Violation>

For the page above. I didn't use  
delete from `content_label ``where` contentid = XXXX;

I needed to run  
delete from `BODYCONTENT ``where` CONTENTID = <id>

and  
delete from `CONTENT ``where` `PREVVER ``not` in `(``select` `CONTENTID ``from` CONTENT);

Thanks,


author: Rodrigo Girardi Adami
body: Hi Uwe,  

I'm not a DBA for Oracle side, but this issue seems to be only correctable by using the workaround number 2 from that Knowledge base article since you come from the version 3.2.  

The only problem is the big size of the DB, which will require some space from your server. Of course there could be another possibility to correct this, but then a DBA from Oracle would be more suited to answer this, so I'll leave this question open.  

Regards,  

Rodrigo


Tags: migration

upgrade
Is there a way to view the markup?
Asked by Jason Friedman:

Recently upgraded from 3.5.13 to 4.3.2. Some users prefer working and viewing markup.


Answers:
author: Bob Swift (personal)
body: [Wiki Plugin for Confluence](https://bobswift.atlassian.net/wiki/display/CWP) provides a macro that allows Confluence 3.x wiki markup to still be used for sections of a page.


author: JohnA
body: Hi Jason,

I'm sorry to say we actually removed the markup editor as of Confluence 4.0, you can read more about this and the reasons why here: <http://blogs.atlassian.com/2011/11/why-we-removed-wiki-markup-editor-in-confluence-4/>

Unfortunately it isn't possible to edit in markup now, although you can still use the [Source Editor plugin](https://marketplace.atlassian.com/plugins/com.atlassian.confluence.plugins.editor.confluence-source-editor) to edit the source of the pages but it is now in XHTML format rather than wiki markup so it won't give the same effect as working with the old wiki markup.

All the best,  
John
After entering my license and clicking 'Evaluation Install' it just sits there doing nothing! (it's created stuff in the data directory, but doesn't move any further)
Asked by Peter Brigham:

2012-11-12 11:52:42,536 WARN http-9090-3 atlassian.confluence.setup.DefaultHibernateConfigurator executeAdditionalSql Error executing SQL during schema changes: drop table CONTENTLOCK, StatementCallback; bad SQL grammar drop table CONTENTLOCK ; nested exception is java.sql.SQLSyntaxErrorException: user lacks privilege or object not found: CONTENTLOCK in statement drop table CONTENTLOCK

-- referer: <http://conftest.glam.ac.uk:9090/setup/setuplicense.action> \| url: /setup/setupembeddeddb-default.action \| userName: anonymous \| action: setupembeddeddb-default


Answers:
author: Luzia Mendes
body: From the error "user lacks privilege or object not found: CONTENTLOCK in statement drop table CONTENTLOCK"

The problem is with your database connection.

Be sure you're using a brand new database, that the user you're using have permissions to do anything in the db.


Tags: install

trial
When will the Gliffy Plugin for Confluence v5 be installed on Confluence OnDemand?
Asked by Rodney Grilli:

It has a number of new features that I would like to use.

Thanks.....


Answers:
author: Tiffany Beddow
body: Hello!

Thanks for your continued interest in Gliffy! I have good news for you; we are hoping to be able to bring our 5.0 release to OnDemand in Q1 of 2013.

Kind Regards,

Tiffany Beddow

Customer Advocacy Manager- Gliffy


Tags: cloud

confluence-cloud
How to substitute metadata plugin?
Asked by Davide De Benedictis:

Hi all,

I had a lot of pages which relied on this plugin and its wonderwaul reporting capabilities.

I'm on Confluence 4.3.2 and this plugin is not working anymore.

I was using "metadata-matches" to geta a count on various metadata used by several pages each one being a test case...

Thank you in advance


Answers:
author: LuizA
body: Hi Davide,

As this is related with plugins, a first approach that I would like to suggest you would be to re-create the bundled plugins of your instance by the following:

\* Stop your instance;

\* Remove/delete the content from the following folders:

1) The \<confluence-home\>/bundled-plugins folder   
2) The \<confluence-home\>/plugin-cache folder   
3) The \<confluence-home\>/plugins-osgi-cache folder   
4) The \<confluence-home\>/plugins-temp folder

\* Start your Confluence again;

\* Then rebuild the content indices of your instance by the following steps:

<https://confluence.atlassian.com/display/DOC/Content+Index+Administration#ContentIndexAdministration-RebuildingtheContentIndexes>

And then try to reproduce the error again. If these steps doesn't help and you still experience the problem I would suggest you to raise a support ticket at our [support.atlassian.com](http://support.atlassian.com), so we can perform a more detailed investigation to find the root cause of this behaviour and find a solution for you.

I hope this helps.

Best Regards,

LJ.


Tags: metadata