Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

404 Not Found for 127.0.0.1/boincserver #70

Open
saumyashah7 opened this issue Apr 2, 2021 · 13 comments
Open

404 Not Found for 127.0.0.1/boincserver #70

saumyashah7 opened this issue Apr 2, 2021 · 13 comments

Comments

@saumyashah7
Copy link

saumyashah7 commented Apr 2, 2021

After setting up boinc on the machine, I get the following 404 Not found while accessing http://127.0.0.1/boincserver :

image

To reproduce:

git clone https://github.com/marius311/boinc-server-docker.git
cd boinc-server-docker
docker-compose pull
docker-compose up -d

OS : Ubuntu 18.04
Docker version: 19.03.6

Please help on the same.

@marius311
Copy link
Owner

Thanks, couple of things to try:

  • Did those commands output any error messages? Can you paste the output of docker-compose logs and docker-compose exec apache bin/status ?

  • Does docker-compose exec apache curl http://127.0.0.1/boincserver/ print out the HTML of the main webpage or still 404 ?

@saumyashah7
Copy link
Author

saumyashah7 commented Apr 2, 2021

docker-compose logs:
Attaching to boincserverdocker_apache_1, boincserverdocker_mysql_1, boincserverdocker_makeproject_1
mysql_1        | Initializing database
mysql_1        |
mysql_1        |
mysql_1        | PLEASE REMEMBER TO SET A PASSWORD FOR THE MariaDB root USER !
mysql_1        | To do so, start the server, then issue the following commands:
mysql_1        |
mysql_1        | '/usr/bin/mysqladmin' -u root password 'new-password'
mysql_1        | '/usr/bin/mysqladmin' -u root -h  password 'new-password'
mysql_1        |
mysql_1        | Alternatively you can run:
mysql_1        | '/usr/bin/mysql_secure_installation'
mysql_1        |
mysql_1        | which will also give you the option of removing the test
mysql_1        | databases and anonymous user created by default.  This is
mysql_1        | strongly recommended for production servers.
mysql_1        |
mysql_1        | See the MariaDB Knowledgebase at http://mariadb.com/kb or the
mysql_1        | MySQL manual for more instructions.
mysql_1        |
mysql_1        | Please report any problems at http://mariadb.org/jira
mysql_1        |
mysql_1        | The latest information about MariaDB is available at http://mariadb.org/.
makeproject_1  | Updating project files in data volume...
mysql_1        | You can find additional information about the MySQL part at:
apache_1       | /usr/lib/python2.7/dist-packages/supervisor/options.py:298: UserWarning: Supervisord is running as root and it is searching for its configuration file in default locations (including its current working directory); you probably want to specify a "-c" argument specifying an absolute path to a configuration file for improved security.
apache_1       |   'Supervisord is running as root and it is searching '
mysql_1        | http://dev.mysql.com
mysql_1        | Consider joining MariaDB's strong and vibrant community:
makeproject_1  | Waiting for MySQL server to start...
apache_1       | 2021-04-02 22:52:47,721 CRIT Supervisor running as root (no user in config file)
apache_1       | 2021-04-02 22:52:47,721 INFO Included extra file "/etc/supervisor/conf.d/supervisord.conf" during parsing
mysql_1        | https://mariadb.org/get-involved/
mysql_1        |
makeproject_1  | Creating database...
apache_1       | 2021-04-02 22:52:47,729 INFO RPC interface 'supervisor' initialized
apache_1       | 2021-04-02 22:52:47,729 CRIT Server 'unix_http_server' running without any HTTP authentication checking
mysql_1        | Database initialized
mysql_1        | MySQL init process in progress...
apache_1       | 2021-04-02 22:52:47,729 INFO supervisord started with pid 1
apache_1       | 2021-04-02 22:52:48,733 INFO spawned: 'cron' with pid 8
mysql_1        | 2021-04-02 22:52:55 0 [Note] mysqld (mysqld 10.3.8-MariaDB-1:10.3.8+maria~bionic) starting as process 101 ...
mysql_1        | 2021-04-02 22:52:55 0 [Note] InnoDB: Using Linux native AIO
apache_1       | 2021-04-02 22:52:48,735 INFO spawned: 'start' with pid 9
apache_1       | 2021-04-02 22:52:48,738 INFO spawned: 'rsyslogd' with pid 10
mysql_1        | 2021-04-02 22:52:55 0 [Note] InnoDB: Mutexes and rw_locks use GCC atomic builtins
mysql_1        | 2021-04-02 22:52:55 0 [Note] InnoDB: Uses event mutexes
apache_1       | 2021-04-02 22:52:48,743 INFO spawned: 'apache2' with pid 11
apache_1       | 2021-04-02 22:52:48,809 INFO exited: start (exit status 1; not expected)
makeproject_1  | added platform: (create_time, name, user_friendly_name) values (1617404032, 'windows_intelx86', 'Microsoft Windows (98 or later) running on an Intel x86-compatible CPU')
makeproject_1  | added platform: (create_time, name, user_friendly_name) values (1617404032, 'windows_x86_64', 'Microsoft Windows running on an AMD x86_64 or Intel EM64T CPU')
mysql_1        | 2021-04-02 22:52:55 0 [Note] InnoDB: Compressed tables use zlib 1.2.11
apache_1       | 2021-04-02 22:52:49,883 INFO success: cron entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
makeproject_1  | added platform: (create_time, name, user_friendly_name) values (1617404032, 'i686-pc-linux-gnu', 'Linux running on an Intel x86-compatible CPU')
apache_1       | 2021-04-02 22:52:49,886 INFO spawned: 'start' with pid 31
mysql_1        | 2021-04-02 22:52:55 0 [Note] InnoDB: Number of pools: 1
apache_1       | 2021-04-02 22:52:49,887 INFO success: rsyslogd entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
makeproject_1  | added platform: (create_time, name, user_friendly_name) values (1617404032, 'x86_64-pc-linux-gnu', 'Linux running on an AMD x86_64 or Intel EM64T CPU')
apache_1       | 2021-04-02 22:52:49,887 INFO success: apache2 entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
mysql_1        | 2021-04-02 22:52:55 0 [Note] InnoDB: Using SSE2 crc32 instructions
apache_1       | 2021-04-02 22:52:49,956 INFO exited: start (exit status 1; not expected)
apache_1       | 2021-04-02 22:52:51,960 INFO spawned: 'start' with pid 34
makeproject_1  | added platform: (create_time, name, user_friendly_name) values (1617404032, 'powerpc-apple-darwin', 'Mac OS X 10.3 or later running on Motorola PowerPC')
mysql_1        | 2021-04-02 22:52:55 0 [Note] InnoDB: Initializing buffer pool, total size = 256M, instances = 1, chunk size = 128M
apache_1       | 2021-04-02 22:52:52,025 INFO exited: start (exit status 1; not expected)
apache_1       | 2021-04-02 22:52:55,031 INFO spawned: 'start' with pid 37
makeproject_1  | added platform: (create_time, name, user_friendly_name) values (1617404032, 'i686-apple-darwin', 'Mac OS 10.4 or later running on Intel')
mysql_1        | 2021-04-02 22:52:55 0 [Note] InnoDB: Completed initialization of buffer pool
makeproject_1  | added platform: (create_time, name, user_friendly_name) values (1617404032, 'x86_64-apple-darwin', 'Intel 64-bit Mac OS 10.5 or later')
mysql_1        | 2021-04-02 22:52:55 0 [Note] InnoDB: If the mysqld execution user is authorized, page cleaner thread priority can be changed. See the man page of setpriority().
apache_1       | 2021-04-02 22:52:55,095 INFO exited: start (exit status 1; not expected)
makeproject_1  | added platform: (create_time, name, user_friendly_name) values (1617404032, 'sparc-sun-solaris2.7', 'Solaris 2.7 running on a SPARC-compatible CPU')
makeproject_1  | added platform: (create_time, name, user_friendly_name) values (1617404032, 'sparc-sun-solaris', 'Solaris 2.8 or later running on a SPARC-compatible CPU')
makeproject_1  | added platform: (create_time, name, user_friendly_name) values (1617404032, 'sparc64-sun-solaris', 'Solaris 2.8 or later running on a SPARC 64-bit CPU')
makeproject_1  | added platform: (create_time, name, user_friendly_name) values (1617404032, 'powerpc64-ps3-linux-gnu', 'Sony Playstation 3 running Linux')
makeproject_1  | added platform: (create_time, name, user_friendly_name) values (1617404032, 'arm-android-linux-gnu', 'Android running on ARM')
makeproject_1  | added platform: (create_time, name, user_friendly_name) values (1617404032, 'anonymous', 'anonymous')
apache_1       | 2021-04-02 22:52:56,096 INFO gave up: start entered FATAL state, too many start retries too quickly
mysql_1        | 2021-04-02 22:52:55 0 [Note] InnoDB: 128 out of 128 rollback segments are active.
makeproject_1  | added app: (create_time, name, user_friendly_name) values (1617404032, 'boinc2docker', 'boinc2docker')
mysql_1        | 2021-04-02 22:52:55 0 [Note] InnoDB: Creating shared tablespace for temporary tables
mysql_1        | 2021-04-02 22:52:55 0 [Note] InnoDB: Setting file './ibtmp1' size to 12 MB. Physically writing the file full; Please wait ...
mysql_1        | 2021-04-02 22:52:55 0 [Note] InnoDB: File './ibtmp1' size is now 12 MB.
mysql_1        | 2021-04-02 22:52:55 0 [Note] InnoDB: Waiting for purge to start
mysql_1        | 2021-04-02 22:52:55 0 [Note] InnoDB: 10.3.8 started; log sequence number 1631059; transaction id 21
mysql_1        | 2021-04-02 22:52:55 0 [Note] InnoDB: Loading buffer pool(s) from /var/lib/mysql/ib_buffer_pool
mysql_1        | 2021-04-02 22:52:55 0 [Note] Plugin 'FEEDBACK' is disabled.
mysql_1        | 2021-04-02 22:52:55 0 [Note] InnoDB: Buffer pool(s) load completed at 210402 22:52:55
mysql_1        | 2021-04-02 22:52:56 0 [Warning] 'user' entry 'root@a760a0f7299f' ignored in --skip-name-resolve mode.
mysql_1        | 2021-04-02 22:52:56 0 [Warning] 'user' entry '@a760a0f7299f' ignored in --skip-name-resolve mode.
mysql_1        | 2021-04-02 22:52:56 0 [Warning] 'proxies_priv' entry '@% root@a760a0f7299f' ignored in --skip-name-resolve mode.
mysql_1        | 2021-04-02 22:52:56 0 [Note] Reading of all Master_info entries succeded
mysql_1        | 2021-04-02 22:52:56 0 [Note] Added new Master_info '' to hash table
mysql_1        | 2021-04-02 22:52:56 0 [Note] mysqld: ready for connections.
mysql_1        | Version: '10.3.8-MariaDB-1:10.3.8+maria~bionic'  socket: '/var/run/mysqld/mysqld.sock'  port: 0  mariadb.org binary distribution
makeproject_1  |
makeproject_1  | Found app version directory for: boinc2docker 1.07 windows_x86_64__vbox64_mt
makeproject_1  |
makeproject_1  |     NOTICE: You have not provided a signature file for vm_isocontext_v1.0.0.iso,
makeproject_1  |     and your project's code-signing private key is on your server.
makeproject_1  |
makeproject_1  |     IF YOUR PROJECT IS PUBLICLY ACCESSABLE, THIS IS A SECURITY VULNERABILITY.
makeproject_1  |     PLEASE STOP YOUR PROJECT IMMEDIATELY AND READ:
makeproject_1  |     https://boinc.berkeley.edu/trac/wiki/CodeSigning
makeproject_1  |
makeproject_1  |     Continue (y/n)? cp apps/boinc2docker/1.07/windows_x86_64__vbox64_mt/vm_isocontext_v1.0.0.iso /home/boincadm/project/download/vm_isocontext_v1.0.0.iso
makeproject_1  | cp apps/boinc2docker/1.07/windows_x86_64__vbox64_mt/vboxwrapper_26200_windows_x86_64.exe /home/boincadm/project/download/vboxwrapper_26200_windows_x86_64.exe
makeproject_1  |     Files:
makeproject_1  |         vboxwrapper_26200_windows_x86_64.exe (main program)
makeproject_1  |         vm_isocontext_v1.0.0.iso
makeproject_1  |     Flags:
makeproject_1  |         don't throttle
mysql_1        | Warning: Unable to load '/usr/share/zoneinfo/leap-seconds.list' as time zone. Skipping it.
mysql_1        | 2021-04-02 22:52:58 10 [Warning] 'proxies_priv' entry '@% root@a760a0f7299f' ignored in --skip-name-resolve mode.
mysql_1        |
mysql_1        | 2021-04-02 22:52:58 0 [Note] mysqld (initiated by: unknown): Normal shutdown
mysql_1        | 2021-04-02 22:52:58 0 [Note] Event Scheduler: Purging the queue. 0 events
mysql_1        | 2021-04-02 22:52:58 0 [Note] InnoDB: FTS optimize thread exiting.
mysql_1        | 2021-04-02 22:52:58 0 [Note] InnoDB: Starting shutdown...
mysql_1        | 2021-04-02 22:52:58 0 [Note] InnoDB: Dumping buffer pool(s) to /var/lib/mysql/ib_buffer_pool
mysql_1        | 2021-04-02 22:52:58 0 [Note] InnoDB: Buffer pool(s) dump completed at 210402 22:52:58
mysql_1        | 2021-04-02 22:52:59 0 [Note] InnoDB: Shutdown completed; log sequence number 1631068; transaction id 24
mysql_1        | 2021-04-02 22:52:59 0 [Note] InnoDB: Removed temporary tablespace data file: "ibtmp1"
mysql_1        | 2021-04-02 22:53:00 0 [Note] mysqld: Shutdown complete
mysql_1        |
mysql_1        |
mysql_1        | MySQL init process done. Ready for start up.
mysql_1        |
mysql_1        | 2021-04-02 22:53:00 0 [Note] mysqld (mysqld 10.3.8-MariaDB-1:10.3.8+maria~bionic) starting as process 1 ...
makeproject_1  |         needs network
makeproject_1  |         API version: 7.9.0
makeproject_1  |     Do you want to add this app version (y/n)?     App version added successfully; ID=1
makeproject_1  | Found app version directory for: boinc2docker 1.07 x86_64-apple-darwin__vbox64_mt
makeproject_1  | cp apps/boinc2docker/1.07/x86_64-apple-darwin__vbox64_mt/vboxwrapper_26199_x86_64-apple-darwin /home/boincadm/project/download/vboxwrapper_26199_x86_64-apple-darwin
makeproject_1  |     Files:
makeproject_1  |         vboxwrapper_26199_x86_64-apple-darwin (main program)
makeproject_1  |         vm_isocontext_v1.0.0.iso
makeproject_1  |     Flags:
makeproject_1  |         don't throttle
makeproject_1  |         needs network
makeproject_1  |         API version: 7.7.2
makeproject_1  |     Do you want to add this app version (y/n)?     App version added successfully; ID=2
makeproject_1  | Found app version directory for: boinc2docker 1.07 x86_64-pc-linux-gnu__vbox64_mt
makeproject_1  | cp apps/boinc2docker/1.07/x86_64-pc-linux-gnu__vbox64_mt/vboxwrapper_26198_x86_64-pc-linux-gnu /home/boincadm/project/download/vboxwrapper_26198_x86_64-pc-linux-gnu
makeproject_1  |     Files:
makeproject_1  |         vboxwrapper_26198_x86_64-pc-linux-gnu (main program)
makeproject_1  |         vm_isocontext_v1.0.0.iso
mysql_1        | 2021-04-02 22:53:00 0 [Note] InnoDB: Using Linux native AIO
mysql_1        | 2021-04-02 22:53:00 0 [Note] InnoDB: Mutexes and rw_locks use GCC atomic builtins
mysql_1        | 2021-04-02 22:53:00 0 [Note] InnoDB: Uses event mutexes
mysql_1        | 2021-04-02 22:53:00 0 [Note] InnoDB: Compressed tables use zlib 1.2.11
mysql_1        | 2021-04-02 22:53:00 0 [Note] InnoDB: Number of pools: 1
mysql_1        | 2021-04-02 22:53:00 0 [Note] InnoDB: Using SSE2 crc32 instructions
mysql_1        | 2021-04-02 22:53:00 0 [Note] InnoDB: Initializing buffer pool, total size = 256M, instances = 1, chunk size = 128M
mysql_1        | 2021-04-02 22:53:00 0 [Note] InnoDB: Completed initialization of buffer pool
mysql_1        | 2021-04-02 22:53:00 0 [Note] InnoDB: If the mysqld execution user is authorized, page cleaner thread priority can be changed. See the man page of setpriority().
mysql_1        | 2021-04-02 22:53:00 0 [Note] InnoDB: 128 out of 128 rollback segments are active.
mysql_1        | 2021-04-02 22:53:00 0 [Note] InnoDB: Creating shared tablespace for temporary tables
mysql_1        | 2021-04-02 22:53:00 0 [Note] InnoDB: Setting file './ibtmp1' size to 12 MB. Physically writing the file full; Please wait ...
mysql_1        | 2021-04-02 22:53:00 0 [Note] InnoDB: File './ibtmp1' size is now 12 MB.
mysql_1        | 2021-04-02 22:53:00 0 [Note] InnoDB: Waiting for purge to start
mysql_1        | 2021-04-02 22:53:00 0 [Note] InnoDB: 10.3.8 started; log sequence number 1631068; transaction id 21
mysql_1        | 2021-04-02 22:53:00 0 [Note] InnoDB: Loading buffer pool(s) from /var/lib/mysql/ib_buffer_pool
mysql_1        | 2021-04-02 22:53:00 0 [Note] Plugin 'FEEDBACK' is disabled.
mysql_1        | 2021-04-02 22:53:00 0 [Note] InnoDB: Buffer pool(s) load completed at 210402 22:53:00
makeproject_1  |     Flags:
makeproject_1  |         don't throttle
makeproject_1  |         needs network
makeproject_1  |         API version: 7.7.0
makeproject_1  |     Do you want to add this app version (y/n)?     App version added successfully; ID=3
mysql_1        | 2021-04-02 22:53:01 0 [Note] Server socket created on IP: '::'.
mysql_1        | 2021-04-02 22:53:01 0 [Warning] 'proxies_priv' entry '@% root@a760a0f7299f' ignored in --skip-name-resolve mode.
mysql_1        | 2021-04-02 22:53:01 0 [Note] Reading of all Master_info entries succeded
mysql_1        | 2021-04-02 22:53:01 0 [Note] Added new Master_info '' to hash table
mysql_1        | 2021-04-02 22:53:01 0 [Note] mysqld: ready for connections.
mysql_1        | Version: '10.3.8-MariaDB-1:10.3.8+maria~bionic'  socket: '/var/run/mysqld/mysqld.sock'  port: 3306  mariadb.org binary distribution
mysql_1        | 2021-04-02 22:53:40 8 [Warning] Access denied for user 'boincadm'@'172.18.0.3' (using password: NO)



