GMG FAQ: Difference between revisions

From GNU MediaGoblin Wiki
Jump to navigation Jump to search
(dbupdate)
 
(10 intermediate revisions by 3 users not shown)
Line 1: Line 1:
'''NOTE:''' MediaGoblin is in heavy development, so the answers in this FAQ are very likely to be incomplete or obsolete. Please use the documentation, git, mailing list, IRC ''etc''.

== Is it possible to upload many files at a time? ==
== Is it possible to upload many files at a time? ==

[…there was at least one script or plug-in for that, based on the API…]
''As of 2013-09-08:''

* There is at least one script for that, based on the API, [https://github.com/joar/automgtic automgtic by joar]. It might not work now in some way due to API changes.

* There is experimental support for a [http://piwigo.org/ Piwigo] compatible API, usable with [http://yorba.org/shotwell/ Shotwell]; see "[http://saz.im/blog/shotwell-mg.html Using Shotwell with Mediagoblin]".

* pythonsnake has made [https://github.com/pythonsnake/MediaDwarf/tree/486_multiupload a branch for multiupload] in his repo. Source: [http://www.reddit.com/r/linux/comments/1lselg/mediagoblin_050_released_with_help_from_opw_and/cc3lgu6]

* if you have files already on the server, you can use "gmg batchaddmedia" in the local shell to import media in Mediagoblin


== There is an SQL error ==
== There is an SQL error ==
If you've changed configuration or updated the code, you need to run a dbupdate, please see [http://docs.mediagoblin.org/siteadmin/deploying.html#install-mediagoblin-and-virtualenv].
If you've changed configuration (like enabling a plug-in) or updated the code, you may need to run a dbupdate, please see [http://docs.mediagoblin.org/siteadmin/deploying.html#install-mediagoblin-and-virtualenv]. The database must be readable (and probably writeable).

== Authentication is disabled after an update ==

Add this to the [plugins] section of mediagoblin.ini:
<pre>[[mediagoblin.plugins.basic_auth]]</pre>

See mediagoblin.ini and [http://lists.mediagoblin.org/pipermail/devel/2013-July/000610.html] for examples of more.

== Development ==

=== Why did you [http://issues.mediagoblin.org/ticket/557 switch] from MongoDB to SQL? ===
There are some notes at
* [[Scaling Down]]
* [[SQL Database Backend]]

Latest revision as of 03:47, 11 May 2020

NOTE: MediaGoblin is in heavy development, so the answers in this FAQ are very likely to be incomplete or obsolete. Please use the documentation, git, mailing list, IRC etc.

Is it possible to upload many files at a time?

As of 2013-09-08:

  • There is at least one script for that, based on the API, automgtic by joar. It might not work now in some way due to API changes.
  • if you have files already on the server, you can use "gmg batchaddmedia" in the local shell to import media in Mediagoblin

There is an SQL error

If you've changed configuration (like enabling a plug-in) or updated the code, you may need to run a dbupdate, please see [2]. The database must be readable (and probably writeable).

Authentication is disabled after an update

Add this to the [plugins] section of mediagoblin.ini:

[[mediagoblin.plugins.basic_auth]]

See mediagoblin.ini and [3] for examples of more.

Development

Why did you switch from MongoDB to SQL?

There are some notes at