[Systems] [Sugar-devel] problem uploading to a.sl.o
Samuel Cantero
scanterog at gmail.com
Fri Nov 18 17:37:50 EST 2016
On Fri, Nov 18, 2016 at 7:33 PM, Aleksey Lim <me at alsroot.su> wrote:
> On Fri, Nov 18, 2016 at 06:49:54PM -0300, Samuel Cantero wrote:
> > +Aleksey +Bernie
> >
> > There's something I don't understand about activities. In
> > /srv/www-sugarlabs/activities/site/app/config/config.php we define:
> >
> > define('FILES_HOST', 'http://download.sugarlabs.org/activities');
> >
> > where FILE_HOST + FILES_URL (downloads/file) is the complete URL where
> the
> > xo files are.
> >
> > download.sugarlabs.org is currently hosted in sunjammer.
> >
> > BUT we also define:
> >
> > define('REPO_PATH', '/srv/www-sugarlabs/activities/files');
> >
> > This directory contains AGAIN all the .xo files that are already hosted
> at
> > sunjammer for download.sugarlabs.org (/srv/upload/activities). So we
> were
> > keeping the activities in two different directories (and now two diff
> > servers).
> >
> > I have run a diff -r between these two directories and there are some
> > activities that are not present in download.sugarlabs.org and
> vice-versa.
> > Just 10 activities and they are very old.
> >
> > I guess that REPO_PATH is the directory where files should be uploaded.
> > were you synchronizing these directories -
> > /srv/www-sugarlabs/activities/files and /srv/upload/activities?
>
> In AMO code, REPO_PATH should be synced w/ FILES_HOST.
> But in ASLO it was not used and, I guess, one of them was linked to another
> (I don't have access to sunjammer w/ my old dsa key).
>
Maybe bind-mounted or with a symlink. I don't remember actually. Now
activities is hosted at aslo.sugarlabs.org. if you provide me your key,
I'll give you access.
>
> --
> Aleksey
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sugarlabs.org/archive/systems/attachments/20161118/753f0efc/attachment.html>
More information about the Systems
mailing list