From 022491d9d2723ca4d7d0718cdb1fd67e7652428e Mon Sep 17 00:00:00 2001 From: cvs2git Date: Wed, 7 Apr 2004 09:08:35 +0000 Subject: This commit was manufactured by cvs2svn to create tag 'NET_WHOIS_RAW_0_31'. --- httemplate/docs/ach.html | 12 - httemplate/docs/admin.html | 81 ---- httemplate/docs/billing.html | 54 --- httemplate/docs/config.html | 36 -- httemplate/docs/cvv2.html | 25 -- httemplate/docs/export.html | 55 --- httemplate/docs/ieak.html | 75 ---- httemplate/docs/index.html | 30 -- httemplate/docs/install.html | 212 ---------- httemplate/docs/legacy.html | 39 -- .../docs/man/FS/part_export/.cvs_is_on_crack | 0 httemplate/docs/overview.dia | Bin 2800 -> 0 bytes httemplate/docs/overview.png | Bin 13064 -> 0 bytes httemplate/docs/passwd.html | 23 -- httemplate/docs/schema.dia | Bin 14438 -> 0 bytes httemplate/docs/schema.html | 435 --------------------- httemplate/docs/schema.png | Bin 681043 -> 0 bytes httemplate/docs/session.html | 59 --- httemplate/docs/signup.html | 54 --- httemplate/docs/ssh.html | 16 - httemplate/docs/trouble.html | 26 -- httemplate/docs/upgrade-1.4.2.html | 26 -- httemplate/docs/upgrade10.html | 222 ----------- httemplate/docs/upgrade7.html | 24 -- httemplate/docs/upgrade8.html | 392 ------------------- httemplate/docs/upgrade9.html | 28 -- 26 files changed, 1924 deletions(-) delete mode 100644 httemplate/docs/ach.html delete mode 100755 httemplate/docs/admin.html delete mode 100644 httemplate/docs/billing.html delete mode 100644 httemplate/docs/config.html delete mode 100644 httemplate/docs/cvv2.html delete mode 100755 httemplate/docs/export.html delete mode 100644 httemplate/docs/ieak.html delete mode 100644 httemplate/docs/index.html delete mode 100644 httemplate/docs/install.html delete mode 100755 httemplate/docs/legacy.html delete mode 100644 httemplate/docs/man/FS/part_export/.cvs_is_on_crack delete mode 100644 httemplate/docs/overview.dia delete mode 100644 httemplate/docs/overview.png delete mode 100755 httemplate/docs/passwd.html delete mode 100644 httemplate/docs/schema.dia delete mode 100644 httemplate/docs/schema.html delete mode 100644 httemplate/docs/schema.png delete mode 100644 httemplate/docs/session.html delete mode 100644 httemplate/docs/signup.html delete mode 100755 httemplate/docs/ssh.html delete mode 100755 httemplate/docs/trouble.html delete mode 100644 httemplate/docs/upgrade-1.4.2.html delete mode 100644 httemplate/docs/upgrade10.html delete mode 100644 httemplate/docs/upgrade7.html delete mode 100644 httemplate/docs/upgrade8.html delete mode 100644 httemplate/docs/upgrade9.html (limited to 'httemplate/docs') diff --git a/httemplate/docs/ach.html b/httemplate/docs/ach.html deleted file mode 100644 index b79df78fe..000000000 --- a/httemplate/docs/ach.html +++ /dev/null @@ -1,12 +0,0 @@ - - - - Electronic check (ACH) information - - - - -
-
(close window)
- - diff --git a/httemplate/docs/admin.html b/httemplate/docs/admin.html deleted file mode 100755 index 50beafe78..000000000 --- a/httemplate/docs/admin.html +++ /dev/null @@ -1,81 +0,0 @@ - - Administration - - -

Administration

- - - - diff --git a/httemplate/docs/billing.html b/httemplate/docs/billing.html deleted file mode 100644 index 1d6f8c4fc..000000000 --- a/httemplate/docs/billing.html +++ /dev/null @@ -1,54 +0,0 @@ - - Billing - - -

Billing

- - diff --git a/httemplate/docs/config.html b/httemplate/docs/config.html deleted file mode 100644 index 9caf3bb3a..000000000 --- a/httemplate/docs/config.html +++ /dev/null @@ -1,36 +0,0 @@ - - Configuration files - - -

Configuration files

-Configuration is now done by the top-level Makefile and web interface. The instructions below are no longer necessary. - - - diff --git a/httemplate/docs/cvv2.html b/httemplate/docs/cvv2.html deleted file mode 100644 index fe8a17f6f..000000000 --- a/httemplate/docs/cvv2.html +++ /dev/null @@ -1,25 +0,0 @@ - - - - CVV2 information - - - - The CVV2 number (also called CVC2 or CID) is a three- or four-digit - security code used to reduce credit card fraud.

- - - - - - - - -
Visa / MasterCard / DiscoverAmerican Express
- Visa/MasterCard/Discover - - American Express -
-
(close window)
- - diff --git a/httemplate/docs/export.html b/httemplate/docs/export.html deleted file mode 100755 index 71e3acf1f..000000000 --- a/httemplate/docs/export.html +++ /dev/null @@ -1,55 +0,0 @@ - - File exporting - - -

File exporting

