I haven't tried it on ubuntu for quite some time (pretty much since systemd took over the universe) and I don't have an ubuntu install any more, but let me know what problems you're having and I'll see if I can help.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
mostly how to install php5 and where to put everything after I do .....
I get the following
Package 'php5-curl' has no installation candidate
E: Package 'php5-sqlite' has no installation candidate
E: Package 'libapache2-mod-php5' has no installation candidate
E: Unable to locate package php5-json
E: Unable to locate package php5-xml
E: Unable to locate package php5-mbstring
thanks ...I'm happy to put an UBUNTU step by step together, when I get this worrking.
T
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Yeah I do need to update the instructions, but I don't current;y have any linux installation to test with.
Anyway Ubuntu now uses PHP7. There's a link in the instructions to a thread on the discussion about what packages to install if you have php7. Just ignore php5. The rest of the install should be just a case of following the instructions.
SO I install nginx ... which is a web server? I thought apache is doing that?... I follow the instructions and I get the following errors.... I assume cause I'm running on the same port as apache... do i need to do something for them to weork together?
Sep 08 17:59:30 fausto-desktop nginx[25766]: nginx: [emerg] listen() to [::]:80, backlog 511 failed (98: Address already in use)
Sep 08 17:59:31 fausto-desktop nginx[25766]: nginx: [emerg] listen() to 0.0.0.0:80, backlog 511 failed (98: Address already in use)
Sep 08 17:59:31 fausto-desktop nginx[25766]: nginx: [emerg] listen() to [::]:80, backlog 511 failed (98: Address already in use)
Sep 08 17:59:31 fausto-desktop nginx[25766]: nginx: [emerg] listen() to 0.0.0.0:80, backlog 511 failed (98: Address already in use)
Sep 08 17:59:31 fausto-desktop nginx[25766]: nginx: [emerg] listen() to [::]:80, backlog 511 failed (98: Address already in use)
Sep 08 17:59:32 fausto-desktop nginx[25766]: nginx: [emerg] still could not bind()
Sep 08 17:59:32 fausto-desktop systemd[1]: nginx.service: Control process exited, code=exited status=1
Sep 08 17:59:32 fausto-desktop systemd[1]: Failed to start A high performance web server and a reverse proxy server.
Sep 08 17:59:32 fausto-desktop systemd[1]: nginx.service: Unit entered failed state.
Sep 08 17:59:32 fausto-desktop systemd[1]: nginx.service: Failed with result 'exit-code'.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
OK ... got it with Apache .... now getting the below when I restart apache.... is there something I missed
AH00526: Syntax error on line 28 of /etc/apache2/conf-enabled/rompr.conf:
Sep 08 18:17:13 fausto-desktop apachectl[26252]: Invalid command 'Header', perhaps misspelled or defined by a module not included in the server configuration
Sep 08 18:17:13 fausto-desktop apachectl[26252]: Action 'graceful' failed.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
yeah you don't need nginx and Apache, just one or the other.
Your apache error sounds like you haven't enabled the apache modules as described in the instructions. If you have done that and it still isn't working then I guess the headers module needs to be installed. Try looking for a package called something like libapache2-mod-headers.
Do make sure you read the instrctions carefully. The code does assume that they have been followed to the letter.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
awesome ... your boing a big help ..I'm almost there ... I know get the rompr settings page .... but i get this error for running sql lite.:
SQLSTATE[HY000][14] unable to open database file
I'm getting this error when I try to set up the regular sql tweaks :- mysql: [ERROR] Found option without preceding group in config file /etc/mysql/conf.d/rompr-tweaks.cnf at line 1!
mysql: [ERROR] mysql: unknown option '-1'
thanks fort the help
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
OK that said .... I think we are working .... i just hit scan music database, I'm assuming it's doing that and building the sql file now... I think then... the last thing is to get the tweaks to work .
I'll keep you posted
Thanks
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
It still sounds like you haven't read the instructions. Please do that. You haven't set the permissions on the prefs and albumart directories, which is why it couldn't open the database file. Also you don't need both sqlite and mysql, just one or the other. Unless you need mysql for some other reason just use sqlite. The tweaks are only for mysql.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Clearly it;s a permissions error .... but i've followed the instructions ...
as well ... have compeltly set permissions according to the directions and i get the following in my apache2 error log:
213, referer: http://localhost/rompr/index.php [Sun Sep 10 13:32:15.849894 2017][:error][pid 4559][client ::1:58210] ERROR! : COULD NOT SAVE PREFS, referer: http://localhost/rompr/index.php [Sun Sep 10 13:32:15.850270 2017][:error][pid 4559][client ::1:58210] PHP Fatal error: Uncaught Error: Call to undefined function connect_to_database() in /var/www/html/rompr/backends/sql/backend.php:14\nStack trace:\n#0 /var/www/html/rompr/player/mpd/loadplaylists.php(8): include()\n#1 {main}\n thrown in /var/www/html/rompr/backends/sql/backend.php on line 14, referer: http://localhost/rompr/index.php [Sun Sep 10 13:32:15.867058 2017][:error][pid 4553][client ::1:58198] PHP Warning: file_put_contents(prefs/prefs.var): failed to open stream: Permission denied in /var/www/html/rompr/includes/vars.php on line 213, referer: http://localhost/rompr/index.php [Sun Sep 10 13:32:15.867077 2017][:error][pid 4553][client ::1:58198] ERROR! : COULD NOT SAVE PREFS, referer: http://localhost/rompr/index.php [Sun Sep 10 13:32:15.867125 2017][:error][pid 4553][client ::1:58198] PHP Warning: file_put_contents(prefs/prefs.var): failed to open stream: Permission denied in /var/www/html/rompr/includes/vars.php on line 213, referer: http://localhost/rompr/index.php [Sun Sep 10 13:32:15.867130 2017][:error][pid 4553][client ::1:58198] ERROR! : COULD NOT SAVE PREFS, referer: http://localhost/rompr/index.php [Sun Sep 10 13:32:25.724603 2017][:error][pid 4530][client ::1:58220] PHP Warning: file_put_contents(prefs/prefs.var): failed to open stream: Permission denied in /var/www/html/rompr/includes/vars.php on line 213, referer: http://localhost/rompr/index.php [Sun Sep 10 13:32:25.724640 2017][:error][pid 4530][client ::1:58220] ERROR! : COULD NOT SAVE PREFS, referer: http://localhost/rompr/index.php [Sun Sep 10 13:32:25.724809 2017][:error][pid 4530][client ::1:58220] PHP Fatal error: Uncaught Error: Call to undefined function connect_to_database() in /var/www/html/rompr/streamplugins/01_podcasts.php:12\nStack trace:\n#0 {main}\n thrown in /var/www/html/rompr/streamplugins/01_podcasts.php on line 12, referer: http://localhost/rompr/index.php [Sun Sep 10 13:34:39.871534 2017][:error][pid 4534][client ::1:58414] PHP Warning: file_put_contents(prefs/prefs.var): failed to open stream: Permission denied in /var/www/html/rompr/includes/vars.php on lin
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
WOW ...ok this interface is spectacular.. it took some work to get it working. I'm still not able to do a database scan, it get a handfull of folders and fails. ALso .... is there a way to sort by genre?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
[Sun Sep 10 13:32:15.850270 2017][:error][pid 4559][client ::1:58210] PHP Fatal error: Uncaught Error: Call to undefined function connect_to_database() in
Which suggests that rompr is not configured correctly. The most likely cause is still permissions on the prefs directory. If you can't sort that out nothing is going to work. You've done
sudo chmod -R ugo+rw /var/www/html/rompr/prefs/
whereas the instructions are very clear:
sudo chmod -R ugo+rw /var/www/html/rompr/prefs
Note the lack of the trailing /. Same for albumart.
Like I say, instructions. Read, understand, then follow in logical steps. Do not rush.
No there is no way to sort by genre.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Read the instructions ...all versions ... and i'm getting the permissions error ... but does it builds a small database...
sorry when I typed /prefs before that I included the trailing / ... but I set it correctly. ... look at the error Allowed memory size of 134217728 bytes exhausted (tried to allocate 20480 bytes) in /var/www/html/rompr/collection/collection.php on line 570, referer: http://localhost/rompr/
this is my appache log output ... and i see that it's an permissions error ... but I keep setting them according to the instructions...
Thanks for the help
T
[Sun Sep 10 13:37:23.708640 2017][:error][pid 4553][client ::1:58520] ERROR! : COULD NOT SAVE PREFS, referer: http://localhost/rompr/?setup [Sun Sep 10 13:51:33.019075 2017][:error][pid 4559][client ::1:60126] PHP Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 20480 bytes) in /var/www/html/rompr/collection/collection.php on line 570, referer: http://localhost/rompr/ [Sun Sep 10 13:54:56.525135 2017][:error][pid 4899][client ::1:60566] PHP Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 20480 bytes) in /var/www/html/rompr/collection/collection.php on line 570, referer: http://localhost/rompr/ [Sun Sep 10 19:30:21.605041 2017][:error][pid 7355][client ::1:52652] PHP Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 20480 bytes) in /var/www/html/rompr/collection/collection.php on line 570, referer: http://localhost/rompr/ [Sun Sep 10 19:30:47.468446 2017][mpm_prefork:notice][pid 4408] AH00171: Graceful restart requested, doing restart
AH00558: apache2: Could not reliably determine the server's fully qualified domain name, using 127.0.1.1. Set the 'ServerName' directive globally to suppress this message [Sun Sep 10 19:30:47.512074 2017][mpm_prefork:notice][pid 4408] AH00163: Apache/2.4.25 (Ubuntu) configured -- resuming normal operations [Sun Sep 10 19:30:47.512091 2017][core:notice][pid 4408] AH00094: Command line: '/usr/sbin/apache2' [Sun Sep 10 19:31:03.336076 2017][:error][pid 11012][client ::1:52696] PHP Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 20480 bytes) in /var/www/html/rompr/player/mpd/sockets.php on line 47, referer: http://localhost/rompr/ [Sun Sep 10 19:32:53.686571 2017][:error][pid 11016][client ::1:52830] PHP Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 20480 bytes) in /var/www/html/rompr/collection/collection.php on line 570, referer: http://localhost/rompr/ [Sun Sep 10 19:34:36.083526 2017][mpm_prefork:notice][pid 4408] AH00171: Graceful restart requested, doing restart
AH00558: apache2: Could not reliably determine the server's fully qualified domain name, using 127.0.1.1. Set the 'ServerName' directive globally to suppress this message [Sun Sep 10 19:34:36.122494 2017][mpm_prefork:notice][pid 4408] AH00163: Apache/2.4.25 (Ubuntu) configured -- resuming normal operations [Sun Sep 10 19:34:36.122512 2017][core:notice][pid 4408] AH00094: Command line: '/usr/sbin/apache2' [Sun Sep 10 19:34:53.712658 2017][:error][pid 11108][client ::1:53022] PHP Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 20480 bytes) in /var/www/html/rompr/collection/collection.php on line 570, referer: http://localhost/rompr/
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
You're hitting a PHP memory limit. This is set in the apache rompr.conf to 256MB. Since you are hitting the system default of 128MB it would appear that you have not installed or perhaps not edited the rompr.conf correctly. Again, this is in the instructions.
Find where your romr.conf is, and come bacl here and tell me the locaion where it was and copy and paste the entire contents of the file into here.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
GReat thanks for pointing that out... I didn't realize when I made the post that things had changed from the cut and past .... NO there are not " " in the script ... somewhere in the html things got screwed up on this forum .... lets test it,.... her's my config ... that is directly copied from YOUR instructions and looks perfect in my chrome browser pasted in here.
lets see what happens
</Directory>
<Directory var="" www="" html="" rompr="" albumart="" small="">
Header Set Cache-Control "max-age=0, no-store"
Header Set Cache-Control "no-cache, must-revalidate"
</Directory>
<Directory var="" www="" html="" rompr="" albumart="" asdownloaded="">
Header Set Cache-Control "max-age=0, no-store"
Header Set Cache-Control "no-cache, must-revalidate"
</Directory>
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I've been trying for a couple days to get Rompr to install on ubuntu. Is
there an up to date set of instructions for debia/ubuntu?
This looks great,
just can't get it to run
THanks
Tim
I haven't tried it on ubuntu for quite some time (pretty much since systemd took over the universe) and I don't have an ubuntu install any more, but let me know what problems you're having and I'll see if I can help.
View and moderate all "General Discussion" comments posted by this user
Mark all as spam, and block user from posting to "Discussion"
mostly how to install php5 and where to put everything after I do .....
I get the following
Package 'php5-curl' has no installation candidate
E: Package 'php5-sqlite' has no installation candidate
E: Package 'libapache2-mod-php5' has no installation candidate
E: Unable to locate package php5-json
E: Unable to locate package php5-xml
E: Unable to locate package php5-mbstring
thanks ...I'm happy to put an UBUNTU step by step together, when I get this worrking.
T
Yeah I do need to update the instructions, but I don't current;y have any linux installation to test with.
Anyway Ubuntu now uses PHP7. There's a link in the instructions to a thread on the discussion about what packages to install if you have php7. Just ignore php5. The rest of the install should be just a case of following the instructions.
Here's the link
https://sourceforge.net/p/rompr/discussion/general/thread/db3ab325/#f6ce
View and moderate all "General Discussion" comments posted by this user
Mark all as spam, and block user from posting to "Discussion"
HI ... thanks for the helkp ....
SO I install nginx ... which is a web server? I thought apache is doing that?... I follow the instructions and I get the following errors.... I assume cause I'm running on the same port as apache... do i need to do something for them to weork together?
Sep 08 17:59:30 fausto-desktop nginx[25766]: nginx: [emerg] listen() to [::]:80, backlog 511 failed (98: Address already in use)
Sep 08 17:59:31 fausto-desktop nginx[25766]: nginx: [emerg] listen() to 0.0.0.0:80, backlog 511 failed (98: Address already in use)
Sep 08 17:59:31 fausto-desktop nginx[25766]: nginx: [emerg] listen() to [::]:80, backlog 511 failed (98: Address already in use)
Sep 08 17:59:31 fausto-desktop nginx[25766]: nginx: [emerg] listen() to 0.0.0.0:80, backlog 511 failed (98: Address already in use)
Sep 08 17:59:31 fausto-desktop nginx[25766]: nginx: [emerg] listen() to [::]:80, backlog 511 failed (98: Address already in use)
Sep 08 17:59:32 fausto-desktop nginx[25766]: nginx: [emerg] still could not bind()
Sep 08 17:59:32 fausto-desktop systemd[1]: nginx.service: Control process exited, code=exited status=1
Sep 08 17:59:32 fausto-desktop systemd[1]: Failed to start A high performance web server and a reverse proxy server.
Sep 08 17:59:32 fausto-desktop systemd[1]: nginx.service: Unit entered failed state.
Sep 08 17:59:32 fausto-desktop systemd[1]: nginx.service: Failed with result 'exit-code'.
View and moderate all "General Discussion" comments posted by this user
Mark all as spam, and block user from posting to "Discussion"
OK ... got it with Apache .... now getting the below when I restart apache.... is there something I missed
AH00526: Syntax error on line 28 of /etc/apache2/conf-enabled/rompr.conf:
Sep 08 18:17:13 fausto-desktop apachectl[26252]: Invalid command 'Header', perhaps misspelled or defined by a module not included in the server configuration
Sep 08 18:17:13 fausto-desktop apachectl[26252]: Action 'graceful' failed.
yeah you don't need nginx and Apache, just one or the other.
Your apache error sounds like you haven't enabled the apache modules as described in the instructions. If you have done that and it still isn't working then I guess the headers module needs to be installed. Try looking for a package called something like libapache2-mod-headers.
Do make sure you read the instrctions carefully. The code does assume that they have been followed to the letter.
View and moderate all "General Discussion" comments posted by this user
Mark all as spam, and block user from posting to "Discussion"
awesome ... your boing a big help ..I'm almost there ... I know get the rompr settings page .... but i get this error for running sql lite.:
SQLSTATE[HY000] [14] unable to open database file
I'm getting this error when I try to set up the regular sql tweaks :- mysql: [ERROR] Found option without preceding group in config file /etc/mysql/conf.d/rompr-tweaks.cnf at line 1!
mysql: [ERROR] mysql: unknown option '-1'
thanks fort the help
View and moderate all "General Discussion" comments posted by this user
Mark all as spam, and block user from posting to "Discussion"
OK that said .... I think we are working .... i just hit scan music database, I'm assuming it's doing that and building the sql file now... I think then... the last thing is to get the tweaks to work .
I'll keep you posted
Thanks
It still sounds like you haven't read the instructions. Please do that. You haven't set the permissions on the prefs and albumart directories, which is why it couldn't open the database file. Also you don't need both sqlite and mysql, just one or the other. Unless you need mysql for some other reason just use sqlite. The tweaks are only for mysql.
View and moderate all "General Discussion" comments posted by this user
Mark all as spam, and block user from posting to "Discussion"
OK ... so I'm coming up now .... but I can't get a database to build .... I've followed everthing ... thoughts?
Update Music Collection Now
Failed To Generate Collection :
Internal Server Error
View and moderate all "General Discussion" comments posted by this user
Mark all as spam, and block user from posting to "Discussion"
I have run these a doxen times now ;
sudo chmod -R ugo+rw /var/www/html/rompr/albumart
sudo chmod -R ugo+rw /var/www/html/rompr/prefs/
Clearly it;s a permissions error .... but i've followed the instructions ...
as well ... have compeltly set permissions according to the directions and i get the following in my apache2 error log:
213, referer: http://localhost/rompr/index.php
[Sun Sep 10 13:32:15.849894 2017] [:error] [pid 4559] [client ::1:58210] ERROR! : COULD NOT SAVE PREFS, referer: http://localhost/rompr/index.php
[Sun Sep 10 13:32:15.850270 2017] [:error] [pid 4559] [client ::1:58210] PHP Fatal error: Uncaught Error: Call to undefined function connect_to_database() in /var/www/html/rompr/backends/sql/backend.php:14\nStack trace:\n#0 /var/www/html/rompr/player/mpd/loadplaylists.php(8): include()\n#1 {main}\n thrown in /var/www/html/rompr/backends/sql/backend.php on line 14, referer: http://localhost/rompr/index.php
[Sun Sep 10 13:32:15.867058 2017] [:error] [pid 4553] [client ::1:58198] PHP Warning: file_put_contents(prefs/prefs.var): failed to open stream: Permission denied in /var/www/html/rompr/includes/vars.php on line 213, referer: http://localhost/rompr/index.php
[Sun Sep 10 13:32:15.867077 2017] [:error] [pid 4553] [client ::1:58198] ERROR! : COULD NOT SAVE PREFS, referer: http://localhost/rompr/index.php
[Sun Sep 10 13:32:15.867125 2017] [:error] [pid 4553] [client ::1:58198] PHP Warning: file_put_contents(prefs/prefs.var): failed to open stream: Permission denied in /var/www/html/rompr/includes/vars.php on line 213, referer: http://localhost/rompr/index.php
[Sun Sep 10 13:32:15.867130 2017] [:error] [pid 4553] [client ::1:58198] ERROR! : COULD NOT SAVE PREFS, referer: http://localhost/rompr/index.php
[Sun Sep 10 13:32:25.724603 2017] [:error] [pid 4530] [client ::1:58220] PHP Warning: file_put_contents(prefs/prefs.var): failed to open stream: Permission denied in /var/www/html/rompr/includes/vars.php on line 213, referer: http://localhost/rompr/index.php
[Sun Sep 10 13:32:25.724640 2017] [:error] [pid 4530] [client ::1:58220] ERROR! : COULD NOT SAVE PREFS, referer: http://localhost/rompr/index.php
[Sun Sep 10 13:32:25.724809 2017] [:error] [pid 4530] [client ::1:58220] PHP Fatal error: Uncaught Error: Call to undefined function connect_to_database() in /var/www/html/rompr/streamplugins/01_podcasts.php:12\nStack trace:\n#0 {main}\n thrown in /var/www/html/rompr/streamplugins/01_podcasts.php on line 12, referer: http://localhost/rompr/index.php
[Sun Sep 10 13:34:39.871534 2017] [:error] [pid 4534] [client ::1:58414] PHP Warning: file_put_contents(prefs/prefs.var): failed to open stream: Permission denied in /var/www/html/rompr/includes/vars.php on lin
View and moderate all "General Discussion" comments posted by this user
Mark all as spam, and block user from posting to "Discussion"
All this says ... it looks great. Shouldn't I be able to just get my MPD database
View and moderate all "General Discussion" comments posted by this user
Mark all as spam, and block user from posting to "Discussion"
SO OK ... it seems to be creating a small database ... but it fails fater after a bit.
View and moderate all "General Discussion" comments posted by this user
Mark all as spam, and block user from posting to "Discussion"
WOW ...ok this interface is spectacular.. it took some work to get it working. I'm still not able to do a database scan, it get a handfull of folders and fails. ALso .... is there a way to sort by genre?
You're getting this error:
[Sun Sep 10 13:32:15.850270 2017] [:error] [pid 4559] [client ::1:58210] PHP Fatal error: Uncaught Error: Call to undefined function connect_to_database() in
Which suggests that rompr is not configured correctly. The most likely cause is still permissions on the prefs directory. If you can't sort that out nothing is going to work. You've done
whereas the instructions are very clear:
Note the lack of the trailing /. Same for albumart.
Like I say, instructions. Read, understand, then follow in logical steps. Do not rush.
No there is no way to sort by genre.
View and moderate all "General Discussion" comments posted by this user
Mark all as spam, and block user from posting to "Discussion"
Read the instructions ...all versions ... and i'm getting the permissions error ... but does it builds a small database...
sorry when I typed /prefs before that I included the trailing / ... but I set it correctly. ... look at the error Allowed memory size of 134217728 bytes exhausted (tried to allocate 20480 bytes) in /var/www/html/rompr/collection/collection.php on line 570, referer: http://localhost/rompr/
this is my appache log output ... and i see that it's an permissions error ... but I keep setting them according to the instructions...
Thanks for the help
T
[Sun Sep 10 13:37:23.708640 2017] [:error] [pid 4553] [client ::1:58520] ERROR! : COULD NOT SAVE PREFS, referer: http://localhost/rompr/?setup
[Sun Sep 10 13:51:33.019075 2017] [:error] [pid 4559] [client ::1:60126] PHP Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 20480 bytes) in /var/www/html/rompr/collection/collection.php on line 570, referer: http://localhost/rompr/
[Sun Sep 10 13:54:56.525135 2017] [:error] [pid 4899] [client ::1:60566] PHP Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 20480 bytes) in /var/www/html/rompr/collection/collection.php on line 570, referer: http://localhost/rompr/
[Sun Sep 10 19:30:21.605041 2017] [:error] [pid 7355] [client ::1:52652] PHP Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 20480 bytes) in /var/www/html/rompr/collection/collection.php on line 570, referer: http://localhost/rompr/
[Sun Sep 10 19:30:47.468446 2017] [mpm_prefork:notice] [pid 4408] AH00171: Graceful restart requested, doing restart
AH00558: apache2: Could not reliably determine the server's fully qualified domain name, using 127.0.1.1. Set the 'ServerName' directive globally to suppress this message
[Sun Sep 10 19:30:47.512074 2017] [mpm_prefork:notice] [pid 4408] AH00163: Apache/2.4.25 (Ubuntu) configured -- resuming normal operations
[Sun Sep 10 19:30:47.512091 2017] [core:notice] [pid 4408] AH00094: Command line: '/usr/sbin/apache2'
[Sun Sep 10 19:31:03.336076 2017] [:error] [pid 11012] [client ::1:52696] PHP Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 20480 bytes) in /var/www/html/rompr/player/mpd/sockets.php on line 47, referer: http://localhost/rompr/
[Sun Sep 10 19:32:53.686571 2017] [:error] [pid 11016] [client ::1:52830] PHP Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 20480 bytes) in /var/www/html/rompr/collection/collection.php on line 570, referer: http://localhost/rompr/
[Sun Sep 10 19:34:36.083526 2017] [mpm_prefork:notice] [pid 4408] AH00171: Graceful restart requested, doing restart
AH00558: apache2: Could not reliably determine the server's fully qualified domain name, using 127.0.1.1. Set the 'ServerName' directive globally to suppress this message
[Sun Sep 10 19:34:36.122494 2017] [mpm_prefork:notice] [pid 4408] AH00163: Apache/2.4.25 (Ubuntu) configured -- resuming normal operations
[Sun Sep 10 19:34:36.122512 2017] [core:notice] [pid 4408] AH00094: Command line: '/usr/sbin/apache2'
[Sun Sep 10 19:34:53.712658 2017] [:error] [pid 11108] [client ::1:53022] PHP Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 20480 bytes) in /var/www/html/rompr/collection/collection.php on line 570, referer: http://localhost/rompr/
You're hitting a PHP memory limit. This is set in the apache rompr.conf to 256MB. Since you are hitting the system default of 128MB it would appear that you have not installed or perhaps not edited the rompr.conf correctly. Again, this is in the instructions.
Find where your romr.conf is, and come bacl here and tell me the locaion where it was and copy and paste the entire contents of the file into here.
Ah hang on a minute. I wonder if this is another of those things related to PHP 7.
Can you find your rompr.conf and where it says
Change it to
Then restart apache and try again.
I'm guessing, because I don't have PHP7 to test with but it looks likely.
View and moderate all "General Discussion" comments posted by this user
Mark all as spam, and block user from posting to "Discussion"
OK ... I thought it was going to make the collection, but it failed. This is what I have now in ROmpr.conf... so close i can feel it
<Directory var="" www="" html="" rompr="">
Options Indexes FollowSymLinks Includes ExecCGI
DirectoryIndex index.php
AllowOverride All
Require all granted
ErrorDocument 404 /rompr/404.php
AddType image/x-icon .ico
</Directory>
<Directory var="" www="" html="" rompr="" albumart="" small="">
Header Set Cache-Control "max-age=0, no-store"
Header Set Cache-Control "no-cache, must-revalidate"
</Directory>
<Directory var="" www="" html="" rompr="" albumart="" asdownloaded="">
Header Set Cache-Control "max-age=0, no-store"
Header Set Cache-Control "no-cache, must-revalidate"
</Directory>
View and moderate all "General Discussion" comments posted by this user
Mark all as spam, and block user from posting to "Discussion"
in happier news ... the error log looks smaller
Mon Sep 11 17:52:50.206565 2017] [:error] [pid 29049] [client ::1:40504] PHP Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 20480 bytes) in /var/www/html/rompr/collection/collection.php on line 570, referer: http://localhost/rompr/
Firstly you are missing a line from the top of the file. The first line of rompr.conf must be
Secondly is this a typo or is this what it really looks like?
Should be
You've also got
Which should be
and
shold be
and
should be
Correct all of those, restart apache:
then try again.
View and moderate all "General Discussion" comments posted by this user
Mark all as spam, and block user from posting to "Discussion"
GReat thanks for pointing that out... I didn't realize when I made the post that things had changed from the cut and past .... NO there are not " " in the script ... somewhere in the html things got screwed up on this forum .... lets test it,.... her's my config ... that is directly copied from YOUR instructions and looks perfect in my chrome browser pasted in here.
lets see what happens
</Directory>
<Directory var="" www="" html="" rompr="" albumart="" small="">
Header Set Cache-Control "max-age=0, no-store"
Header Set Cache-Control "no-cache, must-revalidate"
</Directory>
<Directory var="" www="" html="" rompr="" albumart="" asdownloaded="">
Header Set Cache-Control "max-age=0, no-store"
Header Set Cache-Control "no-cache, must-revalidate"
</Directory>
View and moderate all "General Discussion" comments posted by this user
Mark all as spam, and block user from posting to "Discussion"
Yup .... lots of "" in place of / ... but it is not a stupid syntax error thank you very much
View and moderate all "General Discussion" comments posted by this user
Mark all as spam, and block user from posting to "Discussion"
I'd still like some help .. cause I think you've written a great looking interface despite the nightmare that it is to install.