Fourth Generation Bugs

From apnsGuide

Jump to: navigation, search

Contents

Bugs

Here are a listing of bugs in the fourth generation filesystem that need fixing. List and Matt shall fix. Be sure to sign your name with UNIQ3e9097124d20ef1e-nowiki-00000001-QINU (so I know who to kill when you're wrong).

Site Creation

  • UNIQ3e9097124d20ef1e-fixed-00000002-QINU
    • Matt 14:06, 1 February 2007 (EST)
  • UNIQ3e9097124d20ef1e-fixed-00000003-QINU
    • Looks like the main Apache configuration didn't have a PID file set. As a result, a restart call to Apache killed off all httpd instances. Matt 22:48, 31 January 2007 (EST)
  • SOAP keys didn't get transferred over to assumule --David 09:44, 2 February 2007 (EST)
    • Also need to know what the new endpoint is, since I'm guessing it's changed. --David 18:16, 7 February 2007 (EST)
  • UNIQ3e9097124d20ef1e-fixed-00000004-QINU
Had to revert to an older save on the siteinfo module for Ensim. Should be fixed now.

Apache

  • UNIQ3e9097124d20ef1e-fixed-00000005-QINU
    • Fixed, AllowOverride Indexes Matt 14:01, 31 January 2007 (EST)
  • UNIQ3e9097124d20ef1e-fixed-00000006-QINU
    • Fixed, needs AllowOverride Limit directive Matt 14:01, 31 January 2007 (EST)
  • UNIQ3e9097124d20ef1e-fixed-00000007-QINU
    • Fixed Matt 14:01, 31 January 2007 (EST)
  • UNIQ3e9097124d20ef1e-todo-00000008-QINU
    • You'll probably want to document that if any other code uses the site number, that users will have to modify it themselves. (I know that I found this in mediawiki, for example.) (--David 00:18, 1 February 2007 (EST))
You're in luck. When the script works correctly, it should search for all instances of '/home/virtual/siteXX/fst/' and transform it to '/home/virtual/siteYY/fst/', both in file and databases. Matt

Ruby / Languages

  • UNIQ3e9097124d20ef1e-fixed-00000009-QINU
    • Use Language Options to reinstall; I will be preserving versions in the move script; haven't rewritten that yet. (TODO) Matt
    • Do you mean use language options to reinstall rails? Because the rails installer says "sh: /root/replicatedomain.sh: No such file or directory" and "/usr/sbin/chroot: cannot run command `ruby': No such file or directory". Ruby just isn't there. Derdewey
    • Alright, got the rails script to work. The first time the script hanged at the first output line. Derdewey
    • Rake was not installed by the ruby on rails script. Derdewey
    • Err, looks like rails itself isn't installed either Derdewey
Really? I installed the bloody thing last night. Matt 10:48, 1 February 2007 (EST)
  • Rails niggles
    • UNIQ3e9097124d20ef1e-fixed-0000000A-QINU
The pre-configured socket location for MySQL in Rails is /tmp/mysql.sock. This wasn't the location of the MySQL socket on third and won't be for fourth either, it should be /var/lib/mysql/mysql.sock Matt 10:48, 1 February 2007 (EST)
    • Rails has a silly thing where it will lock your installation to a certain gem version, had to edit config/environment.rb and set the rails version to 1.2.1. Just an FYI. Derdewey
  • UNIQ3e9097124d20ef1e-fixed-0000000B-QINU
    • Ibid. Do you guys want me to preserve gem versions in addition to Rails or install the latest version? In the case of multiple gem versions, should I go with the latest gem or install all copies? Matt
    • I think you should just go ahead with the newest version. People can freeze rails to their /vendor directory if their app isn't compatible with rails 1.2.1. payDerdewey
    • Oopsie. Missing that shell script might be a bit of a problem. Try again. Matt 19:56, 31 January 2007 (EST)
    • All right build the latest Rails and install the latest gems. If you don't like that, freeze with rails <app> --freeze
Sorted Matt 23:23, 3 February 2007 (EST)
  • UNIQ3e9097124d20ef1e-fixed-0000000C-QINU
If you've got a better way to default to the latest ruby version available instead of the prompt, then I'm all ears otherwise you'll have to use the shell to install Mongrel. Matt 23:23, 3 February 2007 (EST)
  • UNIQ3e9097124d20ef1e-fixed-0000000D-QINU
Haven't figured out 100% what I want to do with Rails and gems. I am leaning towards sticking everything under /usr/local/ especially since Rails makes copies of mv, awk, sed and the like from /bin/ to /usr/bin/ (that's a lovely waste of inodes). If we do it that way (a) it's easily manageable and (b) counts towards user's quotas. I'll take a look at that problem now. Matt 14:04, 1 February 2007 (EST)
Used GEM_HOME + RUBYLIB environment variables. Works like a charm on the test account -- test/test.com/lolity
  • Typically, I'll create an application directory in /var/www and symlink html to /var/www/#{application}/current (for the most current release of that application). Unfortunately, right now I don't have permissions to remove or create a symlink out of /var/www/html Chuck 15:20, 4 February 2007 (EST)
  • I reinstalled Rails but am getting the following error: Jdpmtp 19:58, 10 February 2007 (EST)
