Confluence - Rebuild batch.js

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?

Thanks,

James

4 answers

1 accepted

This widget could not be displayed.

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

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 !

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(ActiveObjectsBackupRestoreProvider.java:37) at com.atlassian.confluence.importexport.impl.FileXmlExporter.backupPluginData(FileXmlExporter.java:239) at com.atlassian.confluence.importexport.impl.FileXmlExporter.backupEverything(FileXmlExporter.java:110) at
  • ... 530 more

Make a backup or snapshot of the server.

Download latest from: http://www.atlassian.com/software/confluence/download

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.

This widget could not be displayed.

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 http://www.atlassian.com/resources/support

Alternatively, an Atlassian Expert - http://www.atlassian.com/resources/experts

BR,

Normann

This widget could not be displayed.

Any input would be appreciated.

How can I recover our confluence system?

This widget could not be displayed.

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 https://support.atlassian.com 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
Community showcase
Posted Monday in Confluence

Why start from scratch? Introducing four new templates for Confluence Cloud

Hi my Community friends!  For those who don't know me, I'm a product marketer on the Confluence Cloud team - nice to meet you! For those of you who do, you know that I've been all up in your Co...

288 views 2 4
Join discussion

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you