Problem setting up Community Repo [Solved]

Anything that pertains to Entropy, Equo or Sulfur

Moderator: Moderators

Problem setting up Community Repo [Solved]

Postby sjieke » Wed Jul 02, 2008 8:28

Hello,

Yesterday I tried to creat my own repository. But failed to sync it :cry:
I followed the wiki (http://wiki.sabayonlinux.org/index.php?title=Community_Repositories#Setting_up_a_Community_Repository) and everything worked up untill 'Pushing our work online'.
I issued the command
Code: Select all
# equo community mirrors sync

It then asked me if I wanted to run the steps above and I said 'Yes'.
It started, but after uploading a *.md5, the digest verification step failed with the message 'unrecognized data received' (or something like that, I'm not on my machine right now), and after several retries equo says 'Giving up'
I tried a few times, but to no avail.
The repo is located at http://users.telenet.be/brulee as you can see there, it did create the directory structure and uploaded some files.
My '/etc/entropy/server.conf' file contains the following settings
Code: Select all
branches|3.5
officialserverrepositoryid|brulee
repository|brulee|XFCE oriented repository|ftp://xxx:xxx@users.telenet.be/|http://users.telenet.be/brulee


Does somebody have an idea what I did wrong, of how I can resolve this issue. This is still on an updated loop3, I would like to get the repo up and running before installing 3.5 final, then I can use my own repo to install my custom made packages.
Last edited by sjieke on Sat Jul 05, 2008 20:01, edited 1 time in total.
sjieke
Technological Hen
 
Posts: 321
Joined: Thu Mar 01, 2007 10:46
Location: Maldegem, Belgium

Re: Problem setting up Community Repo

Postby sjieke » Wed Jul 02, 2008 17:43

Ok, I am at my machine right now, I execute the sync command
Code: Select all
Crashbox joachim # equo community mirrors sync
/usr/lib/portage/pym/portage_const.py:39: DeprecationWarning: DEPRECATION NOTICE: The portage_const module was replaced by portage.const
>>  @@ Entropy Server Mirrors Interface loaded:
>>    # mirror: ftp://t836565:xxxxxxxx@users.telenet.be/
>>  @@ Entropy Server Interface Instance on repository: brulee (type: community repository)
>>  @@ Currently configured repositories:
>>    # brulee
>>    # __system__
>>  * Starting to sync data across mirrors (packages/database) ...
>>  @@ [repo:brulee|sync|branch:3.5] packages sync: users.telenet.be
>>  @@ Local statistics:
>>  @@ upload directory:      3 files ready
>>  @@ packages directory:      0 files ready
>>  @@ Remote statistics for: users.telenet.be
>>  * [ftp:users.telenet.be] connecting with user: t836565
>>  * [ftp:users.telenet.be] switching to: /
>>  * [ftp:users.telenet.be] switching to: /
>>  * [ftp:users.telenet.be] switching to: standard/brulee/packages/x86/
>>  * [ftp:users.telenet.be] switching to: 3.5
>>  @@ remote packages:                 0 files stored
>>  @@ Calculating queues ...
>>  ** Expanding queues:
>>     # [branch:3.5|upload] app-admin:eselect-news-20080320~0.tbz2 [75.0kB]
>>     # [branch:3.5|upload] net-misc:pyneighborhood-0.4~0.tbz2 [158.9kB]
>>     # [branch:3.5|upload] sys-apps:portage-2.2_rc1~0.tbz2 [704.4kB]
>>  @@ Packages to be removed:                  0
>>  @@ Packages to be moved locally:    0
>>  @@ Packages to be uploaded:                 3
>>  @@ Total removal size:                      0.0b
>>  @@ Total upload size:                       938.3kB
>>  @@ Total download size:                     0.0b
Would you like to run the steps above ? [Yes/No]


Now I type 'Yes', and I get
Code: Select all
Would you like to run the steps above ? [Yes/No] Yes
>>  @@ [users.telenet.be|upload] connecting to mirror...
>>  * [ftp:users.telenet.be] connecting with user: t836565
>>  * [ftp:users.telenet.be] switching to: /
>>  * [ftp:users.telenet.be] switching to: /
>>  @@ [users.telenet.be|upload] changing directory to standard/brulee/database/x86/...
>>  * [ftp:users.telenet.be] switching to: standard/brulee/packages/x86/3.5
>>  @@ [users.telenet.be|#1|(1/6)] uploading: app-admin:eselect-news-20080320~0.tbz2.md5
>>  @@ [users.telenet.be|#1|(1/6)] digest verification: app-admin:eselect-news-20080320~0.tbz2.md5: unknown data returned
>>  @@ [users.telenet.be|#1|(1/6)] upload failed, retrying: app-admin:eselect-news-20080320~0.tbz2.md5
>>  @@ [users.telenet.be|#2|(1/6)] uploading: app-admin:eselect-news-20080320~0.tbz2.md5
>>  @@ [users.telenet.be|#2|(1/6)] digest verification: app-admin:eselect-news-20080320~0.tbz2.md5: unknown data returned
>>  @@ [users.telenet.be|#2|(1/6)] upload failed, retrying: app-admin:eselect-news-20080320~0.tbz2.md5
>>  @@ [users.telenet.be|#3|(1/6)] uploading: app-admin:eselect-news-20080320~0.tbz2.md5
>>  @@ [users.telenet.be|#3|(1/6)] digest verification: app-admin:eselect-news-20080320~0.tbz2.md5: unknown data returned
>>  @@ [users.telenet.be|#3|(1/6)] upload failed, retrying: app-admin:eselect-news-20080320~0.tbz2.md5
>>  @@ [users.telenet.be|#4|(1/6)] uploading: app-admin:eselect-news-20080320~0.tbz2.md5
>>  @@ [users.telenet.be|#4|(1/6)] digest verification: app-admin:eselect-news-20080320~0.tbz2.md5: unknown data returned
>>  @@ [users.telenet.be|#4|(1/6)] upload failed, retrying: app-admin:eselect-news-20080320~0.tbz2.md5
>>  @@ [users.telenet.be|#5|(1/6)] uploading: app-admin:eselect-news-20080320~0.tbz2.md5
>>  @@ [users.telenet.be|#5|(1/6)] digest verification: app-admin:eselect-news-20080320~0.tbz2.md5: unknown data returned
>>  @@ [users.telenet.be|#5|(1/6)] upload failed, retrying: app-admin:eselect-news-20080320~0.tbz2.md5
>>  @@ [users.telenet.be|#6|(1/6)] uploading: app-admin:eselect-news-20080320~0.tbz2.md5
>>  @@ [users.telenet.be|#6|(1/6)] digest verification: app-admin:eselect-news-20080320~0.tbz2.md5: unknown data returned
>>  @@ [users.telenet.be|#6|(1/6)] upload failed, retrying: app-admin:eselect-news-20080320~0.tbz2.md5
>>  @@ [users.telenet.be|#7|(1/6)] uploading: app-admin:eselect-news-20080320~0.tbz2.md5
>>  @@ [users.telenet.be|#7|(1/6)] digest verification: app-admin:eselect-news-20080320~0.tbz2.md5: unknown data returned
>>  @@ [users.telenet.be|#7|(1/6)] upload failed, retrying: app-admin:eselect-news-20080320~0.tbz2.md5
>>  @@ [users.telenet.be|#8|(1/6)] uploading: app-admin:eselect-news-20080320~0.tbz2.md5
>>  @@ [users.telenet.be|#8|(1/6)] digest verification: app-admin:eselect-news-20080320~0.tbz2.md5: unknown data returned
>>  @@ [users.telenet.be|#8|(1/6)] upload failed, retrying: app-admin:eselect-news-20080320~0.tbz2.md5
>>  !!! [users.telenet.be|(1/6)] upload failed, giving up: app-admin:eselect-news-20080320~0.tbz2.md5 - error: False
>>  !!! [branch:3.5] upload errors: users.telenet.be, reason: False


My server.conf file
Code: Select all
# Project Entropy 1.0 activator configuration file

#
# Branches configuration:
# branches|<branch> <branch> <branch>
#
#
# Specify here the currently maintained branches
#
#   example:
#   branches|3.5 2008
#
branches|3.5

# this is just an ascii string identifier explained later
officialserverrepositoryid|brulee

## repository|<repository string identifier>|<repository description>|<FTP upload/download URI 1> <FTP upload/download URI 2>|handlers URL (path to repositories root directory)
repository|brulee|XFCE oriented repository|ftp://t836565:xxxxxx@users.telenet.be/|http://users.telenet.be/brulee


Is there anybody that could help me? Or point me in some direction...
Thx
sjieke
Technological Hen
 
Posts: 321
Joined: Thu Mar 01, 2007 10:46
Location: Maldegem, Belgium

Re: Problem setting up Community Repo

Postby Thev00d00 » Wed Jul 02, 2008 19:10

I cant help, i reccomend you talk to lxnay as hes the main Dev on this, try joining the sabayon-dev irc channel and pointing to this thread :D
Image
Please report Bugs on the Bugzilla, not forum
Please Adopt an Unanswered thread
Website / Blog : v00d00.net
twitter: Follow Me
G+: Circle Me
User avatar
Thev00d00
Generally Awesome (tm)
 
Posts: 1467
Joined: Wed Feb 21, 2007 15:52
Location: United Kingdom

Re: Problem setting up Community Repo

Postby Thev00d00 » Wed Jul 02, 2008 21:03

Well ive worked out whats up with your repo! The md5sum.php isnt responding correctly - Going to quiz the devs now :D

How do i know? Because it just happened to me when i enabled the md5sum.php script.

In the short term delete the files to get uploads working :D

v00
Image
Please report Bugs on the Bugzilla, not forum
Please Adopt an Unanswered thread
Website / Blog : v00d00.net
twitter: Follow Me
G+: Circle Me
User avatar
Thev00d00
Generally Awesome (tm)
 
Posts: 1467
Joined: Wed Feb 21, 2007 15:52
Location: United Kingdom

Re: Problem setting up Community Repo

Postby sjieke » Wed Jul 02, 2008 21:27

Ok,

First of all thx to investigate.

I understand what is wrong, but I don't understand what you mean with 'delete the files to get upload working'?
Deleting the md5 files on the repo? Or some other files wich result in disabling the digest verification, and which files are those?
sjieke
Technological Hen
 
Posts: 321
Joined: Thu Mar 01, 2007 10:46
Location: Maldegem, Belgium

Re: Problem setting up Community Repo

Postby Thev00d00 » Wed Jul 02, 2008 21:36

Did you upload a
Code: Select all
md5sum.php
file? if so delete it. It SHOULD work then
Image
Please report Bugs on the Bugzilla, not forum
Please Adopt an Unanswered thread
Website / Blog : v00d00.net
twitter: Follow Me
G+: Circle Me
User avatar
Thev00d00
Generally Awesome (tm)
 
Posts: 1467
Joined: Wed Feb 21, 2007 15:52
Location: United Kingdom

Re: Problem setting up Community Repo

Postby sjieke » Wed Jul 02, 2008 21:43

Gonna check it

...

Nope, the only 2 files up there are, you can check it at http://users.telenet.be/brulee:
/standard/brulee/database/x86/packages.db.lock
/standard/brulee/packages/x86/3.5/sys-apps:portage-2.2_rc1~0.tbz2.md5
sjieke
Technological Hen
 
Posts: 321
Joined: Thu Mar 01, 2007 10:46
Location: Maldegem, Belgium

Re: Problem setting up Community Repo

Postby sjieke » Wed Jul 02, 2008 22:09

If you can't disable the digest verification (wich uses apperently the 'md5sum.php', or fails if it isn't there :?: ) and the host doesn't support php, then you are unable to create a community repo.

Is this conclusion correct? If so, the requirements to create a community repo should be mentioned on the wiki.
sjieke
Technological Hen
 
Posts: 321
Joined: Thu Mar 01, 2007 10:46
Location: Maldegem, Belgium

Re: Problem setting up Community Repo

Postby Thev00d00 » Wed Jul 02, 2008 22:14

no if the md5sum.php isn't there the digest verification is ignored/skipped
Image
Please report Bugs on the Bugzilla, not forum
Please Adopt an Unanswered thread
Website / Blog : v00d00.net
twitter: Follow Me
G+: Circle Me
User avatar
Thev00d00
Generally Awesome (tm)
 
Posts: 1467
Joined: Wed Feb 21, 2007 15:52
Location: United Kingdom

Re: Problem setting up Community Repo

Postby sjieke » Thu Jul 03, 2008 8:18

I didn't upload the md5sum.php myself, also looked for it using filezilla and couldn't find it.
So I think there are 2 possibilies

Yesterday I gave up, but when I get home today, I will try again. Maybe the 'handlers' folder needs to be present, but empty?
sjieke
Technological Hen
 
Posts: 321
Joined: Thu Mar 01, 2007 10:46
Location: Maldegem, Belgium

Next

Return to Entropy|Equo|Rigo Package Managers

Who is online

Users browsing this forum: No registered users and 2 guests