baiwyc119 / lxmppd

Automatically exported from code.google.com/p/lxmppd
0 stars 0 forks source link

OS X Homebrew installation has incorrect default data path #400

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. prosodyctl adduser test@lab
2. enter new password
3. Retype new password
4. Error message:

datamanager         error   Unable to write to accounts storage 
('/usr/local/Cellar/prosody/0.9.3/var/lib/prosody/lab/accounts/test.dat~: No 
such file or directory') for user: test@lab
Error saving to storage

What is the expected output? What do you see instead?

should suceed. I see an error with WRONG path
there is no var/ inside 0.9.3/

A-MacBook-Pro:0.9.3 ad$ pwd
/usr/local/Cellar/prosody/0.9.3
A-MacBook-Pro:0.9.3 ad$ ls -la
total 40
drwxr-xr-x  11 ad  wheel   374  5 Mar 20:58 .
drwxr-xr-x   3 ad  wheel   102  5 Mar 20:58 ..
-rw-r--r--   1 ad  wheel   375 12 Jan 11:41 AUTHORS
-rw-r--r--   1 ad  wheel  1099 12 Jan 11:41 COPYING
-rw-r--r--   1 ad  wheel   219  5 Mar 20:58 INSTALL_RECEIPT.json
-rw-r--r--   1 ad  wheel  1104 12 Jan 11:41 README
-rw-r--r--   1 ad  wheel    74 12 Jan 11:41 TODO
drwxr-xr-x   4 ad  wheel   136  5 Mar 20:58 bin
drwxr-xr-x   3 ad  wheel   102  5 Mar 20:58 etc
drwxr-xr-x   3 ad  wheel   102  5 Mar 20:58 lib
drwxr-xr-x   3 ad  wheel   102  5 Mar 20:58 share
A-MacBook-Pro:0.9.3 ad$

What version of the product are you using? On what operating system?

Latest stable from the website as of 5th march 2014. Installed today.

Please provide any additional information below.

Original issue reported on code.google.com by a...@arista.com on 5 Mar 2014 at 9:54

GoogleCodeExporter commented 9 years ago
Any kind of work around (manual path change) available?

Original comment by tonyli.l...@gmail.com on 16 Apr 2014 at 8:21

GoogleCodeExporter commented 9 years ago
Waqas is going to be looking at the Homebrew script, and hopefully fix this 
issue.

In the meantime, yes, you can change the data path via the 'data_path' option 
in the config. I don't use OS X, I'm not sure what the correct path is... as 
long as it exists and is owned by Prosody, you can use anything.

Original comment by MWild1 on 16 Apr 2014 at 1:25