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

only maintenance mode #111

Closed
MrUnknownDE opened this issue Nov 25, 2019 · 10 comments
Closed

only maintenance mode #111

MrUnknownDE opened this issue Nov 25, 2019 · 10 comments

Comments

@MrUnknownDE
Copy link

MrUnknownDE commented Nov 25, 2019

System Info

  • PHP Version: 7.3.11
  • XBackBone Version: 3.0
  • Webserver: Apache, Debian 9, Plesk 18.0.21
  • Database backend: SQLite

Hi,

I have updated my "XBackBone" instance to 3.0. Unfortunately, I can no longer log in to my upload user because the page is in maintenance mode, only I have disabled the maintenance mode via Config.

Best Regards
Johannes | MrUnknownDE

@philw95
Copy link

philw95 commented Nov 25, 2019

I have the Same Problem.

My Info:
Update from version v2.6.4 to v3.0

  • PHP Version: 7.3
  • XBackBone Version: 3.0
  • Webserver: Apache? (Webhosting Netcup)
  • Database backend: MySQL

My Config:

<?php
return array (
  'base_url' => 'https://xbackbone.XXXXXX.de',
  'displayErrorDetails' => true,
  'db' => 
  array (
    'connection' => 'mysql',
    'dsn' => 'host=XX.XX.XX.XXX;port=3306;dbname=XXXXXXXXX',
    'username' => 'XXXXXXXXX',
    'password' => 'XXXXXXXXX',
  ),
  'storage' => 
  array (
    'driver' => 'local',
    'path' => 'storage',
  ),
);

And i have test it with a new Config file:

<?php

return [
    'base_url' => 'https://xbackbone.XXXX.de', // no trailing slash
    'db'       => [
        'connection' => 'mysql',
        'dsn'        => 'host=XX.XX.XX.XXX;port=3306;dbname=XXXXXXXXXX',
        'username'   => 'XXXXXXXXXX',
        'password'   => 'XXXXXXXXXX',
    ],
    'storage' => [
        'driver' => 'local',
        'path'   => './storage',
    ],
];

Error:
yaC17AOt5n
Cannot connect to the database: SQLSTATE[42000]: Syntax error or access violation: 1067 Invalid default value for 'remember_expire' [42000]

@MrUnknownDE
Copy link
Author

I think your problem is something else than what you mean. With me there were no problems with the updating. For me, only the bug is the instance in maintenance mode even though it is disabled.

@philw95
Copy link

philw95 commented Nov 25, 2019

Yes, I don't know if the update isn't even going through.

It all looks good. Except the upload that doesn't work.
ERcvBXvdgJ

@MrUnknownDE
Copy link
Author

Ohh!

@sergix44
Copy link
Owner

sergix44 commented Nov 25, 2019

System Info

  • PHP Version: 7.3.11
  • XBackBone Version: 3.0
  • Webserver: Apache, Debian 9, Plesk 18.0.21
  • Database backend: SQLite

Hi,

I have updated my "XBackBone" instance to 3.0. Unfortunately, I can no longer log in to my upload user because the page is in maintenance mode, only I have disabled the maintenance mode via Config.

Best Regards
Johannes | MrUnknownDE

Did you updated the database?can you explain the steps to recreate that condition? I can't reproduce the problem

Error:
yaC17AOt5n
Cannot connect to the database: SQLSTATE[42000]: Syntax error or access violation: 1067 Invalid default value for 'remember_expire' [42000]

This is a different problem. There is a problem with the migration. Please open a different issue

@MrUnknownDE
Copy link
Author

Did you updated the database?can you explain the steps to recreate that condition? I can't reproduce the problem

I have updated the database via the updater, that is via web browser. I do not use MYSQL but SQLITE

@sergix44
Copy link
Owner

sergix44 commented Nov 25, 2019

Did you updated the database?can you explain the steps to recreate that condition? I can't reproduce the problem

I have updated the database via the updater, that is via web browser. I do not use MYSQL but SQLITE

I've updated from a 2.6.6 instance without issue. Removing the maintenance => true fixed the problem? Have you tried to clean the system cache manually (with the command php bin\clean)?

@MrUnknownDE
Copy link
Author

No, the error still exists.

@sergix44
Copy link
Owner

Try to navigate to your settings and update to the v3.0.1

@MrUnknownDE
Copy link
Author

My Problem is fix! Thanks for quick resolving

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

3 participants