Forums | Mahara Community

Support /
Mahara on Ubantu


anonymous profile picture
Account deleted
Posts: 92

02 November 2010, 8:47

Hello,

I want to transfer the mahara form windows to Ubantu.

i sucessfully install but  can't take the data path.

so that uploaded artefact not disaplyed.

any one can solved this problem?

02 November 2010, 11:02

I take for granted you already have installed the database with the previous information from your Windows intallation.

You must then copy your data folder into /var on your Unbuntu installation.

Change the owner and user-group access with these commands :

  1. cd /var
  2. sudo chown -R www-data:www-data your-mahara-data-folder-name
  3. sudo chmod -R 666 your-mahara-data-folder-name

Then modify the paths in your config.php

  1. edit line 58   $cfg->wwwroot = 'http://your.servername.com/path-to-mahara-folder/';
  2. edit line 80   $cfg->dataroot = '/var/your-mahara-data-folder-name';

HTH

-dajan

anonymous profile picture
Account deleted
Posts: 92

03 November 2010, 0:40

Hello Dominique-Alain JAN

Thanks for the Reply.

With follow your step then Problem is Fixed.

Thanks Once Again

anonymous profile picture
Account deleted
Posts: 92

03 November 2010, 1:03

Now i want to transfer mahara on My MAC Book.

But Error Fired on my Mac book.

Errors are as below.

Please Help me for that Error.

03 November 2010, 2:30

Upgrading is always a stressful moment and sometimes an issue without any possible recovery. What I suggest is :

  • have a 1.3 working properly on your Unbuntu or Windows installation
  • then install bkup of this on your Mac

Moreover, I don't know you installed the necessary bit on your Mac. I recommend you to use XAMP or MAMP on your Mac and then use Mahara on XMAP/MAMP instead of using OSX web server.

Good luck.

dajan

anonymous profile picture
Account deleted
Posts: 92

03 November 2010, 4:25

I Install backup of my Ubantu.

in Mac gives me the Following Error.

Mahara: Site unavailable
Your defined data root directory, /Applications/XAMPP/xamppfiles/htdocs/me/olio_data/, is not writable. This means that neither session data, user files nor anything else that needs to be uploaded can be saved on your server. Please make the directory if it does not exist, or give ownership of the directory to the web server user if it does.

anonymous profile picture
Account deleted
Posts: 92

03 November 2010, 6:06

Please Help me.

I am waiting for positive reply.

anonymous profile picture
Account deleted
Posts: 214

03 November 2010, 6:19

As the error states, your data root directory is not writeable by the user that your web server runs as.

I would imagine that XAMPP have guidance on what user their application runs as. You will need to chown the data root directory to be writeable by this user.

Andrew

03 November 2010, 6:32

Unbuntu use apache for group and user to web access.

So chown and chmod your folder that way

 

  • su chown -R apache:apache /Applications/XAMPP/xamppfiles/htdocs/me/olio_data
  • su chmod -R 666 /Applications/XAMPP/xamppfiles/htdocs/me/olio_data

This should work

HTH

-dajan

anonymous profile picture
Account deleted
Posts: 92

03 November 2010, 7:49

Thanks for reply.

I follow your Steps but now gives me the following error.

Error:

For some reason some of the core data directories could not be created. This should not happen, as Mahara previously detected that the dataroot directory was writable. Please check the permissions on the dataroot directory.

Thanks once again for the reply.

10 results