springfiles.com migrated to new server! - Page 2

springfiles.com migrated to new server!

For the discussion of infrastructure improvements and changes.

Moderator: Moderators

raaar
Metal Factions Developer
Posts: 1094
Joined: 20 Feb 2010, 12:17

Re: springfiles.com migrated to new server!

Post by raaar »

I've uploaded more versions of my game and a new map recently.

The game package seems to have been downloaded automatically for most people, but doesn't show up on the api (latest one shown there is v1.39, latest uploaded to SF is v1.47).

The map I've uploaded two days ago is "Highway 95 East v1". It doesn't show the "heightmap/metalmap/minimap" images that normally should appear for uploaded maps and people haven't been able to automatically download it through the lobby.
ivand
Posts: 310
Joined: 27 Jun 2007, 17:05

Re: springfiles.com migrated to new server!

Post by ivand »

The infra continues to deliver.
Now springfiles is down. Consequentially all PRd downloads are down as well.
Image
Attachments
unknown[1].png
(13.95 KiB) Not downloaded yet
User avatar
PicassoCT
Journeywar Developer & Mapper
Posts: 10450
Joined: 24 Jan 2006, 21:12

Re: springfiles.com migrated to new server!

Post by PicassoCT »

What can the average springizen contribute to resolve ?
ivand
Posts: 310
Joined: 27 Jun 2007, 17:05

Re: springfiles.com migrated to new server!

Post by ivand »

PicassoCT wrote: 18 Dec 2020, 22:28 What can the average springizen contribute to resolve ?
Call abma.
abma
Spring Developer
Posts: 3798
Joined: 01 Jun 2009, 00:08

Re: springfiles.com migrated to new server!

Post by abma »

meh, springfiles.com really needs to be migrated to somewhere else. this server is way to unstable:

https://github.com/springfiles/upq/issues/58

(help is welcome :? ! )
raaar
Metal Factions Developer
Posts: 1094
Joined: 20 Feb 2010, 12:17

Re: springfiles.com migrated to new server!

Post by raaar »

what does "way too unstable" mean exactly?

the website is completely unavailable since a few days ago, what broke?
abma
Spring Developer
Posts: 3798
Joined: 01 Jun 2009, 00:08

Re: springfiles.com migrated to new server!

Post by abma »

raaar wrote: 19 Dec 2020, 21:08 what does "way too unstable" mean exactly?
the server is maintained by someone else who doesn't care this much about stability it seem: it broke because updates where installed without checking/fixing springfiles afterwords.
raaar
Metal Factions Developer
Posts: 1094
Joined: 20 Feb 2010, 12:17

Re: springfiles.com migrated to new server!

Post by raaar »

Well, it seems you fixed the site being offline part, springfiles is accessible again.

Thanks.
User avatar
PtaQ
Posts: 186
Joined: 15 Sep 2009, 10:40

Re: springfiles.com migrated to new server!

Post by PtaQ »

IceXuick reported that there is still an issue with springfiles currently:

https://github.com/springfiles/upq/issues/62

Could you pick up on this and take a look if this can be solved any soon? This makes us unable to update maps since 1,5 a month now. Thank you in advance.
raaar
Metal Factions Developer
Posts: 1094
Joined: 20 Feb 2010, 12:17

Re: springfiles.com migrated to new server!

Post by raaar »

Springfiles is online but it's not working properly.

I was going to upload a new game version, but after uploading the metalfactions-v1.48.sdz the page reloads with the empty "create file" form.
raaar
Metal Factions Developer
Posts: 1094
Joined: 20 Feb 2010, 12:17

Re: springfiles.com migrated to new server!

Post by raaar »

https://api.springfiles.com/upload/

I've tested uploading metalfactions-v1.49.sdz here using my forum password and my springfiles password and get "Invalid username or Password" in both cases (the user name is the same).

What does "springrts.com Username" on the form mean?
abma
Spring Developer
Posts: 3798
Joined: 01 Jun 2009, 00:08

Re: springfiles.com migrated to new server!

Post by abma »

raaar wrote: 06 Jan 2021, 03:09 What does "springrts.com Username" on the form mean?
the lobby account is meant.
raaar
Metal Factions Developer
Posts: 1094
Joined: 20 Feb 2010, 12:17

Re: springfiles.com migrated to new server!

Post by raaar »

With the lobby credentials i was able to upload metalfactions-v1.50.sdz.

It doesn't show up on springfiles or on "https://api.springfiles.com/" though.
abma
Spring Developer
Posts: 3798
Joined: 01 Jun 2009, 00:08

Re: springfiles.com migrated to new server!

Post by abma »

raaar wrote: 08 Jan 2021, 05:58 It doesn't show up on springfiles or on "https://api.springfiles.com/" though.
because its already there:

https://api.springfiles.com/?springname ... ions+v1.50

-> https://github.com/spring/upq/issues/61
raaar
Metal Factions Developer
Posts: 1094
Joined: 20 Feb 2010, 12:17

Re: springfiles.com migrated to new server!

Post by raaar »

right, you had shown me that before for an earlier version. The version is shown if "Metal Factions v1.50" is used on the search box, but not "Metal Factions*". Using "metal_factions-v1.50.sdz" on the filename filter also gets no results despite the output shown below.


The output I got was kind of confusing:

Code: Select all

symlinking /tmp/springfiles-upload/metalfactions-v1.50.sdz /home/upq/upq/tmp/tmp9ht3h6u6/games/metalfactions-v1.50.sdz
using unitsync version 100
SDP 9055e2dd3084b874e9ea6add297a8c19
Extracting data from metalfactions-v1.50.sdz
Reading bitmaps/loadpictures/loadscreen1.jpg
Wrote /home/upq/upq/metadata/d8e521b2a24ef384255734e73d0dfe14.jpg
moved file to (abs)/tmp/springfiles-upload/metalfactions-v1.50.sdz :(rel)/home/upq/upq/files/games/metal_factions-v1.50.sdz
moved file to /home/upq/upq/files/games/metal_factions-v1.50.sdz
( ... json with unit list ...)
Updated game 'Metal Factions' version 'v1.50' sdp '9055e2dd3084b874e9ea6add297a8c19' in the mirror-system
File doesn't exist: /tmp/springfiles-upload/metalfactions-v1.50.sdz
b'GetPrimaryModDescription: deprecated unitsync function called: GetPrimaryModDescription'
the result shows a mirror

Code: Select all

mirrors:
		0:https://api.springfiles.com/files//Metal Factions v1.50 (not available as sdz)
but if i click the link i get a "404 not found".

These don't show up on the main springfiles website which is now showing spam:
sf_spam.jpg
(37.27 KiB) Not downloaded yet
Is the main springfiles web site going to be taken down? might be a good idea if we get another kind of index for content. But this needs to be more reliable. It's very easy to miss things using the search filter atm.

It'd be nice if we could migrate the springfiles data to the new format in such case.
abma
Spring Developer
Posts: 3798
Joined: 01 Jun 2009, 00:08

Re: springfiles.com migrated to new server!

Post by abma »

raaar wrote: 09 Jan 2021, 01:06 right, you had shown me that before for an earlier version. The version is shown if "Metal Factions v1.50" is used on the search box, but not "Metal Factions*". Using "metal_factions-v1.50.sdz" on the filename filter also gets no results despite the output shown below.
thats "known", but the importance is/was very low as long as springfiles.com exists. its more to show the functionality of the api. a quick hacked frontend for that api shows what could be possible: https://api.springfiles.com/newindex.html but this needs a lot of love to be useful.
raaar wrote: 09 Jan 2021, 01:06 Is the main springfiles web site going to be taken down? might be a good idea if we get another kind of index for content. But this needs to be more reliable. It's very easy to miss things using the search filter atm.
no clue, but its just a matter of time when it will break again: maybe at some point unfixable. the issues you wrote are known:

https://github.com/spring/upq/issues/66
https://github.com/spring/upq/issues/61

what you see is the result of to few manpower + lack of motivation.
raaar
Metal Factions Developer
Posts: 1094
Joined: 20 Feb 2010, 12:17

Re: springfiles.com migrated to new server!

Post by raaar »

i'll send you an alternative newindex.html with more features.
raaar
Metal Factions Developer
Posts: 1094
Joined: 20 Feb 2010, 12:17

Re: springfiles.com migrated to new server!

Post by raaar »

the json replies lack some of the data that's on the springfiles entries, namely
- thumbnail links (vs the big image links)
- content description

(also this)
abma
Spring Developer
Posts: 3798
Joined: 01 Jun 2009, 00:08

Re: springfiles.com migrated to new server!

Post by abma »

raaar wrote: 12 Jan 2021, 00:29 the json replies lack some of the data that's on the springfiles entries, namely
- thumbnail links (vs the big image links)
- content description
what you see on springfiles.com is close to completely unrelated to what you see on api.springfiles.com: the data is in a different database.

creating a script which creates thumbnails of existing pictures would be some "homework". the content description could be migrated: but this requires a possibility to edit it by the uploader / "owner", also some format for simple layout stuff is required i guess, markdown is a good candidate.

my only wish when touching the backend code of upq is: replace the php code with python as this allows to remove a lot of duplicate code.
Post Reply

Return to “Infrastructure Development”