- NOTE: This file is OUT OF DATE with the landing of the new export code and is only here for reference. DO NOT follow these instructions. Instead use the new exports in the web interface. - -
Unattended remote login - Freeside can login to remote machines unattended using SSH. This can pose a security risk if not configured correctly, and will allow an intruder who breaks into your freeside machine full access to your remote machines. Do not use this feature unless you understand what you are doing! - - - - diff --git a/httemplate/docs/ieak.html b/httemplate/docs/ieak.html deleted file mode 100644 index 00c53423c..000000000 --- a/httemplate/docs/ieak.html +++ /dev/null @@ -1,75 +0,0 @@ -
-this is incomplete
-mostly it should be merged into signup.html and fs_signup/ieak.template
-
-- download and install the IEAK from
-  http://www.microsoft.com/windows/ieak/default.asp
-
-- Good examples may be found in 
-  C:\Program Files\IEAK\toolkit\isp\server\ICW\signup\perl\signup08.pl
-  C:\Program Files\IEAK\toolkit\isp\server\ICW\reconfig\perl\reconfig04.pl
-  C:\Program Files\IEAK6\toolkit\isp\servless\basic\sample.ins
-  C:\Program Files\IEAK6\toolkit\isp\servless\advanced\4567.ins
-  C:\Program Files\IEAK6\toolkit\isp\servless\advanced\4568.ins
-  C:\Program Files\IEAK6\toolkit\isp\servless\advanced\7890.ins
-  C:\Program Files\IEAK6\toolkit\isp\servless\advanced\7891.ins
-
-- Full documentation on all the settings available in .INS files is
-  avaialble under Program Files | Microsoft IEAK 6 | IEAK Help 
-                  | Reference | Internet Settings (.ins) Files
-
-- Freeside will make the following substitutions before sending the file
-  to the user:
-
-  { $ac }         - area code of selected POP
-  { $exch }       - exchange of selected POP
-  { $loc }        - local part of selected POP
-  { $username }
-  { $password }
-  { $email_name } - first and last name
-  { $pkg }        - package name
-
-- Simple example follows:
-
-[Entry]
-Entry Name = IEAK Sample
-[Phone]
-Dial_As_Is = No
-Phone_Number = { $exch }{ $loc }
-Area_Code = { $ac }
-Country_Code = 1
-Country_Id = 1
-[Server]
-Type = PPP
-SW_Compress = Yes
-PW_Encrypt = Yes
-Negotiate_TCP/IP = Yes
-Disable_LCP = No
-[TCP/IP]
-Specity_IP_Address = No
-Specity_Server_Address = No
-IP_Header_Compress = Yes
-Gateway_On_Remote = Yes
-[User]
-Name = { $username }
-Passowrd = { $password }
-Display_Password = Yes
-[Internet_Mail]
-Email_Name = { $email_name }
-Email_Address = { $username }@example.com
-POP_Server = mail.example.com
-POP_Server_Port_Number = 110
-POP_Logon_Password = { $password }
-SMTP_Server = mail.example.com
-SMTP_Server_Port_Number = 25
-Install_Mail = 1
-[URL]
-Help_Page = http://www.ieaksample.net/helpdesk
-Home_Page = http://www.ieaksample.net
-Search_Page = http://www.ieaksample,net/search
-[Favorites]
-IEAK Sample \\ IEAK Sample Home Page.url = http://acme.ieaksample.net/
-[Branding]
-Window_Title = Internet Explorer from Acme Internet Services
-
-
diff --git a/httemplate/docs/index.html b/httemplate/docs/index.html deleted file mode 100644 index 648cb985b..000000000 --- a/httemplate/docs/index.html +++ /dev/null @@ -1,30 +0,0 @@ - - Documentation - - -

Documentation

- - - diff --git a/httemplate/docs/install.html b/httemplate/docs/install.html deleted file mode 100644 index 41aacc51b..000000000 --- a/httemplate/docs/install.html +++ /dev/null @@ -1,212 +0,0 @@ - - Installation - - -

Installation

-Note: Install Freeside on a firewalled, private server, not a public (web, RADIUS, etc.) server.

-Before installing, you need: - -Install the Freeside distribution: - - - - - - - - - -
Apache::ASPMason
    -
  • Run make aspdocs -
  • Copy aspdocs/ to your web server's document space: -
    -cp aspdocs /usr/local/apache/htdocs/freeside-asp
    -
    -
  • Create a Global directory, such as /usr/local/etc/freeside/asp-global/: -
    -mkdir /usr/local/etc/freeside/asp-global/
    -chown freeside /usr/local/etc/freeside/asp-global/
    -
    -
  • Copy htetc/global.asa to the Global directory: -
    -cp htetc/global.asa /usr/local/etc/freeside/asp-global/global.asa
    -
    -
  • Configure Apache for the Global directory and to execute .cgi files using Apache::ASP. For example: -
    -PerlModule Apache::ASP
    -# your freeside document root
    -<Directory /usr/local/apache/htdocs/freeside-asp>
    -<Files ~ (\.cgi|\.html)>
    -SetHandler perl-script
    -PerlHandler Apache::ASP
    -</Files>
    -<Perl>
    -$MLDBM::RemoveTaint = 1;
    -</Perl>
    -PerlSetVar Global /usr/local/etc/freeside/asp-global/
    -PerlSetVar Debug 2
    -PerlSetVar RequestBinaryRead Off
    -# your freeside document root
    -PerlSetVar IncludesDir /usr/local/apache/htdocs/freeside-asp
    -</Directory>
    -
    -
    -
  • Run make masondocs -
  • Copy masondocs/ to your web server's document space. (For example: /usr/local/apache/htdocs/freeside-mason) -
  • Copy htetc/handler.pl to /usr/local/etc/freeside -
  • Edit handler.pl and: -
      -
    • set an appropriate comp_root, such as /usr/local/apache/htdocs/freeside-mason -
    • set an appropriate data_dir, such as /usr/local/etc/freeside/masondata -
    - -
  • Configure Apache to use the handler.pl file and to execute .cgi files using HTML::Mason. For example: -
    -PerlModule HTML::Mason
    -<Directory /usr/local/apache/htdocs/freeside-mason>
    -<Files ~ (\.cgi|.html)>
    -SetHandler perl-script
    -PerlHandler HTML::Mason
    -</Files>
    -<Perl>
    -require "/usr/local/etc/freeside/handler.pl";
    -</Perl>
    -</Directory>
    -
    -
- - diff --git a/httemplate/docs/legacy.html b/httemplate/docs/legacy.html deleted file mode 100755 index 94efe53af..000000000 --- a/httemplate/docs/legacy.html +++ /dev/null @@ -1,39 +0,0 @@ - - Importing legacy data - - -

Importing legacy data

-In almost all cases, legacy data import will require writing custom code to deal with your particular legacy data. The example scripts here will probably not work "out-of-the-box", and are provided as a starting point only. -

Some import scripts may require installation of the Array-PrintCols and Term-Query (make test broken; install manually) modules.
- - - diff --git a/httemplate/docs/man/FS/part_export/.cvs_is_on_crack b/httemplate/docs/man/FS/part_export/.cvs_is_on_crack deleted file mode 100644 index e69de29bb..000000000 diff --git a/httemplate/docs/overview.dia b/httemplate/docs/overview.dia deleted file mode 100644 index a0e34c30e..000000000 Binary files a/httemplate/docs/overview.dia and /dev/null differ diff --git a/httemplate/docs/overview.png b/httemplate/docs/overview.png deleted file mode 100644 index bf2dbc26c..000000000 Binary files a/httemplate/docs/overview.png and /dev/null differ diff --git a/httemplate/docs/passwd.html b/httemplate/docs/passwd.html deleted file mode 100755 index fc1dde956..000000000 --- a/httemplate/docs/passwd.html +++ /dev/null @@ -1,23 +0,0 @@ - - fs_passwd - - -

fs_passwd

-You may use fs_passwd/fs_passwd as a "passwd", "chfn" and "chsh" replacement on your shell machine(s) to cause password, gecos and shell changes to update your freeside machine. You can also use the fs_passwd/fs_passwd.html and fs_passwd/fs_passwd.cgi to run a public password change CGI on a public web server. This can pose a security risk if not configured correctly. Do not use this feature unless you understand what you are doing! -

