cancel
Showing results for 
Search instead for 
Did you mean: 

What is "version1560678681" ?

SOLVED

Re: What is "version1560678681" ?

I did:

# a2enmod rewrite
Enabling module rewrite.
To activate the new configuration, you need to run:
  systemctl restart apache2
# systemctl restart apache2

And:

MariaDB [(none)]> show databases;
+--------------------+
| Database           |
+--------------------+
| information_schema |
| mysql              |
| performance_schema |
| store              |
+--------------------+
4 rows in set (0.05 sec)

MariaDB [(none)]> use store;
Reading table information for completion of table and column names
You can turn off this feature to get a quicker startup with -A

Database changed

MariaDB [store]> update `core_config_data` set `value`=0 where `path`='dev/static/sign';
Query OK, 0 rows affected (0.02 sec)
Rows matched: 0  Changed: 0  Warnings: 0

But problem exist Smiley Sad

Re: What is "version1560678681" ?

@jason_long 

It looks like there is no default entry for static version because 0 records updated. 

Insert a row using following query:

insert into `core_config_data` (scope, scope_id, path, `value`) VALUES ('default',0,'dev/static/sign','0');


Please let me know if still not works Smiley Happy

Re: What is "version1560678681" ?

I did:

MariaDB [store]> insert into `core_config_data` (scope, scope_id, path, `value`) VALUES ('default',0,'dev/static/sign','0');
Query OK, 1 row affected (0.00 sec)

MariaDB [store]> FLUSH PRIVILEGES;
Query OK, 0 rows affected (0.00 sec)

But problem not solved Smiley Sad

I guess below logs can give you some idea:

# cat access.log 
10.0.2.2 - - [17/Jun/2019:02:18:24 -0400] "GET / HTTP/1.1" 200 6663 "-" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/72.0.3626.121 Safari/537.36"
10.0.2.2 - - [17/Jun/2019:02:18:24 -0400] "GET /pub/static/version1560752162/frontend/Magento/luma/en_US/mage/calendar.css HTTP/1.1" 404 565 "http://127.0.0.1:2223/" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/72.0.3626.121 Safari/537.36"
10.0.2.2 - - [17/Jun/2019:02:18:24 -0400] "GET /pub/static/version1560752162/frontend/Magento/luma/en_US/css/styles-m.css HTTP/1.1" 404 565 "http://127.0.0.1:2223/" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/72.0.3626.121 Safari/537.36"
10.0.2.2 - - [17/Jun/2019:02:18:24 -0400] "GET /pub/static/version1560752162/frontend/Magento/luma/en_US/css/styles-l.css HTTP/1.1" 404 565 "http://127.0.0.1:2223/" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/72.0.3626.121 Safari/537.36"
10.0.2.2 - - [17/Jun/2019:02:18:24 -0400] "GET /pub/static/version1560752162/frontend/Magento/luma/en_US/requirejs/require.js HTTP/1.1" 404 569 "http://127.0.0.1:2223/" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/72.0.3626.121 Safari/537.36"
10.0.2.2 - - [17/Jun/2019:02:18:24 -0400] "GET /pub/static/version1560752162/frontend/Magento/luma/en_US/mage/requirejs/mixins.js HTTP/1.1" 404 572 "http://127.0.0.1:2223/" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/72.0.3626.121 Safari/537.36"
10.0.2.2 - - [17/Jun/2019:02:18:24 -0400] "GET /pub/static/version1560752162/frontend/Magento/luma/en_US/requirejs-config.js HTTP/1.1" 404 567 "http://127.0.0.1:2223/" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/72.0.3626.121 Safari/537.36"
10.0.2.2 - - [17/Jun/2019:02:18:24 -0400] "GET /pub/static/version1560752162/frontend/Magento/luma/en_US/mage/polyfill.js HTTP/1.1" 404 564 "http://127.0.0.1:2223/" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/72.0.3626.121 Safari/537.36"
10.0.2.2 - - [17/Jun/2019:02:18:24 -0400] "GET /pub/static/version1560752162/frontend/Magento/luma/en_US/images/logo.svg HTTP/1.1" 404 563 "http://127.0.0.1:2223/" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/72.0.3626.121 Safari/537.36"
10.0.2.2 - - [17/Jun/2019:02:18:24 -0400] "GET /pub/static/version1560752162/frontend/Magento/luma/en_US/css/print.css HTTP/1.1" 404 561 "http://127.0.0.1:2223/" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/72.0.3626.121 Safari/537.36"
::1 - - [17/Jun/2019:02:18:32 -0400] "OPTIONS * HTTP/1.0" 200 126 "-" "Apache/2.4.25 (Debian) (internal dummy connection)"

And:

# cat error.log 
[Mon Jun 17 02:18:10.387347 2019] [mpm_prefork:notice] [pid 1383] AH00169: caught SIGTERM, shutting down
[Mon Jun 17 02:18:10.482619 2019] [mpm_prefork:notice] [pid 1420] AH00163: Apache/2.4.25 (Debian) configured -- resuming normal operations
[Mon Jun 17 02:18:10.482696 2019] [core:notice] [pid 1420] AH00094: Command line: '/usr/sbin/apache2'

Re: What is "version1560678681" ?

@jason_long 
Did you flush magento cache after sql query:

php bin/magento cache:clean
php bin/magento cache:flush

Re: What is "version1560678681" ?

I did and when I browse "http://SERVER_IP" then:

mag-3.png

But I can't browse any part of it:

mag-4.pngit want to browse a "customer" directory!!! I can't open admin page too Smiley Sad

Re: What is "version1560678681" ?

@jason_long 
Good to know that previously problem solved using above solution. 

This is the another problem.

Did you try using index.php?

Like:

http://SERVER_I/index.php/customer/account/create/
if it works, then may be some issue .htaccess

Add the following lines in root .htaccess file:

RewriteEngine On
RewriteBase /
RewriteRule ^index\.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]


For now change one setting from admin to add index.php on your server.

Admin->Store->Configuration->Web->Url Option->Search Engine Optimization->Use Web Server Rewrites=>No

Screenshot from 2019-06-17 14-50-47.png

Re: What is "version1560678681" ?

When I use "http://SERVER_I/index.php/customer/account/create/" then it work, I added those lines to ".htaccess" that exist in the root directory but problem not solved Smiley Sad

Re: What is "version1560678681" ?

@jason_long 

did you try after change of this setting?

 

For now change one setting from admin to add index.php on your server.

Admin->Store->Configuration->Web->Url Option->Search Engine Optimization->Use Web Server Rewrites=>No


Re: What is "version1560678681" ?

Yes.
As I said, I can't open admin page too.
It is odd for me. I used installation wizard but these kind of problems existed!!!

Re: What is "version1560678681" ?

@jason_long 
Strange........
We can do last try:

Remove the .htaccess code which I provided you. 

RewriteEngine On
RewriteBase /
RewriteRule ^index\.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]

Keep the admin setting which I shared earlier. 

One question: After this admin setting, is frontend is working fine with index.php?
Try admin as well with index.php.