Top Menu

Jump to content
Home
    Modules
      • Projects
      • Activity
      • Work packages
      • Gantt charts
      • Calendars
      • Team planners
      • Boards
      • News
    • Getting started
    • Introduction video
      Welcome to OpenProject Community
      Get a quick overview of project management and team collaboration with OpenProject. You can restart this video from the help menu.

    • Help and support
    • Upgrade to Enterprise edition
    • User guides
    • Videos
    • Shortcuts
    • Community forum
    • Enterprise support

    • Additional resources
    • Data privacy and security policy
    • Digital accessibility (DE)
    • OpenProject website
    • Security alerts / Newsletter
    • OpenProject blog
    • Release notes
    • Report a bug
    • Development roadmap
    • Add and edit translations
    • API documentation
  • Sign in
      Forgot your password?

      or sign in with your existing account

      Google

Side Menu

  • Overview
  • Activity
    Activity
  • Roadmap
  • Work packages
    Work packages
  • Gantt charts
    Gantt charts
  • Calendars
    Calendars
  • Team planners
    Team planners
  • Boards
    Boards
  • News
  • Forums

Content

Plugins
  1. OpenProject
  2. Forums
  3. Plugins
  4. Edit Wiki via mysql?

Edit Wiki via mysql?

Added by Thomas Roder almost 8 years ago

Hello!

I need to edit the wiki via a script. I figure that directly editing the mysql entry is the best way since the API doesn’t support editing the wiki (yet) and cURL requires javascript. Thinks like PhantomJS are incredibly dirty imo.

I managed to log into the database sucessfully:
In /etc/openproject/installer.dat i found the username and password for the database
In /etc/openproject/conf.d/database i found the the localhost IP
=> mysql -u $USERNAME -h $IP -p, then enter password

I even found data that looks relevant, for example the table of projects and the data contained in the wiki:
SELECT * FROM openproject.projects;
SELECT * FROM openproject.wiki_contents;project_associations

My problem is that I can’t see which wiki entry is connected to which project! Where can I get this information?

Thank you!


My configuration: OpenProject 7.0.2, Ubuntu 16:04, standard mysql installation (via openproject configure)


Loading...