Currently it is assumed that the the crypt(3) function in the C library is the same on the Freeside machine as on the target machine. - - diff --git a/httemplate/docs/schema.dia b/httemplate/docs/schema.dia deleted file mode 100644 index 746561550..000000000 Binary files a/httemplate/docs/schema.dia and /dev/null differ diff --git a/httemplate/docs/schema.html b/httemplate/docs/schema.html deleted file mode 100644 index b38031777..000000000 --- a/httemplate/docs/schema.html +++ /dev/null @@ -1,435 +0,0 @@ - - Schema reference - - -

Schema reference

- Schema diagram: as a giant .png or dia source (dia homepage). - - diff --git a/httemplate/docs/schema.png b/httemplate/docs/schema.png deleted file mode 100644 index d0392e76f..000000000 Binary files a/httemplate/docs/schema.png and /dev/null differ diff --git a/httemplate/docs/session.html b/httemplate/docs/session.html deleted file mode 100644 index 72e16424e..000000000 --- a/httemplate/docs/session.html +++ /dev/null @@ -1,59 +0,0 @@ - - Session monitor - - -

Session monitor

-

Installation

-For security reasons, the client portion of the session montior may run on one -or more external public machine(s). On these machines, install: - -Then: - -

Usage

- -

Callbacks

- -

Dropping expired users

-Run
bin/freeside-session-kill username
periodically from cron. - - diff --git a/httemplate/docs/signup.html b/httemplate/docs/signup.html deleted file mode 100644 index 97d7aa794..000000000 --- a/httemplate/docs/signup.html +++ /dev/null @@ -1,54 +0,0 @@ - - Signup server - - -

Signup server

-For security reasons, the signup server should run on an external public -webserver. On this machine, install: - -Then: - -Optional: - - diff --git a/httemplate/docs/ssh.html b/httemplate/docs/ssh.html deleted file mode 100755 index d2c501e35..000000000 --- a/httemplate/docs/ssh.html +++ /dev/null @@ -1,16 +0,0 @@ - - Unattended SSH - - -

Unattended SSH

-
Unattended remote login - Freeside can login to remote machines unattended using SSH. This can pose a security risk if not configured correctly, and will allow an intruder who breaks into your freeside machine full access to your remote machines. Do not use this feature unless you understand what you are doing! -
    -
  • As the freeside user (on your freeside machine), generate an authentication key using ssh-keygen. Since this is for unattended operation, use a blank passphrase. -
  • Append the newly-created identity.pub file to ~root/.ssh/authorized_keys (or the appopriate ~username/.ssh/authorized_keys) on the remote machine(s). -
  • Some new SSH v2 implementation accept v2 style keys only. Use the -t option to ssh-keygen, and append the created id_dsa.pub or id_rsa.pub to ~root/.ssh/authorized_keys2 (or the appopriate ~username/.ssh/authorized_keys) on the remote machine(s). -
  • You may need to set PermitRootLogin without-password (meaning with keys only) in your sshd_config file on the remote machine(s). -
  • You may want to set ForwardX11 = no in ~root/.ssh/config to prevent spurious errors if your distribution turns on X11 forwarding by default. -
- - - diff --git a/httemplate/docs/trouble.html b/httemplate/docs/trouble.html deleted file mode 100755 index fce743928..000000000 --- a/httemplate/docs/trouble.html +++ /dev/null @@ -1,26 +0,0 @@ - - Troubleshooting - - -

Troubleshooting