xxxxxx@borel ~
$ rails truelifeportal
/usr/local/bin/rails:9:in `require': no such file to load -- rubygems (LoadError)
        from /usr/local/bin/rails:9

Other packages

  • UNIQ3e9097124d20ef1e-fixed-0000000E-QINU

System Utilities & Commands

Misc

  • UNIQ3e9097124d20ef1e-todo-0000000F-QINU
    • Needs a move script rewrite (TODO) Matt
  • Various commands missing (to be updated as I find them): (David)
    • diff --David 13:46, 5 February 2007 (EST)
    • UNIQ3e9097124d20ef1e-fixed-00000010-QINU
      • Missing replicatedomain.sh, should be ok now Matt 19:58, 31 January 2007 (EST)
    • UNIQ3e9097124d20ef1e-fixed-00000011-QINU
      • It's in the FST now Matt
    • UNIQ3e9097124d20ef1e-fixed-00000012-QINU
    • UNIQ3e9097124d20ef1e-fixed-00000013-QINU
pico has been obsoleted as of RHEL4 and they're always behind the curve in terms of obsoleting software. I wouldn't worry about it since so few use pico/nano. Everyone should be using ed anyway. Matt 10:51, 1 February 2007 (EST)
I don't see ed on assmule Derdewey
I think it's a joke ;-) David
Ask and you shall receive. Don't forget to add: "EDITOR=ed" to your .bash_profile in the home directory. Matt 23:24, 3 February 2007 (EST)

Version Control

  • UNIQ3e9097124d20ef1e-fixed-00000014-QINU
Updated the Subversion deps in esprit. Matt 23:42, 3 February 2007 (EST)

Email

  • Problems noted in Horde:
    • UNIQ3e9097124d20ef1e-fixed-00000015-QINU
      • Forgot a couple of tables in Horde... Matt 23:18, 31 January 2007 (EST)
  • /home/<username>/Mail/<spool file> from SquirrelMail isn't converted over to Maildir format properly (Matt)
  • UNIQ3e9097124d20ef1e-fixed-00000016-QINU
Permissions were reset recursively on /var/spool/postfix to root:root. They should be postfix:postdrop... I can't recall changing the permissions, so let's see if it crops up again. Matt 03:26, 2 February 2007 (EST)
  • UNIQ3e9097124d20ef1e-fixed-00000017-QINU
Doesn't seem to be working. I set mail for postmaster@kozinn.com to go to /home/dkozinn/Mail/.postmaster, then send an email to that address (from assumule). I don't know where it went, but it wasn't to that mailbox. Note that the mailbox did not exist priort to sending mail to it, I'm not sure if that's a requirement or not. --David 13:16, 2 February 2007 (EST)
I see a message in /home/dkozinn/Mail/.postmaster/cur/ -- are you 100% sure on that? Matt 23:35, 3 February 2007 (EST)
This seems OK now. It showed up, but took a long time. I have a feeling that somethine else was clogging it. You can close this one. --David 23:53, 3 February 2007 (EST)
  • UNIQ3e9097124d20ef1e-fixed-00000018-QINU
  • UNIQ3e9097124d20ef1e-fixed-00000019-QINU
Hit "c" to change mailboxes. I saw an error in your .muttrc file too. The login is <user>@<domain>, not simply <user> which may explain the permission denied errors. After fixing that, everything looked fine. See /etc/Muttrc for the magic necessary to make the Maildir++ format work.

Database

MySQL

  • UNIQ3e9097124d20ef1e-fixed-0000001A-QINU
Fixed, never generated Ensim's /etc/appliance/.vpf file (shh that's supposed to be a secret) Matt 20:15, 31 January 2007 (EST)
  • UNIQ3e9097124d20ef1e-todo-0000001B-QINU
On the to-do list with the move script Matt 14:05, 31 January 2007 (EST)
  • UNIQ3e9097124d20ef1e-fixed-0000001C-QINU
Moved sessions over to hashed directory structure -- /tmp/sessions/[0-9a-f]/ Matt 23:00, 31 January 2007 (EST)
  • UNIQ3e9097124d20ef1e-todo-0000001D-QINU
Permission-changing script isn't picking up /var/lib/ as a valid location for user files. I'll need to update that tomorrow. Matt 03:28, 2 February 2007 (EST)

PostgreSQL

  • Convert all remaining databases over to tablespaces Matt

Esprit

  • UNIQ3e9097124d20ef1e-fixed-0000001E-QINU
- 
SpamAssassin Filtering
Period
Notice: Undefined index: begin_date in /usr/local/apnscp_esprit/lib/html/Base_Container_HTML.php(4) : eval()'d code on line 449 
Notice: Undefined index: end_date in /usr/local/apnscp_esprit/lib/html/Base_Container_HTML.php(4) : eval()'d code on line 449 -
Overall Parsing Information
Notice: Undefined index:  reporting_information in /usr/local/apnscp_esprit/lib/html/Base_Container_HTML.php(4) : eval()'d code on  line 457
Parsing per Hour
Notice: Undefined index:  stats_by_hour in /usr/local/apnscp_esprit/lib/html/Base_Container_HTML.php(4) : eval()'d code on line 465
Score Information
Notice: Undefined index:  rule_information in /usr/local/apnscp_esprit/lib/html/Base_Container_HTML.php(4) : eval()'d code on line 475
Parsing logs for the time being now. Matt 22:55, 3 February 2007 (EST)
  • The cronjob "toggle" apparently can only turn cron on. It never changes to "disable" once it's enabled, and existing cron jobs are not shown, since it never really toggles to the "cron is on" state. (From a shell, crontab -l does show the jobs as existing). --David 09:51, 2 February 2007 (EST)
I think the "Is this still an issue" (below) was referring to this issue (based on the note when you edited the Wiki). If so, yes, it's still behaving the same way, no change. --David 14:54, 4 February 2007 (EST)
  • UNIQ3e9097124d20ef1e-fixed-0000001F-QINU
Is this still an issue? Matt 01:20, 4 February 2007 (EST)
All better now --David 12:26, 4 February 2007 (EST)
Site Summary was originally an apnscp feature whose authentication didn't work with esprit hence it was disabled. Since apnscp is out of the picture, Site Summary works once again, but it's Ensim's. I'll get that changed over to an esprit Site Summary next week. Temporarily enabled for now. Matt 23:45, 3 February 2007 (EST)
  • UNIQ3e9097124d20ef1e-fixed-00000020-QINU
I just tried it and it worked for me. --David 16:27, 3 February 2007 (EST)
Yeah double check that it works, it should. Matt 22:55, 3 February 2007 (EST)
No such luck for my account. Strange. --Chuck 01:46, 4 February 2007 (EST)
Missing /proc/ directory. Fixed Matt 01:20, 4 February 2007 (EST)
Personal tools