Files in fileset not updating

General Server Forum (Inactive)
Files in fileset not updating David Owen  2019-07-12 09:13
Status: Closed
 

I'm running LabKey Server 19.1.1. When I manually add files or directories from the command line to the site-level file root they don't appear on LabKey. What am I missing?

 
 
Jon (LabKey DevOps) responded:  2019-07-31 20:25
Hi David,

Where are you looking exactly in the UI for these files? Can you provide the URL of your instance and/or a screenshot?

Typically, the only thing that should ever appear in the site-level file root under the @files directory should be maintenance log files.

Files within the file repository of LabKey reside under an @files directory within the respective project or folder.

For example, if you have a project called "MyProject" and a subfolder under it called "MyFolder", your LabKey URL will look something like:

http://localhost:8080/labkey/MyProject/MyFolder/project-begin.view

And the file repository can be viewed under:

http://localhost:8080/labkey/MyProject/MyFolder/filecontent-begin.view

Assuming your file's root path for your LabKey instance is called /usr/local/labkey/files, the file path on the actual server that corresponds with that filecontent page would be:

/usr/local/labkey/files/MyProject/MyFolder/@files/

If you don't stick your files within the @files directory, LabKey will not display them to you.

Also, manually adding files via command line has some issues, such as permission problems (you should assign the same user that is running the Tomcat process to these files as the user and owner of the files). Whenever possible, it is best to use the UI to transfer files over into the LabKey file repository.

For more information about the File Repository within LabKey, please look at https://www.labkey.org/Documentation/wiki-page.view?name=files.

Regards,

Jon