-
    -
  • When troubleshooting the web interface, helpful information is often in your web server's error log. -
  • If bin/svc_acct.import fails with an "Out of memory!" error using MySQL, upgrede MySQL and recompile the Perl DBD. There was a memory leak in some older versions of MySQL. -
  • If you get tons of errors in your web server's error log like this: -
    -Ambiguous use of value => resolved to "value" =>
    -at /usr/lib/perl5/site_perl/File/CounterFile.pm line 132.
    -
    - This clutters up your log files but is otherwise harmless. Upgrade to the latest File::CounterFile. -
  • If you get errors like this: -
    -UID.pm: Can't open /var/spool/freeside/conf/secrets: Permission denied 
    -at /your/path/site_perl/FS/UID.pm line 26.
    -BEGIN failed--compilation aborted at
    -/your/path/edit/process/part_svc.cgi line 15.
    -
    - Then the scripts are not running as the freeside freeside user. See -the New Installation section of the documentation. -
  • If you receive `can not connect to server' errors using MySQL on a system that doesn't support native threading, you may need to specify the full hostname in your DBI datasource. See the MySQL documentation, DBI manpage and the DBD::mysql manpage for details. -
- diff --git a/httemplate/docs/upgrade-1.4.2.html b/httemplate/docs/upgrade-1.4.2.html deleted file mode 100644 index eb40df8b3..000000000 --- a/httemplate/docs/upgrade-1.4.2.html +++ /dev/null @@ -1,26 +0,0 @@ - - Upgrading to 1.4.2 - - -

Upgrading to 1.4.2 from 1.4.1

-
    -
  • If migrating from less than 1.4.1, see these instructions first. -
  • Back up your data and current Freeside installation. -
  • Install Locale::SubCountry -
  • Install IPC::ShareLite -
  • Install HTML::Widgets::SelectLayers 0.04. -
  • Install DBIx::DBSchema 0.23. -
  • Install DBD::Pg 1.32. -
  • Install Cache::Cache. -
  • Install Net::SSH 0.08. -
  • Install Crypt::PasswdMD5 -
  • Install Net::Whois::Raw -
  • CGI.pm minimum version 2.47 is required. You will probably need to install a current CGI.pm from CPAN if you are using Perl 5.005 or earlier. -
  • If using Apache::ASP, add PerlSetVar RequestBinaryRead Off to your Apache configuration and make sure you are using Apache::ASP minimum version 2.55. -
  • Run make aspdocs or make masondocs. -
  • Copy aspdocs/ or masondocs/ to your web server's document space. -
  • Run make install-perl-modules. -
  • The signup server and password server are deprecated in 1.4.2. Their functionality has been incorperated into the self-service server. Edit or reinstall your init script, and set the "signup_server-default_agentnum" and "signup_server-default_refnum" configuration options. The FS::SignupClient interface is still available as a compatibility wrapper, so you should be able to continue to use your current signup.cgi. -
  • Optional: To use typeset invoices, install tetex and ghostscript, and copy conf/invoice_latex, conf/invoice_latexnotes, and conf/invoice_latexfooter to /usr/local/etc/freeside/conf./ -
  • Restart Apache and freeside-queued. - diff --git a/httemplate/docs/upgrade10.html b/httemplate/docs/upgrade10.html deleted file mode 100644 index 205866e73..000000000 --- a/httemplate/docs/upgrade10.html +++ /dev/null @@ -1,222 +0,0 @@ -
    -this is incomplete
    -
    -install DBD::Pg 1.32 (or, if you're using a Perl version before 5.6, you could try installing DBD::Pg 1.22 with this patch and commenting out the "use DBD::Pg 1.32" at the top of DBIx/DBSchema/DBD/Pg.pm)
    -install DBIx::DBSchema 0.23
    -install Net::SSH 0.08
    -- If using Apache::ASP, add PerlSetVar RequestBinaryRead Off and PerlSetVar IncludesDir /your/freeside/document/root/ to your Apache configuration and make sure you are using Apache::ASP minimum version 2.55. 
    -
    -install NetAddr::IP, Chart::Base, IPC::ShareLite and Locale::SubCountry
    -
    -CREATE TABLE cust_bill_pkg_detail (
    -  detailnum serial,
    -  pkgnum int NOT NULL,
    -  invnum int NOT NULL,
    -  detail varchar(80),
    -  PRIMARY KEY (detailnum)
    -);
    -CREATE INDEX cust_bill_pkg_detail1 ON cust_bill_pkg_detail ( pkgnum, invnum );
    -
    -CREATE TABLE part_virtual_field (
    -  vfieldpart int NOT NULL,
    -  dbtable varchar(32) NOT NULL,
    -  name varchar(32) NOT NULL,
    -  check_block text,
    -  list_source text,
    -  length integer,
    -  label varchar(80),
    -  PRIMARY KEY (vfieldpart)
    -);
    -
    -CREATE TABLE virtual_field (
    -  recnum integer NOT NULL,
    -  vfieldpart integer NOT NULL,
    -  value varchar(128) NOT NULL,
    -  PRIMARY KEY (vfieldpart, recnum)
    -);
    -
    -CREATE TABLE router (
    -  routernum serial,
    -  routername varchar(80),
    -  svcnum int,
    -  PRIMARY KEY (routernum)
    -);
    -
    -CREATE TABLE part_svc_router (
    -  svcpart int NOT NULL,
    -  routernum int NOT NULL
    -);
    -
    -CREATE TABLE addr_block (
    -  blocknum serial,
    -  routernum int NOT NULL,
    -  ip_gateway varchar(15) NOT NULL,
    -  ip_netmask int NOT NULL,
    -  PRIMARY KEY (blocknum)
    -);
    -CREATE UNIQUE INDEX addr_block1 ON addr_block ( blocknum, routernum );
    -
    -CREATE TABLE svc_broadband (
    -  svcnum int NOT NULL,
    -  blocknum int NOT NULL,
    -  speed_up int NOT NULL,
    -  speed_down int NOT NULL,
    -  ip_addr varchar(15),
    -  PRIMARY KEY (svcnum)
    -);
    -
    -CREATE TABLE acct_snarf (
    -  snarfnum serial,
    -  svcnum int NOT NULL,
    -  machine varchar(255) NULL,
    -  protocol varchar(80) NULL,
    -  username varchar(80) NULL,
    -  _password varchar(80) NULL,
    -  PRIMARY KEY (snarfnum)
    -);
    -CREATE INDEX acct_snarf1 ON acct_snarf ( svcnum );
    -
    -CREATE TABLE svc_external (
    -  svcnum int NOT NULL,
    -  id int NOT NULL,
    -  title varchar(80),
    -  PRIMARY KEY (svcnum)
    -);
    -
    -CREATE TABLE part_pkg_temp (
    -    pkgpart serial NOT NULL,
    -    pkg varchar(80) NOT NULL,
    -    "comment" varchar(80) NOT NULL,
    -    setup text NULL,
    -    freq varchar(80) NOT NULL,
    -    recur text NULL,
    -    setuptax char(1) NULL,
    -    recurtax char(1) NULL,
    -    plan varchar(80) NULL,
    -    plandata text NULL,
    -    disabled char(1) NULL,
    -    taxclass varchar(80) NULL,
    -    PRIMARY KEY (pkgpart)
    -);
    -INSERT INTO part_pkg_temp SELECT * from part_pkg;
    -DROP TABLE part_pkg;
    -ALTER TABLE part_pkg_temp RENAME TO part_pkg;
    -CREATE INDEX part_pkg1 ON part_pkg(disabled);
    -
    -On modern Pg:
    -ALTER TABLE part_pkg DROP CONSTRAINT part_pkg_temp_pkey;
    -ALTER TABLE part_pkg ADD PRIMARY KEY (pkgpart);
    -select setval('public.part_pkg_temp_pkgpart_seq', ( select max(pkgpart) from part_pkg) );
    -
    -Or on Pg versions that don't support DROP CONSTRAINT and ADD PRIMARY KEY (tested on 7.1 so far):
    -DROP INDEX part_pkg_temp_pkey;
    -CREATE UNIQUE INDEX part_pkg_pkey ON part_pkg (pkgpart);
    -select setval('part_pkg_temp_pkgpart_seq', ( select max(pkgpart) from part_pkg) );
    -
    -CREATE TABLE h_part_pkg_temp (
    -    historynum serial NOT NULL,
    -    history_date int,
    -    history_user varchar(80) NOT NULL,
    -    history_action varchar(80) NOT NULL,
    -    pkgpart int NOT NULL,
    -    pkg varchar(80) NOT NULL,
    -    "comment" varchar(80) NOT NULL,
    -    setup text NULL,
    -    freq varchar(80) NOT NULL,
    -    recur text NULL,
    -    setuptax char(1) NULL,
    -    recurtax char(1) NULL,
    -    plan varchar(80) NULL,
    -    plandata text NULL,
    -    disabled char(1) NULL,
    -    taxclass varchar(80) NULL,
    -    PRIMARY KEY (historynum)
    -);
    -INSERT INTO h_part_pkg_temp SELECT * from h_part_pkg;
    -DROP TABLE h_part_pkg;
    -ALTER TABLE h_part_pkg_temp RENAME TO h_part_pkg;
    -CREATE INDEX h_part_pkg1 ON h_part_pkg(disabled);
    -
    -On modern Pg:
    -ALTER TABLE h_part_pkg DROP CONSTRAINT h_part_pkg_temp_pkey;
    -ALTER TABLE h_part_pkg ADD PRIMARY KEY (historynum);
    -select setval('public.h_part_pkg_temp_historynum_seq', ( select max(historynum) from h_part_pkg) );
    -
    -Or on Pg versions that don't support DROP CONSTRAINT and ADD PRIMARY KEY (tested on 7.1 so far):
    -DROP INDEX h_part_pkg_temp_pkey;
    -CREATE UNIQUE INDEX h_part_pkg_pkey ON h_part_pkg (historynum);
    -select setval('h_part_pkg_temp_historynum_seq', ( select max(historynum) from h_part_pkg) );
    -
    -
    -DROP INDEX cust_bill_pkg1;
    -
    -ALTER TABLE cust_bill_pkg ADD itemdesc varchar(80) NULL;
    -ALTER TABLE h_cust_bill_pkg ADD itemdesc varchar(80) NULL;
    -ALTER TABLE cust_main_county ADD taxname varchar(80) NULL;
    -ALTER TABLE h_cust_main_county ADD taxname varchar(80) NULL;
    -ALTER TABLE cust_main_county ADD setuptax char(1) NULL;
    -ALTER TABLE h_cust_main_county ADD setuptax char(1) NULL;
    -ALTER TABLE cust_main_county ADD recurtax char(1) NULL;
    -ALTER TABLE h_cust_main_county ADD recurtax char(1) NULL;
    -ALTER TABLE cust_pkg ADD last_bill int NULL;
    -ALTER TABLE h_cust_pkg ADD last_bill int NULL;
    -ALTER TABLE agent ADD disabled char(1) NULL;
    -ALTER TABLE h_agent ADD disabled char(1) NULL;
    -ALTER TABLE agent ADD username varchar(80) NULL;
    -ALTER TABLE h_agent ADD username varchar(80) NULL;
    -ALTER TABLE agent ADD _password varchar(80) NULL;
    -ALTER TABLE h_agent ADD _password varchar(80) NULL;
    -ALTER TABLE cust_main ADD paycvv varchar(4) NULL;
    -ALTER TABLE h_cust_main ADD paycvv varchar(4) NULL;
    -ALTER TABLE part_referral ADD disabled char(1) NULL;
    -ALTER TABLE h_part_referral ADD disabled char(1) NULL;
    -CREATE INDEX part_referral1 ON part_referral ( disabled );
    -ALTER TABLE pkg_svc ADD primary_svc char(1) NULL;
    -ALTER TABLE h_pkg_svc ADD primary_svc char(1) NULL;
    -ALTER TABLE svc_forward ADD src varchar(255) NULL;
    -ALTER TABLE h_svc_forward ADD src varchar(255) NULL;
    -
    -On recent Pg versions:
    -
    -ALTER TABLE svc_forward ALTER COLUMN srcsvc DROP NOT NULL;
    -ALTER TABLE h_svc_forward ALTER COLUMN srcsvc DROP NOT NULL;
    -ALTER TABLE svc_forward ALTER COLUMN dstsvc DROP NOT NULL;
    -ALTER TABLE h_svc_forward ALTER COLUMN dstsvc DROP NOT NULL;
    -
    -Or on Pg versions that don't support DROP NOT NULL (tested on 7.1 and 7.2 so far):
    -UPDATE pg_attribute SET attnotnull = FALSE WHERE ( attname = 'srcsvc' OR attname = 'dstsvc' ) AND ( attrelid = ( SELECT oid FROM pg_class WHERE relname = 'svc_forward' ) OR attrelid = ( SELECT oid FROM pg_class WHERE relname = 'h_svc_forward' ) );
    -
    -If you created your database with a version before 1.4.2, dump database, edit:
    -- cust_main and h_cust_main: increase otaker from 8 to 32
    -- cust_main and h_cust_main: change ss from char(11) to varchar(11) ( "character(11)" to "character varying(11)" )
    -- cust_credit and h_cust_credit: increase otaker from 8 to 32
    -- cust_pkg and h_cust_pkg: increase otaker from 8 to 32
    -- cust_refund and h_cust_refund: increase otaker from 8 to 32
    -- domain_record and h_domain_record: increase reczone from 80 to 255
    -- domain_record and h_domain_record: change rectype from char to varchar ( "character(5)" to "character varying(5)" )
    -- domain_record and h_domain_record: increase recdata from 80 to 255
    -then reload
    -
    -optionally:
    -
    -  CREATE INDEX cust_main6 ON cust_main ( daytime );
    -  CREATE INDEX cust_main7 ON cust_main ( night );
    -  CREATE INDEX cust_main8 ON cust_main ( fax );
    -  CREATE INDEX cust_main9 ON cust_main ( ship_daytime );
    -  CREATE INDEX cust_main10 ON cust_main ( ship_night );
    -  CREATE INDEX cust_main11 ON cust_main ( ship_fax );
    -  CREATE INDEX agent2 ON agent ( disabled );
    -  CREATE INDEX part_bill_event2 ON part_bill_event ( disabled );
    -  CREATE INDEX cust_pay4 ON cust_pay (_date);
    -
    -  serial columns
    -
    -mandatory again:
    -
    -dbdef-create username
    -create-history-tables username cust_bill_pkg_detail router part_svc_router addr_block svc_broadband acct_snarf svc_external
    -dbdef-create username
    -
    -apache - fix  sections to include .html also
    -
    -
    diff --git a/httemplate/docs/upgrade7.html b/httemplate/docs/upgrade7.html deleted file mode 100644 index d9dcfe2ae..000000000 --- a/httemplate/docs/upgrade7.html +++ /dev/null @@ -1,24 +0,0 @@ - - Upgrading to 1.3.1 - - -

    Upgrading to 1.3.1 from 1.3.0

    -
      -
    • If migrating from 1.0.0, see these instructions first. -
    • If migrating from less than 1.1.4, see these instructions first. -
    • If migrating from less than 1.2.0, see these instructions first. -
    • If migrating from less than 1.2.2, see these instructions first. -
    • If migrating from less than 1.2.3, see these instructions first. -
    • If migrating from less than 1.3.0, see these instructions first. -
    • Back up your data and current Freeside installation. -
    • Copy or symlink htdocs to the new copy. -
    • Change to the FS directory in the new tarball, and build and install the - Perl modules: -
      -$ cd FS/
      -$ perl Makefile.PL
      -$ make
      -$ su
      -# make install UNINST=1
      -
    • Run bin/dbdef-create. - diff --git a/httemplate/docs/upgrade8.html b/httemplate/docs/upgrade8.html deleted file mode 100644 index cf60a8582..000000000 --- a/httemplate/docs/upgrade8.html +++ /dev/null @@ -1,392 +0,0 @@ - - Upgrading to 1.4.0 - - -

      Upgrading to 1.4.0 from 1.3.1

      - - - - - - - - - -
      Apache::ASPMason
        -
      • Run make aspdocs -
      • Copy aspdocs/ to your web server's document space. -
      • Create a Global directory, such as /usr/local/etc/freeside/asp-global/ -
      • Copy htetc/global.asa to the Global directory. -
      • Configure Apache for the Global directory and to execute .cgi files using Apache::ASP. For example: -
        -<Directory /usr/local/apache/htdocs/freeside-asp>
        -<Files ~ (\.cgi)>
        -AddHandler perl-script .cgi
        -PerlHandler Apache::ASP
        -</Files>
        -<Perl>
        -$MLDBM::RemoveTaint = 1;
        -</Perl>
        -PerlSetVar Global /usr/local/etc/freeside/asp-global/
        -</Directory>
        -
        -
        -
      • (use version 1.0x - Freeside is not yet compatible with version 1.1x) -
      • Run make masondocs -
      • Copy masondocs/ to your web server's document space. -
      • Copy htetc/handler.pl to your web server's configuration directory. -
      • Edit handler.pl and set an appropriate data_dir, such as /usr/local/etc/freeside/mason-data -
      • Configure Apache to use the handler.pl file and to execute .cgi files using HTML::Mason. For example: -
        -<Directory /usr/local/apache/htdocs/freeside-mason>
        -<Files ~ (\.cgi)>
        -AddHandler perl-script .cgi
        -PerlHandler HTML::Mason
        -</Files>
        -<Perl>
        -require "/usr/local/apache/conf/handler.pl";
        -</Perl>
        -</Directory>
        -
        -
      -
        -
      • Build and install the Perl modules: -
        -$ su
        -# make install-perl-modules
        -
      • Apply the following changes to your database: -
        -CREATE TABLE svc_forward (
        -  svcnum int NOT NULL,
        -  srcsvc int NOT NULL,
        -  dstsvc int NOT NULL,
        -  dst varchar(80),
        -  PRIMARY KEY (svcnum)
        -);
        -ALTER TABLE part_svc ADD svc_forward__srcsvc varchar(80) NULL;
        -ALTER TABLE part_svc ADD svc_forward__srcsvc_flag char(1) NULL;
        -ALTER TABLE part_svc ADD svc_forward__dstsvc varchar(80) NULL;
        -ALTER TABLE part_svc ADD svc_forward__dstsvc_flag char(1) NULL;
        -ALTER TABLE part_svc ADD svc_forward__dst varchar(80) NULL;
        -ALTER TABLE part_svc ADD svc_forward__dst_flag char(1) NULL;
        -
        -CREATE TABLE cust_credit_bill (
        -  creditbillnum int primary key,
        -  crednum int not null,
        -  invnum int not null,
        -  _date int not null,
        -  amount decimal(10,2) not null
        -);
        -
        -CREATE TABLE cust_bill_pay (
        -  billpaynum int primary key,
        -  invnum int not null,
        -  paynum int not null,
        -  _date int not null,
        -  amount decimal(10,2) not null
        -);
        -
        -CREATE TABLE cust_credit_refund (
        -  creditrefundnum int primary key,
        -  crednum int not null,
        -  refundnum int not null,
        -  _date int not null,
        -  amount decimal(10,2) not null
        -);
        -
        -CREATE TABLE part_svc_column (
        -  columnnum int primary key,
        -  svcpart int not null,
        -  columnname varchar(64) not null,
        -  columnvalue varchar(80) null,
        -  columnflag char(1) null
        -);
        -
        -CREATE TABLE queue (
        -  jobnum int primary key,
        -  job text not null,
        -  _date int not null,
        -  status varchar(80) not null,
        -  statustext text null,
        -  svcnum int null
        -);
        -CREATE INDEX queue1 ON queue ( svcnum );
        -CREATE INDEX queue2 ON queue ( status );
        -
        -CREATE TABLE queue_arg (
        -  argnum int primary key,
        -  jobnum int not null,
        -  arg text null
        -);
        -CREATE INDEX queue_arg1 ON queue_arg ( jobnum );
        -
        -CREATE TABLE queue_depend (
        -  dependnum int primary key,
        -  jobnum int not null,
        -  depend_jobnum int not null
        -);
        -CREATE INDEX queue_depend1 ON queue_depend ( jobnum );
        -CREATE INDEX queue_depend2 ON queue_depend ( depend_jobnum );
        -
        -CREATE TABLE part_pop_local (
        -  localnum int primary key,
        -  popnum int not null,
        -  city varchar(80) null,
        -  state char(2) null,
        -  npa char(3) not null,
        -  nxx char(3) not null
        -);
        -CREATE UNIQUE INDEX part_pop_local1 ON part_pop_local ( npa, nxx );
        -
        -CREATE TABLE cust_bill_event (
        -  eventnum int primary key,
        -  invnum int not null,
        -  eventpart int not null,
        -  _date int not null
        -);
        -CREATE UNIQUE INDEX cust_bill_event1 ON cust_bill_event ( eventpart, invnum );
        -CREATE INDEX cust_bill_event2 ON cust_bill_event ( invnum );
        -
        -CREATE TABLE part_bill_event (
        -  eventpart int primary key,
        -  payby char(4) not null,
        -  event varchar(80) not null,
        -  eventcode text null,
        -  seconds int null,
        -  weight int not null,
        -  plan varchar(80) null,
        -  plandata text null,
        -  disabled char(1) null
        -);
        -CREATE INDEX part_bill_event1 ON part_bill_event ( payby );
        -
        -CREATE TABLE export_svc (
        -  exportsvcnum int primary key,
        -  exportnum int not null,
        -  svcpart int not null
        -);
        -CREATE UNIQUE INDEX export_svc1 ON export_svc ( exportnum, svcpart );
        -CREATE INDEX export_svc2 ON export_svc ( exportnum );
        -CREATE INDEX export_svc3 ON export_svc ( svcpart );
        -
        -CREATE TABLE part_export (
        -  exportnum int primary key,
        -  machine varchar(80) not null,
        -  exporttype varchar(80) not null,
        -  nodomain char(1) NULL
        -);
        -CREATE INDEX part_export1 ON part_export ( machine );
        -CREATE INDEX part_export2 ON part_export ( exporttype );
        -
        -CREATE TABLE part_export_option (
        -  optionnum int primary key,
        -  exportnum int not null,
        -  optionname varchar(80) not null,
        -  optionvalue text NULL
        -);
        -CREATE INDEX part_export_option1 ON part_export_option ( exportnum );
        -CREATE INDEX part_export_option2 ON part_export_option ( optionname );
        -
        -CREATE TABLE radius_usergroup (
        -  usergroupnum int primary key,
        -  svcnum int not null,
        -  groupname varchar(80) not null
        -);
        -CREATE INDEX radius_usergroup1 ON radius_usergroup ( svcnum );
        -CREATE INDEX radius_usergroup2 ON radius_usergroup ( groupname );
        -
        -CREATE TABLE msgcat (
        -  msgnum int primary key,
        -  msgcode varchar(80) not null,
        -  locale varchar(16) not null,
        -  msg text not null
        -);
        -CREATE INDEX msgcat1 ON msgcat ( msgcode, locale );
        -
        -CREATE TABLE cust_tax_exempt (
        -  exemptnum int primary key,
        -  custnum int not null,
        -  taxnum int not null,
        -  year int not null,
        -  month int not null,
        -  amount decimal(10,2)
        -);
        -CREATE UNIQUE INDEX cust_tax_exempt1 ON cust_tax_exempt ( taxnum, year, month );
        -
        -ALTER TABLE svc_acct ADD domsvc integer NULL;
        -ALTER TABLE part_svc ADD svc_acct__domsvc varchar(80) NULL;
        -ALTER TABLE part_svc ADD svc_acct__domsvc_flag char(1) NULL;
        -ALTER TABLE svc_domain ADD catchall integer NULL;
        -ALTER TABLE cust_main ADD referral_custnum integer NULL;
        -ALTER TABLE cust_main ADD comments text NULL;
        -ALTER TABLE cust_pay ADD custnum integer;
        -ALTER TABLE cust_pay_batch ADD paybatchnum integer;
        -ALTER TABLE cust_refund ADD custnum integer;
        -ALTER TABLE cust_pkg ADD manual_flag char(1) NULL;
        -ALTER TABLE part_pkg ADD plan varchar(80) NULL;
        -ALTER TABLE part_pkg ADD plandata text NULL;
        -ALTER TABLE part_pkg ADD setuptax char(1) NULL;
        -ALTER TABLE part_pkg ADD recurtax char(1) NULL;
        -ALTER TABLE part_pkg ADD disabled char(1) NULL;
        -ALTER TABLE part_svc ADD disabled char(1) NULL;
        -ALTER TABLE cust_bill ADD closed char(1) NULL;
        -ALTER TABLE cust_pay ADD closed char(1) NULL;
        -ALTER TABLE cust_credit ADD closed char(1) NULL;
        -ALTER TABLE cust_refund ADD closed char(1) NULL;
        -ALTER TABLE cust_bill_event ADD status varchar(80);
        -ALTER TABLE cust_bill_event ADD statustext text NULL;
        -ALTER TABLE svc_acct ADD sec_phrase varchar(80) NULL;
        -ALTER TABLE part_svc ADD svc_acct__sec_phrase varchar(80) NULL;
        -ALTER TABLE part_svc ADD svc_acct__sec_phrase_flag char(1) NULL;
        -ALTER TABLE part_pkg ADD taxclass varchar(80) NULL;
        -ALTER TABLE cust_main_county ADD taxclass varchar(80) NULL;
        -ALTER TABLE cust_main_county ADD exempt_amount decimal(10,2);
        -CREATE INDEX cust_main3 ON cust_main ( referral_custnum );
        -CREATE INDEX cust_credit_bill1 ON cust_credit_bill ( crednum );
        -CREATE INDEX cust_credit_bill2 ON cust_credit_bill ( invnum );
        -CREATE INDEX cust_bill_pay1 ON cust_bill_pay ( invnum );
        -CREATE INDEX cust_bill_pay2 ON cust_bill_pay ( paynum );
        -CREATE INDEX cust_credit_refund1 ON cust_credit_refund ( crednum );
        -CREATE INDEX cust_credit_refund2 ON cust_credit_refund ( refundnum );
        -CREATE UNIQUE INDEX cust_pay_batch_pkey ON cust_pay_batch ( paybatchnum );
        -CREATE UNIQUE INDEX part_svc_column1 ON part_svc_column ( svcpart, columnname );
        -CREATE INDEX cust_pay2 ON cust_pay ( paynum );
        -CREATE INDEX cust_pay3 ON cust_pay ( custnum );
        -CREATE INDEX cust_pay4 ON cust_pay ( paybatch );
        -
        - -
      • If you are using PostgreSQL, apply the following changes to your database: -
        -CREATE UNIQUE INDEX agent_pkey ON agent ( agentnum );
        -CREATE UNIQUE INDEX agent_type_pkey ON agent_type ( typenum );
        -CREATE UNIQUE INDEX cust_bill_pkey ON cust_bill ( invnum );
        -CREATE UNIQUE INDEX cust_credit_pkey ON cust_credit ( crednum );
        -CREATE UNIQUE INDEX cust_main_pkey ON cust_main ( custnum );
        -CREATE UNIQUE INDEX cust_main_county_pkey ON cust_main_county ( taxnum );
        -CREATE UNIQUE INDEX cust_main_invoice_pkey ON cust_main_invoice ( destnum );
        -CREATE UNIQUE INDEX cust_pay_pkey ON cust_pay ( paynum );
        -CREATE UNIQUE INDEX cust_pkg_pkey ON cust_pkg ( pkgnum );
        -CREATE UNIQUE INDEX cust_refund_pkey ON cust_refund ( refundnum );
        -CREATE UNIQUE INDEX cust_svc_pkey ON cust_svc ( svcnum );
        -CREATE UNIQUE INDEX domain_record_pkey ON domain_record ( recnum );
        -CREATE UNIQUE INDEX nas_pkey ON nas ( nasnum );
        -CREATE UNIQUE INDEX part_pkg_pkey ON part_pkg ( pkgpart );
        -CREATE UNIQUE INDEX part_referral_pkey ON part_referral ( refnum );
        -CREATE UNIQUE INDEX part_svc_pkey ON part_svc ( svcpart );
        -CREATE UNIQUE INDEX port_pkey ON port ( portnum );
        -CREATE UNIQUE INDEX prepay_credit_pkey ON prepay_credit ( prepaynum );
        -CREATE UNIQUE INDEX session_pkey ON session ( sessionnum );
        -CREATE UNIQUE INDEX svc_acct_pkey ON svc_acct ( svcnum );
        -CREATE UNIQUE INDEX svc_acct_pop_pkey ON svc_acct_pop ( popnum );
        -CREATE UNIQUE INDEX svc_acct_sm_pkey ON svc_acct_sm ( svcnum );
        -CREATE UNIQUE INDEX svc_domain_pkey ON svc_domain ( svcnum );
        -CREATE UNIQUE INDEX svc_www_pkey ON svc_www ( svcnum );
        -
        -
      • If you wish to enable service/shipping addresses, apply the following - changes to your database: -
        -ALTER TABLE cust_main ADD COLUMN ship_last varchar(80) NULL;
        -ALTER TABLE cust_main ADD COLUMN ship_first varchar(80) NULL;
        -ALTER TABLE cust_main ADD COLUMN ship_company varchar(80) NULL;
        -ALTER TABLE cust_main ADD COLUMN ship_address1 varchar(80) NULL;
        -ALTER TABLE cust_main ADD COLUMN ship_address2 varchar(80) NULL;
        -ALTER TABLE cust_main ADD COLUMN ship_city varchar(80) NULL;
        -ALTER TABLE cust_main ADD COLUMN ship_county varchar(80) NULL;
        -ALTER TABLE cust_main ADD COLUMN ship_state varchar(80) NULL;
        -ALTER TABLE cust_main ADD COLUMN ship_zip varchar(10) NULL;
        -ALTER TABLE cust_main ADD COLUMN ship_country char(2) NULL;
        -ALTER TABLE cust_main ADD COLUMN ship_daytime varchar(20) NULL;
        -ALTER TABLE cust_main ADD COLUMN ship_night varchar(20) NULL;
        -ALTER TABLE cust_main ADD COLUMN ship_fax varchar(12) NULL;
        -CREATE INDEX cust_main4 ON cust_main ( ship_last );
        -CREATE INDEX cust_main5 ON cust_main ( ship_company );
        -
        -
      • If you are using the signup server, reinstall it according to the instructions. The 1.3.x signup server is not compatible with 1.4.x. -
      • Run bin/dbdef-create username -
      • If you have svc_acct_sm records or service definitions: -
          -
        • Create a service definition with table svc_forward -
        • Run bin/fs-migrate-svc_acct_sm username -
        -
      • Or if you just have svc_acct records: -
          -
        • Order and provision a package for your default domain and note down the Service # or svcnum. -
        • UPDATE svc_acct SET domsvc = svcnum -
        • Update your service definitions to have default (or fixed) domsvc. -
        -
      • Run bin/fs-migrate-payrefusername -
      • Run bin/fs-migrate-part_svcusername -
      • After running bin/fs-migrate-payref, apply the following changes to your database: - -
        PostgreSQLMySQL, others
        -
        -CREATE TABLE cust_pay_temp (
        -  paynum int primary key,
        -  custnum int not null,
        -  paid decimal(10,2) not null,
        -  _date int null,
        -  payby char(4) not null,
        -  payinfo varchar(16) null,
        -  paybatch varchar(80) null,
        -  closed char(1) null
        -);
        -INSERT INTO cust_pay_temp SELECT paynum, custnum, paid, _date, payby, payinfo, paybatch, closed FROM cust_pay;
        -DROP TABLE cust_pay;
        -ALTER TABLE cust_pay_temp RENAME TO cust_pay;
        -CREATE UNIQUE INDEX cust_pay1 ON cust_pay (paynum);
        -CREATE TABLE cust_refund_temp (
        -  refundnum int primary key,
        -  custnum int not null,
        -  _date int null,
        -  refund decimal(10,2) not null,
        -  otaker varchar(8) not null,
        -  reason varchar(80) not null,
        -  payby char(4) not null,
        -  payinfo varchar(16) null,
        -  paybatch varchar(80) null,
        -  closed char(1) null
        -);
        -INSERT INTO cust_refund_temp SELECT refundnum, custnum, _date, refund, otaker, reason, payby, payinfo, '', closed from cust_refund;
        -DROP TABLE cust_refund;
        -ALTER TABLE cust_refund_temp RENAME TO cust_refund;
        -CREATE UNIQUE INDEX cust_refund1 ON cust_refund (refundnum);
        -
        -
        -
        -ALTER TABLE cust_pay DROP COLUMN invnum;
        -ALTER TABLE cust_refund DROP COLUMN crednum;
        -
        -
        -
      • IMPORTANT: After applying the second set of database changes, run bin/dbdef-create username again. -
      • IMPORTANT: run bin/create-history-tables username -
      • IMPORTANT: After running bin/create-history-tables, run bin/dbdef-create username again. -
      • As the freeside UNIX user, run bin/populate-msgcat username to populate the message catalog - -
      • set the locale configuration value to en_US. -
      • the mxmachines, nsmachines, arecords and cnamerecords configuration values have been deprecated. Set the defaultrecords configuration value instead. -
      • Create the `/usr/local/etc/freeside/cache.datasrc' directory - (owned by the freeside user). -
      • freeside-queued was installed with the Perl modules. Start it now and ensure that is run upon system startup. -
      • Set appropriate invoice events for your site. At the very least, you'll want to set some invoice events "After 0 days": a BILL invoice event to print invoices, a CARD invoice event to batch or run cards real-time, and a COMP invoice event to "pay" complimentary customers. If you were using the -i option to freeside-bill it should be removed. -
      • Use freeside-daily instead of freeside-bill. -
      • If you would like Freeside to notify your customers when their credit - cards and other billing arrangements are about to expire, arrange for - freeside-expiration-alerter to be run daily by cron or similar - facility. The message it sends can be configured from the - Configuration choice of the main menu as alerter_template. -
      • Export has been rewritten. If you were using the icradiusmachines, - icradius_mysqldest, icradius_mysqlsource, or icradius_secrets files, add - an appropriate "sqlradius" export to all relevant Service Definitions - instead. Use MySQL replication or - point the "sqlradius" export directly at your external ICRADIUS or FreeRADIUS - database (or through an SSL-necrypting proxy...) -
      - diff --git a/httemplate/docs/upgrade9.html b/httemplate/docs/upgrade9.html deleted file mode 100644 index 6a8fd965d..000000000 --- a/httemplate/docs/upgrade9.html +++ /dev/null @@ -1,28 +0,0 @@ - - Upgrading to 1.4.1 - - -

      Upgrading to 1.4.1 from 1.4.0

      -
        -
      • If migrating from less than 1.4.0, see these instructions first. -
      • Back up your data and current Freeside installation. -
      • Run make aspdocs or make masondocs. -
      • Copy aspdocs/ or masondocs/ to your web server's document space. -
      • Run make install-perl-modules. -
      • Install Net::SSH minimum version 0.07 -
      • Apply the following changes to your database: -
        -INSERT INTO msgcat ( msgnum, msgcode, locale, msg ) VALUES ( 18, 'daytime', 'en_US', 'Day Phone' );
        -INSERT INTO msgcat ( msgnum, msgcode, locale, msg ) VALUES ( 19, 'night', 'en_US', 'Night Phone' );
        -
        -
      • Optionally, apply the following changes to your database (performance improvements): -
        -CREATE INDEX part_pkg1 ON part_pkg ( disabled );
        -CREATE INDEX part_svc1 ON part_svc ( disabled );
        -CREATE INDEX cust_bill2 ON cust_bill ( _date );
        -
        -
      • If you want to use ACH (electronic checks), you will need to make changes to your database. The easiest way to make these changes is to dump your database (with pg_dump), change the payinfo field in the cust_pay, cust_refund, h_cust_pay and h_cust_refund tables from varchar(16) to varchar(80), reload the database from the dump. -
      • If you will be doing bind exports you should make additional changes to your database. Follow the directions above to dump the database and change the reczone and recdata fields in the domain_record and h_domain_record tables from varchar(80) to varchar(255). -
      • If you made changes to your db schema from a dump as listed above run dbdef-create. -
      • Restart Apache and freeside-queued. - -- cgit v1.2.1