snipe / snipe-it

A free open source IT asset/license management system
https://snipeitapp.com
GNU Affero General Public License v3.0
11.06k stars 3.18k forks source link

Blank screen :/ #9330

Open sHChypp opened 3 years ago

sHChypp commented 3 years ago

Hi there. I just installed Snipe-it on a Linux machine. All dependencies are installed

Unfortunately, I cannot start the program. I get a blank screen. Debugging turned on Any ideas? I would like to add that the website previously worked without any problems on XAMPP under Windows.

user@FentonCrackshell:/opt/lampp/htdocs/snipe-it$ composer check-platform-reqs Checking platform requirements for packages in the vendor dir ext-bcmath 7.4.3 success
ext-ctype 7.4.3 success
ext-curl 7.4.3 success
ext-date 7.4.3 success
ext-dom 20031129 success
ext-fileinfo 7.4.3 success
ext-filter 7.4.3 success
ext-gd 7.4.3 success
ext-iconv 7.4.3 success
ext-json 7.4.3 success
ext-ldap 7.4.3 success
ext-libxml 7.4.3 success
ext-mbstring 7.4.3 success
ext-openssl 7.4.3 success
ext-pcre 7.4.3 success
ext-pdo 7.4.3 success
ext-simplexml 7.4.3 success
ext-tokenizer 7.4.3 success
ext-xmlwriter 7.4.3 success
lib-pcre 10.34 success
php 7.4.3 success

obraz

welcome[bot] commented 3 years ago

👋 Thanks for opening your first issue here! If you're reporting a 🐞 bug, please make sure you include steps to reproduce it. We get a lot of issues on this repo, so please be patient and we will get back to you as soon as we can.

sHChypp commented 3 years ago

I've just granted permisions to read/write to all files. And there's progress - i have an error: obraz

sHChypp commented 3 years ago

obraz

Relix360 commented 3 years ago

@sHChypp Hello!

Can you list al php extension that you have installed? Also your .env leaving out sensitive data of course

snipe commented 3 years ago

Please provide answers to the questions you deleted.

Confirm you have done the following before posting your bug report:

Describe the bug A clear and concise description of what the bug is.

To Reproduce Steps to reproduce the behavior:

  1. Go to '...'
  2. Click on '....'
  3. Scroll down to '....'
  4. See error

Expected behavior A clear and concise description of what you expected to happen.

Screenshots If applicable, add screenshots to help explain your problem.

Server (please complete the following information):

Desktop (please complete the following information):

Smartphone (please complete the following information):

Error Messages

Additional context

Add any other context about the problem here.

Please do not post an issue without answering the related questions above. If you have opened a different issue and already answered these questions, answer them again, once for every ticket. It will be next to impossible for us to help you.

enlkq1k

Try the Demo - Snipe-IT Open Source IT Asset Management
Try the live demo of Snipe-IT, the best open source IT asset management system around.
fokker1984 commented 3 years ago

Try to enable debug in your .env file APP_DEBUG=true I got the same problem, it turns out that php cannot write log file because of incorrect folder ownership. Don't forget to turn APP_DEBUG=false after finished debuging.

sHChypp commented 3 years ago

I was able to start the website. I had to upgrade composer.

Everything works now, but I can't make any changes to the DB. I have such errors:

obraz

sHChypp commented 3 years ago

Confirm you have done the following before posting your bug report:

I have enabled debug mode YES

I have read checked the Common Issues page **YES**

Describe the bug A clear and concise description of what the bug is. AS ABOVE

To Reproduce Steps to reproduce the behavior:

Click on '....' 

SAVE

See error

IN ATTACHEMENT

Expected behavior A clear and concise description of what you expected to happen.

Screenshots If applicable, add screenshots to help explain your problem.

Server (please complete the following information):

Snipe-IT Version

v5.1.4 build 5886 (g9f3a8a43c)

OS: [e.g. Ubuntu, CentOS]

UBUNTU Web Server: [e.g. Apache, IIS] APACHE (LAMPP) PHP Version 8.0.3 Desktop (please complete the following information):

OS: [e.g. iOS]
Browser [e.g. chrome, safari]
Version [e.g. 22]

Smartphone (please complete the following information):

Device: [e.g. iPhone6]
OS: [e.g. iOS8.1]
Browser [e.g. stock browser, safari]
Version [e.g. 22]

Error Messages

WITH DEBUG TURNED ON, if you're getting an error in your browser, include that error
If a stacktrace is provided in the error, include that too.
Any errors that appear in your browser's error console.
Confirm whether the error is reproducible on the demo: https://snipeitapp.com/demo.
Include any additional information you can find in storage/logs and your webserver's logs.

Illuminate \ Database \ QueryException (42S22) SQLSTATE[42S22]: Column not found: 1054 Unknown column '_snipeit_adnotacje_dotyczace_sprzetu_7' in 'field list' (SQL: update assets set requestable = 0, _snipeit_stary_numer_informatyczny_3 = 1405s, _snipeit_adnotacje_dotyczace_sprzetu_7 = ?, assets.updated_at = 2021-03-23 08:25:58 where id = 504)

sHChypp commented 3 years ago

All the above problems solved.

One more left: Quick search does not work after migration:

1

2

Do I have to move any "cache" file from previous (Windows) site?

snipe commented 3 years ago

Are you getting anything in your app error logs?

snipe commented 3 years ago

(Also be sure you ran migrations - php artisan migrate)

sHChypp commented 3 years ago

app error l

Could You tell me, where can I find this?

(Also be sure you ran migrations - php artisan migrate)

migrate

sHChypp commented 3 years ago

When I inspect the page via F12 I get this error err

sHChypp commented 3 years ago

Still the same:

Errq