docker-compose exec apache bin/status:

BOINC is DISABLED

DAEMON  pid  status      lockfile disabled  commandline
   1      0             UNLOCKED  no        feeder -d 3
   2      0             UNLOCKED  no        transitioner -d 3
   3      0             UNLOCKED  no        file_deleter -d 3
   4      0             UNLOCKED  no        script_assimilator --app boinc2docker --script "boinc2docker_assimilator files"
   5      0             UNLOCKED  no        sample_trivial_validator -app boinc2docker

TASK       last run       period          next run        lock file disabled  commandline
   1          ?           24 hours           NOW          unlocked  no        antique_file_deleter -d 2
   2          ?           24 hours           NOW          unlocked  yes       db_dump -d 2 --dump_spec ../db_dump_spec.xml
   3          ?           1 days             NOW          unlocked  no        run_in_ops ./update_uotd.php
   4          ?           1 hour             NOW          unlocked  no        run_in_ops ./update_forum_activities.php
   5          ?           1 days             NOW          unlocked  no        update_stats
   6          ?           24 hours           NOW          unlocked  no        run_in_ops ./update_profile_pages.php
   7          ?           24 hours           NOW          unlocked  yes       run_in_ops ./team_import.php
   8          ?           24 hours           NOW          unlocked  no        run_in_ops ./notify.php
   9          ?           24 hours           NOW          unlocked  no        run_in_ops ./badge_assign.php
  10          ?           24 hours           NOW          unlocked  no        run_in_ops ./delete_expired_tokens.php
  11          ?           24 hours           NOW          unlocked  no        run_in_ops ./delete_expired_users_and_hosts.php

docker-compose exec apache curl http://127.0.0.1/boincserver/ says: 404

@marius311
Copy link
Owner

Thanks, yea this line

apache_1       | 2021-04-02 22:52:56,096 INFO gave up: start entered FATAL state, too many start retries too quickly

means the Apache server never started. The reason should be in the logs, what does this say:

docker-compose exec apache bash -c "cat /var/log/supervisor/apache2-std*"

@saumyashah7
Copy link
Author

that says:
AH00558: apache2: Could not reliably determine the server's fully qualified domain name, using 172.18.0.4. Set the 'ServerName' directive globally to suppress this message
AH00558: apache2: Could not reliably determine the server's fully qualified domain name, using 172.18.0.4. Set the 'ServerName' directive globally to suppress this message
[Fri Apr 02 22:52:48.881708 2021] [mpm_prefork:notice] [pid 11] AH00163: Apache/2.4.25 (Debian) PHP/7.0.31 configured -- resuming normal operations
[Fri Apr 02 22:52:48.881755 2021] [core:notice] [pid 11] AH00094: Command line: 'apache2 -D FOREGROUND'
[Sat Apr 03 01:44:01.730644 2021] [autoindex:error] [pid 28] [client 92.16.195.36:43253] AH01276: Cannot serve directory /var/www/html/: No matching DirectoryIndex (index.php,index.html) found, and server-generated directory index forbidden by Options directive
172.18.0.1 - - [02/Apr/2021:23:03:54 +0000] "GET /boincserver HTTP/1.1" 404 501 "-" "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:87.0) Gecko/20100101 Firefox/87.0"
172.18.0.1 - - [02/Apr/2021:23:03:54 +0000] "GET /favicon.ico HTTP/1.1" 404 500 "http://127.0.0.1/boincserver" "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:87.0) Gecko/20100101 Firefox/87.0"
127.0.0.1 - - [02/Apr/2021:23:09:17 +0000] "GET /boincserver/ HTTP/1.1" 404 446 "-" "curl/7.52.1"
92.16.195.36 - - [03/Apr/2021:01:44:01 +0000] "GET / HTTP/1.1" 403 450 "-" "Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/51.0.2704.103 Safari/537.36"

