# Version 3.0.1 Debian - Oops! Something went wrong!

**URL:** <https://discourse.libretime.org/t/version-3-0-1-debian-oops-something-went-wrong/1400>\
**Category:** Get Help\
**Created:** [January 26, 2023, 10:22pm UTC](https://discourse.libretime.org/t/version-3-0-1-debian-oops-something-went-wrong/1400 "2023-01-26T22:22:05Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![alejoduque](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.libretime.org/alejoduque/32/676_2.png) [@alejoduque](https://discourse.libretime.org/u/alejoduque)\
**Post date:** [January 26, 2023, 10:22pm UTC](https://discourse.libretime.org/t/version-3-0-1-debian-oops-something-went-wrong/1400/1 "2023-01-26T22:22:05Z")

</div>

Hello everyone, trying here to install Libretime on a fresh machine. The script finished with no errors, i ran the database migrate and can see the site on por 8080 as requested with the install command:

sudo ./install --listen-port 8080 [http://xxx.xxx.xx.xx](http://xxx.xxx.xx.xx)

Nothing I had to change on the ylm config file  
Did the migrate command and then started the target.

Can see the Libretime website but when I try to log in i get the:  
Oops! Something went wrong!  
Message.

Been reading the threads but nothing has really help my case cause also seems that logs have changed a bit now with this version.

Laslty, i did read something about chaning RabbitQM user password but it didnt mention how to acomplish such task

Any help is appreciated,  
TIA

---

<div class="post-metadata">

**Author:** ![joola](https://avatars.discourse-cdn.com/v4/letter/j/cab0a1/32.png) [@joola](https://discourse.libretime.org/u/joola)\
**Post date:** [January 27, 2023, 1:33pm UTC](https://discourse.libretime.org/t/version-3-0-1-debian-oops-something-went-wrong/1400/2 "2023-01-27T13:33:36Z")

</div>

Hi,

The best way to troubleshoot your setup is to read the log files, in your case I would recommend starting with the legacy.log:

> **[Troubleshooting | LibreTime](https://libretime.org/docs/admin-manual/troubleshooting/#logs)**
>
> This guide walk you though the steps required to troubleshoot LibreTime.

---

<div class="post-metadata">

**Author:** ![alejoduque](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.libretime.org/alejoduque/32/676_2.png) [@alejoduque](https://discourse.libretime.org/u/alejoduque)\
**Post date:** [January 30, 2023, 6:10pm UTC](https://discourse.libretime.org/t/version-3-0-1-debian-oops-something-went-wrong/1400/3 "2023-01-30T18:10:12Z")

</div>

Thanks for your answer, i’ve reinstalled and moved a bit fwd but still same error on the web page, but on the backend i get quite positve output:

All services active and running

```auto

sudo systemctl --all --plain | egrep 'libretime|nginx|php.*-fpm'

  libretime-analyzer.service loaded active running LibreTime Media Analyzer Service                                                   
  libretime-api.service loaded active running LibreTime API Service                                                              
  libretime-liquidsoap.service loaded active running LibreTime Liquidsoap Service                                                       
  libretime-playout.service loaded active running LibreTime Playout Service                                                          
  libretime-worker.service loaded active running LibreTime Worker Service                                                           
  nginx.service loaded active running A high performance web server and a reverse proxy server                           
  php7.4-fpm.service loaded active running The PHP 7.4 FastCGI Process Manager                                                
  libretime-api.socket loaded active running LibreTime API Socket                                                               
  libretime.target loaded active active LibreTime Services

```

Will continue to dig

---

<div class="post-metadata">

**Author:** ![alejoduque](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.libretime.org/alejoduque/32/676_2.png) [@alejoduque](https://discourse.libretime.org/u/alejoduque)\
**Post date:** [January 31, 2023, 2:16am UTC](https://discourse.libretime.org/t/version-3-0-1-debian-oops-something-went-wrong/1400/4 "2023-01-31T02:16:35Z")

</div>

I get to see this error through the legacy log, any hints appreciated

```auto
~/libretime$ tail -n 200 /var/log/libretime/legacy.log 
2023-01-30T18:05:50+01:00 INFO (6): You must explicitly start the session with Zend_Session::start() when session options are set to strict.
2023-01-30T18:06:02+01:00 ERR (3): [CORSHelper.php:13 - enableCrossOriginRequests()] - request origin 'http://135.181.216.23:8080' is not in allowed 'http://135.181.216.23, '!
2023-01-30T18:06:02+01:00 NOTICE (5): Trying to get property 'id' of non-object
2023-01-30T18:06:02+01:00 ERR (3): [ErrorController.php:28 - errorAction()] - Forbidden
2023-01-30T18:06:02+01:00 ERR (3): [ErrorController.php:29 - errorAction()] - #0 /usr/share/libretime/legacy/application/controllers/LoginController.php(24): CORSHelper::enableCrossOriginRequests()
#1 /usr/share/libretime/legacy/vendor/zf1s/zend-controller/library/Zend/Controller/Action.php(516): LoginController->indexAction()
#2 /usr/share/libretime/legacy/vendor/zf1s/zend-controller/library/Zend/Controller/Dispatcher/Standard.php(308): Zend_Controller_Action->dispatch()
#3 /usr/share/libretime/legacy/vendor/zf1s/zend-controller/library/Zend/Controller/Front.php(954): Zend_Controller_Dispatcher_Standard->dispatch()
#4 /usr/share/libretime/legacy/vendor/zf1s/zend-application/library/Zend/Application/Bootstrap/Bootstrap.php(105): Zend_Controller_Front->dispatch()
#5 /usr/share/libretime/legacy/vendor/zf1s/zend-application/library/Zend/Application.php(391): Zend_Application_Bootstrap_Bootstrap->run()
#6 /usr/share/libretime/legacy/application/airtime-boot.php(77): Zend_Application->run()
#7 /usr/share/libretime/legacy/public/index.php(56): require_once('/usr/share/libr...')
#8 {main}
2023-01-30T18:06:02+01:00 ERR (3): [ErrorController.php:62 - errorAction()] - An internal application error has occurred.: Zend_Controller_Action_Exception: Forbidden in /usr/share/libretime/legacy/application/common/CORSHelper.php:15
Stack trace:
#0 /usr/share/libretime/legacy/application/controllers/LoginController.php(24): CORSHelper::enableCrossOriginRequests()
#1 /usr/share/libretime/legacy/vendor/zf1s/zend-controller/library/Zend/Controller/Action.php(516): LoginController->indexAction()
#2 /usr/share/libretime/legacy/vendor/zf1s/zend-controller/library/Zend/Controller/Dispatcher/Standard.php(308): Zend_Controller_Action->dispatch()
#3 /usr/share/libretime/legacy/vendor/zf1s/zend-controller/library/Zend/Controller/Front.php(954): Zend_Controller_Dispatcher_Standard->dispatch()
#4 /usr/share/libretime/legacy/vendor/zf1s/zend-application/library/Zend/Application/Bootstrap/Bootstrap.php(105): Zend_Controller_Front->dispatch()
#5 /usr/share/libretime/legacy/vendor/zf1s/zend-application/library/Zend/Application.php(391): Zend_Application_Bootstrap_Bootstrap->run()
#6 /usr/share/libretime/legacy/application/airtime-boot.php(77): Zend_Application->run()
#7 /usr/share/libretime/legacy/public/index.php(56): require_once('/usr/share/libr...')
#8 {main}

```

---

<div class="post-metadata">

**Author:** ![alejoduque](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.libretime.org/alejoduque/32/676_2.png) [@alejoduque](https://discourse.libretime.org/u/alejoduque)\
**Post date:** [January 31, 2023, 2:31am UTC](https://discourse.libretime.org/t/version-3-0-1-debian-oops-something-went-wrong/1400/5 "2023-01-31T02:31:26Z")

</div>

If the above error is related to the config file, i have this there:

```auto
  # List of origins allowed to access resources on the server,
  # the [general.public_url] origin is automatically included.
  # > default is []
  allowed_cors_origins: []

```

---

<div class="post-metadata">

**Author:** ![joola](https://avatars.discourse-cdn.com/v4/letter/j/cab0a1/32.png) [@joola](https://discourse.libretime.org/u/joola)\
**Post date:** [February 1, 2023, 12:47pm UTC](https://discourse.libretime.org/t/version-3-0-1-debian-oops-something-went-wrong/1400/6 "2023-02-01T12:47:47Z")

</div>

The following line is important:

```auto
[CORSHelper.php:13 - enableCrossOriginRequests()] - request origin 'http://135.181.216.23:8080' is not in allowed 'http://135.181.216.23, '!

```

It says your origin (the url in your browser: `http://135.181.216.23:8080`) is not allowed. The list of allowed origins is currently `['http://135.181.216.23']` which is probably containing the `general.public_url` you configured (as described by the comment for the `allowed_cors_origins` setting).

You probably have to change your public url and including the port number `http://135.181.216.23:8080` .

In addition, I now see your install command, and you missed the port in public\_url arguments:

```auto
# From
sudo ./install --listen-port 8080 http://xxx.xxx.xx.xx

# To
sudo ./install --listen-port 8080 http://xxx.xxx.xx.xx:8080

```

---

<div class="post-metadata">

**Author:** ![alejoduque](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.libretime.org/alejoduque/32/676_2.png) [@alejoduque](https://discourse.libretime.org/u/alejoduque)\
**Post date:** [February 1, 2023, 11:01pm UTC](https://discourse.libretime.org/t/version-3-0-1-debian-oops-something-went-wrong/1400/7 "2023-02-01T23:01:25Z")

</div>

Oh, so my mistake was to assume that by adding the --listen-port 8080 flag there was no need to be redundant on repeating the port :8080 portion to the URL.

Can I simply re-run the installer with the proper line?

---

<div class="post-metadata">

**Author:** ![alejoduque](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.libretime.org/alejoduque/32/676_2.png) [@alejoduque](https://discourse.libretime.org/u/alejoduque)\
**Post date:** [February 2, 2023, 1:00am UTC](https://discourse.libretime.org/t/version-3-0-1-debian-oops-something-went-wrong/1400/8 "2023-02-02T01:00:11Z")

</div>

> [@joola](#):
>
> `sudo ./install --listen-port 8080`

ok, the change (error) was that… i had modiefied the config.yml file and added the :8080 port… FIXED
