Hi,
after a recent Jira Software upgrade from 9.6 to 9.10, users on my Jira instance are unable to upload attachments containing special characters like č, ř, š.
When they try to upload such an attachment, they see the following message:
"File "ÁBCD.DOC" was not uploaded
Could not save attachment to storage: Malformed input or input contains unmappable characters: ÁBCD.DOC"
What could be the reason for this? I already tried searching around and found that one of the solutions is to change the starting parameters to look like -
JVM_SUPPORT_RECOMMENDED_ARGS="-Datlasssian.plugins.enable.wait=300 -Dfile.encoding=utf-8 -Dsun.jnu.encoding=UTF-8"
However I found that newer versions of Java ignore these parameters. What can be done about this?
Thanks!
Hi there,
I want my container will be stateless, without any utilities from host station.
When i build container i use sed utility, add maxdays tomcat parameter and edit server.xml
RUN sed -i -r 's#className=\"org.apache.catalina.valves.AccessLogValve\"#className=\"org.apache.catalina.valves.AccessLogValve\" maxDays=\"7\"#' ${JIRA_INSTALL_DIR}/conf/server.xml \ && sed -i -e 's/= catalina./= catalina.\n1catalina.org.apache.juli.AsyncFileHandler.maxDays = 14/' ${JIRA_INSTALL_DIR}/conf/logging.properties \ && sed -i -e 's/= localhost./= localhost.\n2localhost.org.apache.juli.AsyncFileHandler.maxDays = 14/' ${JIRA_INSTALL_DIR}/conf/logging.properties \ && sed -i -e 's/= manager./= manager.\n3manager.org.apache.juli.AsyncFileHandler.maxDays = 14/' ${JIRA_INSTALL_DIR}/conf/logging.properties \ && sed -i -e 's/= host-manager./= host-manager.\n4host-manager.org.apache.juli.AsyncFileHandler.maxDays = 14/' ${JIRA_INSTALL_DIR}/conf/logging.properties
After that i can pull and start my container on any station.
Hi there,
You can use logrotate to do what you are looking for. You can use this article as a reference.
Best Regards,
Mogavenasan
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.