vagrant issues

classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

vagrant issues

Moritz Schubotz-2
Hi,

after updateing my vgrant folder via git deleting the oracle vm folder and
recreating the vm I have two  issues
1) there is no database wiki; only test without tables.
2) if I log in I get the following message
-bash: /etc/virtualbox-version: No such file or directory
Your VirtualBox guest additions are out-of-date. Please run
'update-guest-additions'.

Is there a way to recreate the db?

Best regards
physikerwelt

--
Mit freundlichen Grüßen
Moritz Schubotz

  Telefon (Büro):  +49 30 314 22784
  Telefon (Privat):+49 30 488 27330
  E-Mail: [hidden email]
  Web: http://www.physikerwelt.de
  Skype: Schubi87
  ICQ: 200302764
  Msn: [hidden email]
_______________________________________________
Wikitech-l mailing list
[hidden email]
https://lists.wikimedia.org/mailman/listinfo/wikitech-l
Reply | Threaded
Open this post in threaded view
|

Re: vagrant issues

Ori Livneh



On Friday, April 12, 2013 at 4:36 AM, Moritz Schubotz wrote:

> Hi,
>
> after updateing my vgrant folder via git deleting the oracle vm folder and
> recreating the vm I have two issues
> 1) there is no database wiki; only test without tables.
> 2) if I log in I get the following message
> -bash: /etc/virtualbox-version: No such file or directory
> Your VirtualBox guest additions are out-of-date. Please run
> 'update-guest-additions'.
>
> Is there a way to recreate the db?
The database is stored in the VM, so if you deleted the VM, the database is gone. Because this configuration is meant to facilitate MediaWiki code development work rather than actually power a production wiki, no attempt is made to back up the database contents outside the virtual machine. I still think that's the right idea, but it would probably be good to note this in the README.. I'll add it.

--
Ori Livneh



_______________________________________________
Wikitech-l mailing list
[hidden email]
https://lists.wikimedia.org/mailman/listinfo/wikitech-l
Reply | Threaded
Open this post in threaded view
|

Re: vagrant issues

Moritz Schubotz-2
Sure. I didn't want to have the data back. My itention was to get a fresh
database, afer deleting and recreating the vm.
Best
Moritz


On Fri, Apr 12, 2013 at 2:34 PM, Ori Livneh <[hidden email]> wrote:

>
>
>
> On Friday, April 12, 2013 at 4:36 AM, Moritz Schubotz wrote:
>
> > Hi,
> >
> > after updateing my vgrant folder via git deleting the oracle vm folder
> and
> > recreating the vm I have two issues
> > 1) there is no database wiki; only test without tables.
> > 2) if I log in I get the following message
> > -bash: /etc/virtualbox-version: No such file or directory
> > Your VirtualBox guest additions are out-of-date. Please run
> > 'update-guest-additions'.
> >
> > Is there a way to recreate the db?
> The database is stored in the VM, so if you deleted the VM, the database
> is gone. Because this configuration is meant to facilitate MediaWiki code
> development work rather than actually power a production wiki, no attempt
> is made to back up the database contents outside the virtual machine. I
> still think that's the right idea, but it would probably be good to note
> this in the README.. I'll add it.
>
> --
> Ori Livneh
>
>
>
> _______________________________________________
> Wikitech-l mailing list
> [hidden email]
> https://lists.wikimedia.org/mailman/listinfo/wikitech-l




--
Mit freundlichen Grüßen
Moritz Schubotz

  Telefon (Büro):  +49 30 314 22784
  Telefon (Privat):+49 30 488 27330
  E-Mail: [hidden email]
  Web: http://www.physikerwelt.de
  Skype: Schubi87
  ICQ: 200302764
  Msn: [hidden email]
_______________________________________________
Wikitech-l mailing list
[hidden email]
https://lists.wikimedia.org/mailman/listinfo/wikitech-l
Reply | Threaded
Open this post in threaded view
|

Re: vagrant issues

Ori Livneh


On Friday, April 12, 2013 at 6:38 AM, Moritz Schubotz wrote:

> Sure. I didn't want to have the data back. My itention was to get a fresh
> database, afer deleting and recreating the vm.
> Best
> Moritz

This should happen automatically on a recent build. I think you might have a stale version, since  "/etc/virtualbox-version: No such file or directory" was fixed in Gerrit change I8b7d1bfb6, which was merged on April 5th. Try running 'git pull' in the Vagrant directory to get the latest configuration; then run 'vagrant reload'.


--
Ori Livneh




_______________________________________________
Wikitech-l mailing list
[hidden email]
https://lists.wikimedia.org/mailman/listinfo/wikitech-l