Hi,
Regarding the user postgres: this is your DB superuser, never use it as a
normal user login to lsmb. 'root' also should never used in any context (as
login name or whatever).
------------
Regarding the upgrade process, in that case, when you want to skip aptitude and
you have otherwise a working environment:
Let's say, your ledgersmb located on the filesystem under /usr/share/ledgersmb
In this case the upgrade steps are the following (consider a backup about your
VM :) :
download the source of the latest and greatest ledgersmb (1.3.38)
untar it into a temporarty directory, let's say, /tmp/lsmb
set the ownership to the same as your current files ( /usr/share/ledgersmb ),
for example www-data:www-data : chown -R www-data:www-data /tmp/lsmb
you can set permisson too, for example: chmod -R 0777 /tmp/lsmb
copy all files from the new location (/tmp/lsmb/* to the old place:
/usr/share/ledgersmb/* )
login to the setup.pl: http://localhost/setup.pl (you are using ssh tunneling,
that is why I wrote this)
use your postgresql superuser account to login and give the database name you
are using
Choose Rebuild to get a fresh, updated DB
Start using ledgersmb
Login as normal user
Cheers,
István
----------------eredeti üzenet-----------------
Feladó: "o1bigtenor" [email protected]
Címzett: "Development discussion for LedgerSMB"
[email protected]
Dátum: Thu, 27 Feb 2014 07:13:27 -0600
----------------------------------------------------------
>
>
>
>
>
>On Wed, Feb 26, 2014 at 9:21 PM, Chris Travers [email protected] wrote:
>
>snip
>
>
>
>
>
>
>
>
>
>
>
>Hmmmmmmmmmmmmmm - - - will have to look into upgrading.
>
>
>
>I can't find anything on the website for processes and procedures for updating
>from one
>version to another.
>
>
>
>
>
>
>
>
>
>Since I set it up before I can set it up for you to upgrade and just include
>that. I will
>follow up with you off-list about this.
>
>
>
>
>
>
>
>
>Suggestions?
>
>
>
>(A written out list of commands and processes would be wonderful!)
>
>
>
>
>
>
>
>
>The big thing is we should set up some authentication stuff for this to work.
>Since I set
>it up, I should probably help with that at least. I can then let you do the
>actual upgrade.
>
>
>
>Here are some commands though to prepare for the upgrade:
>
>
>
>sudo -u postgres psql
>
>alter user "postgres" with password 'mysecretpasswd' valid until 'infinity';
>
>
>
>Of course change mysecretpasswd and keep it secret. This is a permanent
>password.
>
>
>
>
>
>
>
>Does this mean that the password that I have for user "postgres" is not a
>permanent
>password?
>
>
>
>
>
>
>
>From there you can download the most recent version. if this was a debian
>package you can
>use apt-get. If it was a tarball, download 1.3.38.
>
>
>
>Unpack it over your existing configuration
>
>
>
>
>
>
>
>I do not understand what this means. (Sorry and ms. google is being singularly
>obtuse!)
>
>
>
>
>
>
>
>Go to your ledgersmb login screen and change "[login.pl" to "setup.pl ->
>http://login.pl]" in the address bar. Go there.
>
>
>
>Log in with the PostgreSQL credentials you set. Enter the db name you want to
>upgrade.
>Click continue. You are done.
>
>
>
>I am happy to do this for you, but you may want to do it yourself so as to get
>experience with
>it. If you are available over skype, irc, Google Talk, etc. we can go through
>it there.
>
>
>
>
>
>
>
>I do need to learn to do this!
>
>
>Not an any of those chatting systems but that may have to change as well
>(grin!).
>
>
>Thanking you for your assistance!
>
>
>Darald
>
>
>
>
>__________________________________________________
>
>
>
>-------------------------------------------------------------------------
>-----
>Flow-based real-time traffic analytics software. Cisco certified tool.
>Monitor traffic, SLAs, QoS, Medianet, WAAS etc. with NetFlow Analyzer
>Customize your own dashboards, set traffic alerts and generate reports.
>Network behavioral analysis & security monitoring. All-in-one tool.
>
>http://pubads.g.doubleclick.net/gampad/clk?id=126839071&iu=/4140/ostg.clk
>trk
>
>__________________________________________________
>
>
>_______________________________________________
>Ledger-smb-devel mailing list
>[email protected]
>https://lists.sourceforge.net/lists/listinfo/ledger-smb-devel
>
>
>
>
>
>
------------------------------------------------------------------------------
Flow-based real-time traffic analytics software. Cisco certified tool.
Monitor traffic, SLAs, QoS, Medianet, WAAS etc. with NetFlow Analyzer
Customize your own dashboards, set traffic alerts and generate reports.
Network behavioral analysis & security monitoring. All-in-one tool.
http://pubads.g.doubleclick.net/gampad/clk?id=126839071&iu=/4140/ostg.clktrk
_______________________________________________
Ledger-smb-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ledger-smb-devel