[DRE-maint] Bug#959977: obs-api: does not include application.css

folkert folkert at vanheusden.com
Thu May 7 19:22:12 BST 2020


Package: obs-api
Version: 2.9.4-3
Severity: important

Dear Maintainer,

I installed obs-api.
It works mostly only the web-interface is broken: this is due to
/stylesheets/webui/application.css and other web-files missing.


-- System Information:
Debian Release: buster/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing'), (500, 'stable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: armhf, i386

Kernel: Linux 4.19.0-5-amd64 (SMP w/12 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages obs-api depends on:
ii  adduser                                     3.116
ii  apache2                                     2.4.38-3
ii  dbconfig-common                             2.0.8
ii  debconf                                     1.5.63
ii  gsfonts                                     1:8.11+urwcyr1.0.7~pre44-4.3
ii  libapache2-mod-passenger                    5.0.30-1.1+b2
ii  libapache2-mod-xforward                     0.6-1+b2
ii  libgd-perl [libgd-gd2-perl]                 2.71-2+b1
ii  libjs-bootstrap                             3.3.7+dfsg-2
pn  libjs-html5shiv                             <none>
ii  lsb-base                                    9.20170808
ii  mariadb-client-10.3 [virtual-mysql-client]  1:10.3.17-1
ii  memcached                                   1.6.5-2
ii  ruby                                        1:2.7+1
ii  ruby-activemodel-serializers-xml            1.0.2-2
ii  ruby-acts-as-list                           0.9.15-1
ii  ruby-acts-as-tree                           2.8.0-1
ii  ruby-addressable                            2.7.0-1
ii  ruby-bcrypt                                 3.1.13-2+b1
ii  ruby-bunny                                  2.14.4-3
ii  ruby-capybara                               3.12.0-1
ii  ruby-chunky-png                             1.3.8-1
ii  ruby-cliver                                 0.3.2-3
ii  ruby-clockwork                              2.0.4-1
ii  ruby-cocoon                                 1.2.6-2
ii  ruby-codemirror-rails                       5.16.0-1
ii  ruby-coderay                                1.1.2-3
ii  ruby-coffee-rails                           4.2.2-1
ii  ruby-colorize                               0.8.1-1
ii  ruby-crack                                  0.4.3-4
ii  ruby-crass                                  1.0.2-2
ii  ruby-cssmin                                 1.0.3-5
ii  ruby-daemons                                1.1.9-2
ii  ruby-dalli                                  2.7.9-2
ii  ruby-data-migrate                           5.3.1-1
ii  ruby-delayed-job                            4.1.5-1
ii  ruby-delayed-job-active-record              4.1.3-1
ii  ruby-docile                                 1.1.5-2
ii  ruby-erubis                                 2.7.0-3
ii  ruby-escape-utils                           1.2.1-1+b3
ii  ruby-execjs                                 2.6.0-1
ii  ruby-feature                                1.4.0-2
ii  ruby-flot-rails                             0.0.7-1
ii  ruby-font-awesome-rails                     4.7.0.5-1
ii  ruby-gssapi                                 1.2.0-1
ii  ruby-haml                                   5.1.2-1
ii  ruby-hike                                   1.2.1-3
ii  ruby-i18n                                   1.8.2-2
ii  ruby-innertube                              1.1.0-5
ii  ruby-joiner                                 0.4.2-2
ii  ruby-jquery-datatables-rails                3.4.0+dfsg-1
ii  ruby-jquery-rails                           4.3.3-1
ii  ruby-jquery-ui-rails                        6.0.1+dfsg-3
pn  ruby-json                                   <none>
ii  ruby-kaminari                               1.0.1-5
ii  ruby-kgio                                   2.11.2-1+b3
ii  ruby-ldap                                   0.9.20-1+b3
ii  ruby-metaclass                              0.0.4-1
ii  ruby-method-source                          1.0.0-2
ii  ruby-middleware                             0.1.0-1
ii  ruby-mime-types                             3.3.1-1
ii  ruby-momentjs-rails                         2.20.1-2
ii  ruby-mousetrap-rails                        1.4.6-6
ii  ruby-mysql2                                 0.5.2-1+b3
ii  ruby-nokogiri                               1.10.9+dfsg-1
ii  ruby-nokogumbo                              1.4.2+ds-1+b7
ii  ruby-peek                                   1.1.0-1
ii  ruby-pkg-config                             1.4.1-1
ii  ruby-pundit                                 2.0.0-1
ii  ruby-rails                                  2:5.2.4.1+dfsg-2
ii  ruby-rails-tokeninput                       1.7.0-1
ii  ruby-raindrops                              0.19.0-1+b4
ii  ruby-redcarpet                              3.5.0-1+b2
ii  ruby-responders                             3.0.0-3
ii  ruby-riddle                                 2.3.1-3
ii  ruby-ruby-parser                            3.11.0-4
ii  ruby-safe-yaml                              1.0.5-1
ii  ruby-sanitize                               4.6.6-2
ii  ruby-sass                                   3.7.4-1
ii  ruby-sass-rails                             5.0.6-2
ii  ruby-sexp-processor                         4.11.0-1
ii  ruby-slop                                   4.6.2-1
ii  ruby-sprite-factory                         1.7.1-3
ii  ruby-sprockets                              3.7.2-1
ii  ruby-temple                                 0.8.2-1
ii  ruby-thinking-sphinx                        4.1.0-3
ii  ruby-thread-safe                            0.3.6-1
ii  ruby-tzinfo                                 1.2.6-1
ii  ruby-uglifier                               2.7.2+dfsg-2
ii  ruby-voight-kampff                          1.1.3-3
ii  ruby-websocket-driver                       0.6.3-2+b4
ii  ruby-xmlhash                                1.3.6-2+b6
ii  ruby-xpath                                  3.2.0-1
ii  ruby-yajl                                   1.3.1-1+b3
ii  rubygems-integration                        1.16
ii  sphinxsearch                                2.2.11-2+b1
ii  unicorn                                     5.5.3-1+b2

Versions of packages obs-api recommends:
ii  default-mysql-server  1.0.5

Versions of packages obs-api suggests:
ii  obs-server  2.9.4-3

-- Configuration Files:
/etc/apache2/sites-available/obs.conf changed:
Listen 82
PassengerSpawnMethod "smart"
PassengerMaxPoolSize 20
PassengerDefaultUser obsapi
LimitRequestLine 20000
LimitRequestFieldsize 20000
<VirtualHost *:80>
	ServerName obs.intranet.vanheusden.com
        # just give an overview about this OBS instance via static web page
        DocumentRoot  "/usr/share/obs/overview"
        <Directory /usr/share/obs/overview>
           Options Indexes
           Allow from all
	   Require all granted
        </Directory>
</VirtualHost>
<VirtualHost *:82>
        # The resulting repositories
        DocumentRoot  "/srv/obs/repos"
        <Directory /srv/obs/repos>
           Options Indexes FollowSymLinks
           Allow from all
	   Require all granted
        </Directory>
</VirtualHost>
<VirtualHost *:443>
        ServerName api
	ServerAlias obs.intranet.vanheusden.com
        ServerAlias api.intranet.vanheusden.com
	#  General setup for the virtual host
        DocumentRoot  "/usr/share/obs/api/public"
	ErrorLog /var/log/obs/apache_error_log
	TransferLog /var/log/obs/apache_access_log
        PassengerMinInstances 2
        PassengerPreStart https://api
	SSLEngine on
	#  SSL protocols
	#  Supporting TLS only is adequate nowadays
	SSLProtocol all -SSLv2 -SSLv3
	#   SSL Cipher Suite:
	#   List the ciphers that the client is permitted to negotiate.
	#   We disable weak ciphers by default.
	#   See the mod_ssl documentation or "openssl ciphers -v" for a
	#   complete list.
	SSLCipherSuite ALL:!aNULL:!eNULL:!SSLv2:!LOW:!EXP:!MD5:@STRENGTH
	SSLCertificateFile /etc/ssl/localcerts/apache.pem
	SSLCertificateKeyFile /etc/ssl/localcerts/apache.key
        <Directory /usr/share/obs/api/public>
           AllowOverride all
           Options -MultiViews
           # This requires mod_xforward loaded in apache
           # Enable the usage via options.yml
           # This will decrease the load due to long running requests a lot (unloading from rails stack)
           XForward on
           Allow from all
	   Require all granted
        </Directory>
	SetEnvIf User-Agent ".*MSIE [1-5].*" \
		 nokeepalive ssl-unclean-shutdown \
		 downgrade-1.0 force-response-1.0
	CustomLog /var/log/apache2/ssl_request_log   ssl_combined
        # from http://guides.rubyonrails.org/asset_pipeline.html
        <LocationMatch "^/assets/.*$">
          Header unset ETag
          FileETag None
          # RFC says only cache for 1 year
          ExpiresActive On
          ExpiresDefault "access plus 1 year"
       </LocationMatch>
	SetEnvIf User-Agent ".*MSIE [1-5].*" \
		 nokeepalive ssl-unclean-shutdown \
		 downgrade-1.0 force-response-1.0
        ## Older firefox versions needs this, otherwise it wont cache anything over SSL.
        Header append Cache-Control "public"
	CustomLog /var/log/apache2/ssl_request_log   ssl_combined
</VirtualHost>


-- debconf information:
  obs-api/remote/newhost:
  obs-api/remove-error: abort
  obs-api/db/app-user: obs-api at localhost
  obs-api/database-type: mysql
  obs-api/passwords-do-not-match:
  obs-api/remote/host: localhost
  obs-api/remote/port:
* obs-api/dbconfig-install: true
  obs-api/install-error: abort
  obs-api/upgrade-backup: true
  obs-api/purge: false
  obs-api/missing-db-package-error: abort
  obs-api/dbconfig-remove: true
  obs-api/mysql/method: Unix socket
  obs-api/internal/skip-preseed: false
  obs-api/upgrade-error: abort
  obs-api/dbconfig-upgrade: true
  obs-api/db/dbname: obsapi
  obs-api/internal/reconfiguring: false
* obs-api/mysql/admin-user: debian-sys-maint
  obs-api/dbconfig-reinstall: false



More information about the Pkg-ruby-extras-maintainers mailing list