Skip to content

Archive Trac docs seedme2

madscatt edited this page Jun 20, 2026 · 1 revision

Docs Seedme2

Legacy Trac archive page imported from docs_seedme2. Source: https://genapp.rocks/wiki/wiki/docs_seedme2. Review age, links, and examples before treating as current.

seedmelab integration notes

  • setup seedme2 integration
    • in directives.json add
,seedmelab: { "url":"http...." }
,secrets: "/path/to/secrets.json"
{
    "seedmelab" : {
        "host" : "http://url.of.seedme.server"
        ,"apikey" : "apikey-of-seedmelab"
    }
}
  • There are two ways a user can login

    1. Cookie auth: If the user is logged in Genapp then visits, seedme2 page, they get logged in, an account in SeedMe2 is created if needed.

    2. Visit and login in to GenApp tutorial2: http://seedme2.genapp.rocks:8000/tutorial2/

    3. Then visit the seedme2 page: http://seedme2.genapp.rocks:8080/foldershare This requires a reload if the page was cached in the browser.

    4. Direct login: When user enters username and password on SeedMe2, they are logged in, an account in SeedMe2 is created if needed.

    5. Visit seedme2, then login http://seedme2.genapp.rocks:8080/user/login

  • Some issues

    1. Due to cookie auth, the logout on SeedMe2 won’t work, unless the user logs out of Genapp first, as the cookie logs them in. We are wondering if we trigger a logout for both genapp and seedme2 simultaneously.
    2. When user directly logs in via SeedMe2, they are logged in to Drupal, but not on Genapp

Please hold on testing the sync script, as there is a bug in the new client.

New Release
Now we also have new release of foldershare 0.6.1 version which brings in a host of updates and improvements, this is now installed on seedme2 container at port 8080. One key update is that now files can be uploaded at root level, which was not possible earlier.

There is a corresponding new REST client. Very likely your script would work as is, so when you have chance please try that our with new foldershare_php_client version 0.6.1. You can download it from here https://dibbs.seedme.org/sites/dibbs.seedme.org/files/downloads/foldershare_php_client.0.6.1.zip

updates 12/13/19

  • certificate renewal steps need to be detailed
  • foldershare needs updating in dockerfile

updates 7/23/19

  • currently working in genapp/tmp
    • fs.sh / cli wrapper
    • syncfilesdirs.php / php sync function
    • currently genapp->seedme2
    • /opt/genapp/docker/tutorial2/results/bin/my_seedme2_conf.txt
    • current location of seedme2 conf values
      • move to secrets.json

testing updates

  1. [done] manual test of sync
  2. [done] move conf to secrets
  3. [done] move code to html5/seedmelab
  4. [done] update syncfilesdirs.php
  5. [done] convert debugging into log file
  6. [done] push job sync to end of job run
  • [done] util/jobrun.php

later

  1. convert from per-job pusher to daemon serializing transfers
  2. add / test optional project
  3. sync back before job run
  4. udp messaging when sync'd or conversion of seedmelab icon ?

Clone this wiki locally