Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Warning message in console after exporting configuration files for Windows users #94

Open
petrenkonikita112263 opened this issue Apr 29, 2024 · 0 comments
Labels
Type: Bug Something isn't working

Comments

@petrenkonikita112263
Copy link

After providing input dates (or leaving those empty in order to obtain today's info) in Get support files and pressing the Download button. The below warning message will appear in console:

2024-04-29 11:41:50,389 [http-nio-7635-exec-3 - http://localhost:7635/xwiki/rest/admintools/files?files=xwikiConfig&files=xwikiProperties&files=dataProvider&files=logs&from=28-04-2024&to=29-04-2024] WARN  c.x.a.i.d.SecurityDataProvider - Failed to access language or work directory environment variables.

After checking JSON file in zip archive, the PWD value will have NULL value.

In code it's responsible for work_directory value, but it's not set as environment value, as application expects.

The permanent directory is configured on my end, this part of my xwiki.properties file.

#-------------------------------------------------------------------------------------
# Environment
#-------------------------------------------------------------------------------------

#-# [Since 3.5M1, replaces the container.persistentDirectory property]
#-# The directory used to store persistent data (data that should persist across server restarts). This is an
#-# important directory containing important data and thus it should never be deleted (it should be backed-up along
#-# with the database).
#-# For example this is where the Extension Manager stores downloaded extensions if the extension.localRepository
#-# property isn't configured.
#-#
#-# You can set:
#-# * an absolute path (recommended)
#-# * a relative path (not recommended at all)but in this case the directory will be relative to where the XWiki server
#-#   is started and thus the user under which XWiki is started will need write permissions for the current directory
#-#
#-# Note if the system property xwiki.data.dir is set then this property is not used.
#-# If neither the system property nor this configuration value here are set then the Servlet container's temporary
#-# directory is used; This is absolutely not recommended since that directory could be wiped out at any time and you
#-# should specify a value.
environment.permanentDirectory = D:\\permanent directory for xwiki
@petrenkonikita112263 petrenkonikita112263 added the Type: Bug Something isn't working label Apr 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type: Bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant