GMG FAQ: Difference between revisions

From GNU MediaGoblin Wiki
Jump to navigation Jump to search
("Why did you [http://issues.mediagoblin.org/ticket/557 switch] from MongoDB to SQL?")
 
(4 intermediate revisions by 2 users not shown)
Line 11: Line 11:
* 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]
* 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 ==
Line 17: Line 18:
== Authentication is disabled after an update ==
== Authentication is disabled after an update ==


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



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