Must add the icon for text changes. Why does the link not display correctly?
Had to add
RubyAddPath /usr/local/lib64/ruby/gems/1.9.1/gems/rclconf-1.0.0/lib
in
/etc/apache2/vhosts.d/oddb.conf
and
/etc/apache2/vhosts.d/evidentia.conf
to start up oddb-ci2.ngiger.dyndns.org correctly.
The Icon is displayed, but too large. Zeno uploaded the correct Icon 32x32px to github, see
Added some debug output and renamed the migrate files to start with their gem name. Pushed commits
After a log-in in http://sandoz.bbmb.ngiger.ch/de/sandoz I do not see any customers. I ran
/var/www/sandoz.bbmb.ch/get_db_sandoz_bbmb
and
/var/www/sandoz.bbmb.ch/bbmb_migrate_to_utf_8
again. Now all customers show up correctly. ;)
setting the invoicer to start after 5 seconds, adding
secs = 5
on line 103 in file
/home/niklaus/git/bbmb/lib/bbmb/util/server.rb
Running the invoicer of sandoz.bbmb.ch by starting bbmb from the commandline.
sudo -u bbmb /usr/local/bin/ruby231 -I/var/www/sandoz.bbmb.ch/lib -rydim/invoice /usr/local/bin/bbmbd config=/var/www/sandoz.bbmb.ch/etc/config.yml
results in SUCCESS
invoice was injected to ydim.ywesee.ngiger.com. PDF was created correctly.
Added in bbmb bin/update_articles_and_products. Tested it calling
sudo -u bbmb /usr/local/bin/update_articles_and_products config=/var/www/sandoz.bbmb.ch/etc/config.yml <..> FEHLER: Relation »object« existiert bereits <..> usr/local/lib/ruby/gems/2.3.0/gems/bbmb-2.0.3/bin/update_articles_and_products:31: warning: already initialized constant BBMB::VERSION /usr/local/lib/ruby/gems/2.3.0/gems/bbmb-2.0.3/lib/bbmb/version.rb:5: warning: previous definition of VERSION was here 2016-06-15 13:48:34 +0200: Calling update Replaced sendmail by puts for subject: Bbmb(Sandoz): (<unknown>): did not find expected alphabetic or numeric character while scanning an alias at line 4 column 15 2016-06-15 13:48:34 +0200: Finished update
The Error
did not find expected alphabetic or numeric character while scanning an alias
comes from an invalid yaml file. Install the yamllint gem and then validate the
/var/www/sandoz.bbmb.ch/etc/polling.yml
file.
glob_pattern: *.txt
should be
glob_pattern: "*.txt"
created dir
/var/www/sandoz.bbmb.ch/chroot-jail/home/sandoz/data
and added the files from fast
Artikel.txt and Kunden.txt.
and also done
sudo chown -R apache:apache /var/www/sandoz.bbmb.ch/var/backup
then ran updater again
sudo -u apache /usr/local/bin/update_articles_and_products config=/var/www/sandoz.bbmb.ch/etc/config.yml
that resulted in
2016-06-15 20:10:37 +0200: Calling update D, [2016-06-15T20:11:06.187005 #24972] DEBUG -- updater: ProductImporter imported 1028 entities D, [2016-06-15T20:11:40.410885 #24972] DEBUG -- updater: CustomerImporter imported 1409 entities 2016-06-15 20:11:40 +0200: Finished update
The files are now also correctly backuped
zdavatz@oddb-ci2 /var/www/sandoz.bbmb.ch $ ls var/backup/ Artikel.txt Kunden.txt
Pushed commits