@saumyashah7
Copy link
Author

Any update on this?

@marius311
Copy link
Owner

No, I'm not able to reproduce this. Can you try a docker-compose down -v (warning, will delete all your data volumes, including database and project directory) to wipe everything and try again fresh? The error Cannot serve directory /var/www/html/ seems to indicate the boincserver.httpd.conf file wasn't succesfully symlinked into /etc/apache2/sites-enabled/, so the server is trying to serve the wrong directory (/var/www/html/ instead of /home/boincadm/project/html)

@saumyashah7
Copy link
Author

Yes I tried that earlier and now as well but no luck. Just to double check I started fresh on two other machines again and I got the same errors.

@saumyashah7
Copy link
Author

saumyashah7 commented Apr 21, 2021

Also I see there was a change recently in the makeproject-step2.sh file but the related makeproject docker image hasn't been updated since last two years. Do you think the problem could be related to that? I tried to build image locally but the git repo might not have all the files since I keep getting error file not found for:

/bin/sh: 1: ./_autosetup: not found
ERROR: Service 'makeproject' failed to build: The command '/bin/sh -c cd /usr/local/boinc && ./_autosetup && ./configure --disable-client --disable-manager && make' returned a non-zero code: 127

@marius311
Copy link
Owner

If you'd like to build locally, don't forgret to check out the submodules (described in readme).

@saumyashah7
Copy link
Author

I tried to rebuild the image with your updated code but I still see the apache error:

apache_1 | 2021-04-22 23:56:17,459 INFO exited: start (exit status 1; not expected)
apache_1 | 2021-04-22 23:56:19,464 INFO spawned: 'start' with pid 34
apache_1 | 2021-04-22 23:56:19,526 INFO exited: start (exit status 1; not expected)
apache_1 | 2021-04-22 23:56:22,532 INFO spawned: 'start' with pid 37
apache_1 | 2021-04-22 23:56:22,589 INFO exited: start (exit status 1; not expected)
apache_1 | 2021-04-22 23:56:23,591 INFO gave up: start entered FATAL state, too many start retries too quickly

but I think the other error regarding serving the wrong directory went away. I got the following from executing docker-compose exec apache bash -c "cat /var/log/supervisor/apache2-std*":

AH00558: apache2: Could not reliably determine the server's fully qualified domain name, using 172.26.0.4. Set the 'ServerName' directive globally to suppress this message
AH00558: apache2: Could not reliably determine the server's fully qualified domain name, using 172.26.0.4. Set the 'ServerName' directive globally to suppress this message
[Thu Apr 22 23:56:16.394821 2021] [mpm_prefork:notice] [pid 11] AH00163: Apache/2.4.25 (Debian) PHP/7.0.31 configured -- resuming normal operations
[Thu Apr 22 23:56:16.394899 2021] [core:notice] [pid 11] AH00094: Command line: 'apache2 -D FOREGROUND'
73.116.89.112 - - [23/Apr/2021:00:09:44 +0000] "GET /boincserver HTTP/1.1" 404 506 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/89.0.4389.128 Safari/537.36"
73.116.89.112 - - [23/Apr/2021:00:09:52 +0000] "GET /boincserver HTTP/1.1" 404 506 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/89.0.4389.128 Safari/537.36"

Any suggestions on how to proceed further since the site is still unreachable?

@Jordan-Hall
Copy link

git clone https://github.com/marius311/boinc-server-docker.git
cd boinc-server-docker

and then run,

docker-compose pull
docker-compose up -d
docker-compose exec apache bash
ln -s /home/boincadm/project/boincserver.httpd.conf /etc/apache2/conf-enabled/boincserver.httpd.conf
/etc/init.d/apache2 reload
bin/stop
bin/start

These are the steps required to run boinc server. If you change the environment file then you need to change the boincserver to the env project name

@tentom
Copy link

tentom commented Sep 15, 2022

I had this same issue on a windows machine yesterday. Tried to follow the readme and got the 404 page.
Adding the symlink and reloading the service and restarting. As Jordan-Hall mentioned got it working.

I still have some issues getting the tasks from when connecting and boinc client logs shows some log permission issues on the server side.
15/09/2022 08:39:54 | boincserver | Server can't open log file (../log_boincserver/scheduler.log)

@p-torabi-var
Copy link

I had the original error in this issue and the one mentioned by tentom (my server is ubuntu 22.04).
My problem was solved after I did the docker post-installation step: creating the docker group and adding my user to it.
Also, I used the template in example_project.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants