Forum .LRN Q&A: File Storage Error on Arch Linux

Collapse
Posted by Ann T on
Hello!

I've set up .lrn on an OpenACS installation for Arch Linux. I have installed all the packages but I am having a file storage error. Whenever I am trying to use file storage for a class or a community I am getting an error that states the following:

file-storage/www/folder-chunk: can't read "root_folder_id": no such variable

Thank you in advance,
Ann

Collapse
Posted by Gustaf Neumann on
Which version of OpenACS and DotLRN have you installed?
Collapse
Posted by Antonio Pisano on
Dear Ann,

it might be the case that 5.9.1 is missing these two commits:
http://cvs.openacs.org/changelog/OpenACS?cs=MAIN%3Aantoniop%3A20180108095458
http://cvs.openacs.org/changelog/OpenACS?cs=MAIN%3Aantoniop%3A20180108095756

Once applied, the file-storage on dotlrn should behave as expected.

I will try to backport these changes to the 5-9 branch so that new tarballs won't contain this bug, then will get in contact with Arch package maintainer to see if a version update is possible.

All the best

Collapse
Posted by Antonio Pisano on
Apparently I did my homework and this was already backported some time ago, as one can see here: https://openacs.org/forums/message-view?message_id=5386710#msg_5386710

You should be able to get a working version via the package manager of your instance selecting "update from repository"

Hope this helps

Antonio

Collapse
Posted by Ann T on
The problem was in the version I had installed. The AUR packages for
OpenACS in Arch Linux is fairly outdated and had version 5.9.0, that's
why the issue was not fixed. Whilst updating there also was a problem
with the Naviserver Arch Linux package that I managed to fix.

I will just reinstall a new version of OpenACS instead.

Collapse
Posted by Antonio Pisano on
Dear Ann,

just to avoid possible misunderstandings: when I talk about "package manager" in OpenACS, I refer to the one you can access via e.g. /acs-admin/install/ on your installation.

There, you can find a button to upgrade you packages from repositories. You should be able to find new versions for your 5.9.1 packages.

Reinstalling from a new 5.9.1 tarball will not work in this case, as fixes for released packages are backported and distributes only via the package manager.

Hope this helps

Antonio

Collapse
Posted by Ann T on
Hello!

Using /acs-admin/install did not show that I had any updates.

Collapse
Posted by Antonio Pisano on
What version of fs-portlet do you have? This you can see in /acs-admin/apm

Do you confirm you have clicked on "update from repository"? Could it be that your instance doesn't have access to the Internet? Sorry if these questions seem trivial, just trying to troubleshoot.

Antonio