[Sugar-devel] problem uploading to a.sl.o
Samuel Cantero
scanterog at gmail.com
Fri Nov 18 16:49:54 EST 2016
+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?
We can't upload new activities. However, php config seems ok. Can you help
us with this issue?
You have both have access to activities.sugarlabs.org. Bernie as user root
and Aleksey as user alsroot (with sudo access).
Best regards,
On Fri, Nov 18, 2016 at 10:29 AM, Gonzalo Odiard <godiard at gmail.com> wrote:
> Sorry by the noise, is working now.
> Many thanks to who have fixed it :)
>
> Gonzalo
>
> On Fri, Nov 18, 2016 at 10:08 AM, Samuel Cantero <scanterog at gmail.com>
> wrote:
>
>> That's not true. Activities are there and I can download activities.
>>
>> Maybe Gonzalo is looking in the wrong place.
>>
>> On Fri, Nov 18, 2016 at 10:07 AM, Walter Bender <walter.bender at gmail.com>
>> wrote:
>>
>>> I thought Sam restored that directory last week???
>>>
>>> Something is seriously amiss.
>>>
>>> -walter
>>>
>>> On Fri, Nov 18, 2016 at 8:04 AM, Gonzalo Odiard <godiard at gmail.com>
>>> wrote:
>>>
>>>> ASLO is broken.
>>>> The directory with all the .xo files (all versions, all activities) in
>>>> the server does not exist.
>>>> You can't download .xo files from the site neither, for the same reason.
>>>> ANy idea if a backup is available?
>>>>
>>>> Gonzalo
>>>>
>>>> On Fri, Nov 18, 2016 at 9:41 AM, Walter Bender <walter.bender at gmail.com
>>>> > wrote:
>>>>
>>>>> I am getting an error trying to upload a new version to a.sl.o:
>>>>>
>>>>> File too big. Must be < 2M.
>>>>>
>>>>> My file is:
>>>>> -rw-rw-r--. 1 walter walter 786793 Nov 18 07:34 Chat-83.xo
>>>>>
>>>>> Any idea what is broken?
>>>>>
>>>>> thx.
>>>>>
>>>>> -walter
>>>>>
>>>>> --
>>>>> Walter Bender
>>>>> Sugar Labs
>>>>> http://www.sugarlabs.org
>>>>> <http://www.sugarlabs.org>
>>>>>
>>>>> _______________________________________________
>>>>> Sugar-devel mailing list
>>>>> Sugar-devel at lists.sugarlabs.org
>>>>> http://lists.sugarlabs.org/listinfo/sugar-devel
>>>>>
>>>>>
>>>>
>>>>
>>>> --
>>>> [image: photo]
>>>> *Gonzalo Odiard*
>>>> Lider de proyecto
>>>> tel.: <tel.:+4210-7748>2081-6424 y 2082-0312 | www.trinom.io Av
>>>> Calchaqui 4936· 2do Piso. Quilmes
>>>> <http://www.facebook.com/trinomiosrl>
>>>> <https://www.linkedin.com/company/trinom-io>
>>>>
>>>>
>>>
>>>
>>> --
>>> Walter Bender
>>> Sugar Labs
>>> http://www.sugarlabs.org
>>> <http://www.sugarlabs.org>
>>>
>>
>>
>
>
> --
> [image: photo]
> *Gonzalo Odiard*
> Lider de proyecto
> tel.: <tel.:+4210-7748>2081-6424 y 2082-0312 | www.trinom.io Av
> Calchaqui 4936· 2do Piso. Quilmes
> <http://www.facebook.com/trinomiosrl>
> <https://www.linkedin.com/company/trinom-io>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sugarlabs.org/archive/sugar-devel/attachments/20161118/fcd94fda/attachment.html>
More information about the Sugar-devel
mailing list