Universal Plugin Manager says the datetime zone ID is not recognised

Still need help?

The Atlassian Community is here for you.

Ask the community

Platform notice: Server and Data Center only. This article only applies to Atlassian products on the Server and Data Center platforms.

Support for Server* products ended on February 15th 2024. If you are running a Server product, you can visit the Atlassian Server end of support announcement to review your migration options.

*Except Fisheye and Crucible

 

Summary

The Manage Apps section of the Administration panel shows a timezone error like this:
Screen Shot 2021-07-26 at 12.18.10 PM.png

In addition to that, an error like this is written in the atlassian-bitbucket.log:

2021-07-29 10:26:46,944 ERROR [http-nio-7990-exec-4] asder00 @1B67AM3x626x400379x9 adminusr 12.3.4.56,127.0.0.1 "GET /rest/plugins/1.0/installed-marketplace HTTP/1.0" c.a.p.r.c.e.j.ThrowableExceptionMapper Uncaught exception thrown by REST service: The datetime zone id 'SystemV/PST8' is not recognised
java.lang.IllegalArgumentException: The datetime zone id 'SystemV/PST8' is not recognised
	at org.joda.time.DateTimeZone.forTimeZone(DateTimeZone.java:385)
	at com.atlassian.upm.license.internal.BitbucketLicenseDateFormatter.getUserTimeZone(BitbucketLicenseDateFormatter.java:20)
	at com.atlassian.upm.license.internal.impl.DefaultLicenseDateFormatter.formatInternal(DefaultLicenseDateFormatter.java:35)
	at com.atlassian.upm.license.internal.impl.DefaultLicenseDateFormatter.formatDate(DefaultLicenseDateFormatter.java:28)
	at com.atlassian.upm.rest.representations.PluginLicenseRepresentation.<init>(PluginLicenseRepresentation.java:163)
	at com.atlassian.upm.rest.representations.UpmRepresentationFactoryImpl.createPluginLicenseRepresentation(UpmRepresentationFactoryImpl.java:523)
	at com.atlassian.upm.rest.representations.UpmRepresentationFactoryImpl.getLicenseDetailsRepresentation(UpmRepresentationFactoryImpl.java:321)
	at com.atlassian.upm.rest.representations.UpmRepresentationFactoryImpl.createInstalledMarketplacePluginRepresentation(UpmRepresentationFactoryImpl.java:237)
	at com.atlassian.upm.rest.representations.InstalledMarketplacePluginRepresentation$PluginToRepFunction.apply(InstalledMarketplacePluginRepresentation.java:217)
	at com.atlassian.upm.rest.representations.InstalledMarketplacePluginRepresentation$PluginToRepFunction.apply(InstalledMarketplacePluginRepresentation.java:197)
	...

Diagnosis

Configuring a value for the -Duser.timezone setting in the JVM_SUPPORT_RECOMMENDED_ARGS property in _start-webapp.sh and restarting the instance does not help.

Cause

The Universal Plugin Manager uses Joda Time instead of JVM's time library, and Joda Time doesn't support SystemV names.

Solution

Edit the timezone preferences in the profile (<BITBUCKET_BASE_URL>/account) of the user accessing the Manage Apps page.

Note that in the user profile it might just be being shown as PST8 (or whichever timezone shown in the error) and SystemV may not be visible.



Last modified on Jul 30, 2021

Was this helpful?

Yes
No
Provide feedback about this article
Powered by Confluence and Scroll Viewport.