It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Confluence - Rebuild batch.js

James Bewley Jun 13, 2013

I have a problem with Confluence after I restared the host machine today. When I visit the site I see around fifty to a hundred errors in batch.js stating "Error running batched script"

  • Is there a know workaround for this?
  • Is it possible to rebuild batch.js?



4 answers

1 accepted

1 vote
Answer accepted
James Bewley Jul 14, 2013

I guess the best way forward is to reinstall. Just supprised there is no interest in resolving this bug.

Normann P. Nielsen Jul 14, 2013

Maybee You can "just" upgrade it via the Command Line, hence replacing "bad"/missing files?

After what I can google, the error may be due to an IOException, so some server filesystem check and an upgrade, try it !

James Bewley Jul 14, 2013

The upgrade content link on the administration page does not run as it is determined to be not required. How would one go about running an "upgrade" from the command line?

the backup tool gives me the following typical java trace:

Backup & Restore

The following error(s) occurred:

  • com.atlassian.confluence.importexport.ImportExportException: org.springframework.osgi.service.ServiceUnavailableException: service matching filter=[(objectClass=com.atlassian.activeobjects.spi.Backup)] unavailable at com.atlassian.activeobjects.confluence.backup.ActiveObjectsBackupRestoreProvider.backup( at com.atlassian.confluence.importexport.impl.FileXmlExporter.backupPluginData( at com.atlassian.confluence.importexport.impl.FileXmlExporter.backupEverything( at
  • ... 530 more
Normann P. Nielsen Jul 14, 2013

Make a backup or snapshot of the server.

Download latest from:

For Linux, ssh to the server and do a:

sudo sh atlassian-confluence-5.1.4-x64.bin

Select ok first, then 3 for upgrade etc etc.

This actually replaces all (almost) files as jars, js's etc etc and I would expect any bad or missing files to be replaced etc.

After the upgrade Confluence is started and You can check the varios logs.

PS: This is a bit simplified description, but the basics are here - a commandline upgrade is pretty straght forward, if You dont have changed files like server.xml and added You own files under the installation. If so, You need to make these changes again.

1 vote
Normann P. Nielsen Jul 14, 2013

You are mistaken if You belive Atlassian Anwsers are for paided support in Any way, this is a community based site, where we help each other.. Atlassian included - after "best effort".

You should go to the Company You pay for hosting/support - and/or Atlassian official-support, see

Alternatively, an Atlassian Expert -



0 votes
James Bewley Jul 02, 2013

Any input would be appreciated.

How can I recover our confluence system?

0 votes
James Bewley Jul 14, 2013

Anyone even have an opinion on this. It's been sitting around for a month without a single comment.

This is a live and paid for confluence server, is there a better place to recive support?

Joe Clark Atlassian Team Jul 17, 2013

Hi James!

This is our community Q&A site, so this is not the "official" support channel. You can get in touch with our excellent support team by logging in to and creating a new JIRA issue. The answer that Normann provided includes a link to our support landing page, which will direct you to all the support options that we provide.

Suggest an answer

Log in or Sign up to answer
This widget could not be displayed.
This widget could not be displayed.
Community showcase
Published in Confluence

Confluence CVEs and common questions

Two vulnerabilities have been published for Confluence Server and Data Center recently: March 20, 2019 CVE-2019-3395 / CVE-2019-3396 April 17, 2019 CVE-2019-3398 The goal of this article is...

970 views 0 19
Read article

Community Events

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

Events near you