[GH-ISSUE #151] error while upgrading #159

Closed
opened 2026-03-01 17:45:21 +03:00 by kerem · 6 comments
Owner

Originally created by @jon-bit on GitHub (May 15, 2021).
Original GitHub issue: https://github.com/anonaddy/anonaddy/issues/151

I ran all the commands in the upgrading section and that was fine, however when I run the last command (php artisan queue:restart) I get this

root@anonaddy:/var/www/anonaddy# php artisan queue:restart In PhpRedisConnector.php line 141: Network is unreachable
I don't know why this happend today.

this is my .env file
`APP_NAME=AnonAddy
APP_ENV=production
APP_KEY=base64:NhMSdI8a7Wp26vmm0e+J4d514NmcGIIi1ClEfjaCKv0=
APP_DEBUG=false
APP_LOG_LEVEL=debug
APP_URL=******************

LOG_CHANNEL=stack

DB_CONNECTION=mysql
DB_HOST=localhost
DB_PORT=3307
DB_DATABASE=anonaddy_database
DB_USERNAME=anonaddy
DB_PASSWORD=12345

BROADCAST_DRIVER=log
CACHE_DRIVER=redis
QUEUE_CONNECTION=redis
SESSION_DRIVER=redis
SESSION_LIFETIME=10080
SESSION_SECURE_COOKIE=true
SAME_SITE_COOKIES=lax

REDIS_CLIENT=phpredis
REDIS_HOST=localhost
REDIS_PASSWORD=null
REDIS_PORT=6379

MAIL_DRIVER=sendmail
MAIL_FROM_NAME=****
#MAIL_FROM_ADDRESS=*********
MAIL_FROM_ADDRESS=*******************************

#ANONADDY_RETURN_PATH=**********
ANONADDY_RETURN_PATH=***************************
ANONADDY_ADMIN_USERNAME=***
ANONADDY_ENABLE_REGISTRATION=true
ANONADDY_DOMAIN=*****************************
ANONADDY_HOSTNAME=***************************
ANONADDY_DNS_RESOLVER=127.0.0.1
ANONADDY_ALL_DOMAINS=*********************************************
ANONADDY_SECRET=tgvjrhn54utoehrtyio78ey0rfhdrthiobq79e63ry5h9rftuyq2wgj43fagyoerq3yhseyobqauoweyd23tnthjklvjhdzkvxofn780qwuj4jwn807tjhi043j89y0pjiw459h7guh9h8rwrpuih3w89407rqh3tuih5408734jtuiorbn07ewthj>
ANONADDY_LIMIT=200
ANONADDY_BANDWIDTH_LIMIT=1000000000000000000000000000000000000000000000000000
ANONADDY_NEW_ALIAS_LIMIT=75
ANONADDY_ADDITIONAL_USERNAME_LIMIT=3
ANONADDY_SIGNING_KEY_FINGERPRINT=
ANONADDY_DKIM_SIGNING_KEY=/etc/opendkim/keys/example.com/default.private
ANONADDY_DKIM_SIGNING_KEY=/etc/opendkim/keys/***************************/anonaddy.private
ANONADDY_DKIM_SELECTOR=anonaddy

PASSPORT_PERSONAL_ACCESS_CLIENT_ID=1
PASSPORT_PERSONAL_ACCESS_CLIENT_SECRET=Yju1TN8XZ1v85dMSkNxkLc7oleHehPQAFKjeCV0t
`

I don't know why this is happening but if anyone knows whats wrong please let me know because I'm worrying something is messed up.

Originally created by @jon-bit on GitHub (May 15, 2021). Original GitHub issue: https://github.com/anonaddy/anonaddy/issues/151 I ran all the commands in the upgrading section and that was fine, however when I run the last command (php artisan queue:restart) I get this `root@anonaddy:/var/www/anonaddy# php artisan queue:restart In PhpRedisConnector.php line 141: Network is unreachable ` I don't know why this happend today. this is my .env file `APP_NAME=AnonAddy APP_ENV=production APP_KEY=base64:NhMSdI8a7Wp26vmm0e+J4d514NmcGIIi1ClEfjaCKv0= APP_DEBUG=false APP_LOG_LEVEL=debug APP_URL=****************** LOG_CHANNEL=stack DB_CONNECTION=mysql DB_HOST=localhost DB_PORT=3307 DB_DATABASE=anonaddy_database DB_USERNAME=anonaddy DB_PASSWORD=12345 BROADCAST_DRIVER=log CACHE_DRIVER=redis QUEUE_CONNECTION=redis SESSION_DRIVER=redis SESSION_LIFETIME=10080 SESSION_SECURE_COOKIE=true SAME_SITE_COOKIES=lax REDIS_CLIENT=phpredis REDIS_HOST=localhost REDIS_PASSWORD=null REDIS_PORT=6379 MAIL_DRIVER=sendmail MAIL_FROM_NAME=**** #MAIL_FROM_ADDRESS=********* MAIL_FROM_ADDRESS=******************************* #ANONADDY_RETURN_PATH=********** ANONADDY_RETURN_PATH=*************************** ANONADDY_ADMIN_USERNAME=*** ANONADDY_ENABLE_REGISTRATION=true ANONADDY_DOMAIN=***************************** ANONADDY_HOSTNAME=*************************** ANONADDY_DNS_RESOLVER=127.0.0.1 ANONADDY_ALL_DOMAINS=********************************************* ANONADDY_SECRET=tgvjrhn54utoehrtyio78ey0rfhdrthiobq79e63ry5h9rftuyq2wgj43fagyoerq3yhseyobqauoweyd23tnthjklvjhdzkvxofn780qwuj4jwn807tjhi043j89y0pjiw459h7guh9h8rwrpuih3w89407rqh3tuih5408734jtuiorbn07ewthj> ANONADDY_LIMIT=200 ANONADDY_BANDWIDTH_LIMIT=1000000000000000000000000000000000000000000000000000 ANONADDY_NEW_ALIAS_LIMIT=75 ANONADDY_ADDITIONAL_USERNAME_LIMIT=3 ANONADDY_SIGNING_KEY_FINGERPRINT= ANONADDY_DKIM_SIGNING_KEY=/etc/opendkim/keys/example.com/default.private ANONADDY_DKIM_SIGNING_KEY=/etc/opendkim/keys/***************************/anonaddy.private ANONADDY_DKIM_SELECTOR=anonaddy PASSPORT_PERSONAL_ACCESS_CLIENT_ID=1 PASSPORT_PERSONAL_ACCESS_CLIENT_SECRET=Yju1TN8XZ1v85dMSkNxkLc7oleHehPQAFKjeCV0t ` I don't know why this is happening but if anyone knows whats wrong please let me know because I'm worrying something is messed up.
kerem closed this issue 2026-03-01 17:45:21 +03:00
Author
Owner

@jon-bit commented on GitHub (May 15, 2021):

UPDATE!

I restated the loop back and now it says

No route to host

<!-- gh-comment-id:841739642 --> @jon-bit commented on GitHub (May 15, 2021): UPDATE! I restated the loop back and now it says No route to host
Author
Owner

@willbrowningme commented on GitHub (May 17, 2021):

Hi there,

You should not share senstive information in your .env file such as the APP_KEY, ANONADDY_SECRET, PASSPORT_PERSONAL_ACCESS_CLIENT_SECRET

I would recommend you generate new values for all of these if you are are using them in production.

Is redis running correctly on your server?

What is the output of:

sudo service redis status
<!-- gh-comment-id:842173479 --> @willbrowningme commented on GitHub (May 17, 2021): Hi there, You should not share senstive information in your `.env` file such as the `APP_KEY, ANONADDY_SECRET, PASSPORT_PERSONAL_ACCESS_CLIENT_SECRET` I would recommend you generate new values for all of these if you are are using them in production. Is redis running correctly on your server? What is the output of: ```bash sudo service redis status ```
Author
Owner

@jon-bit commented on GitHub (May 19, 2021):

  1. Sorry I didn't notice that.

  2. It's now working (some how) but now I can't send verification emails for a new account. any idea how to solve that?
    P.S. Thank you for the responce.

<!-- gh-comment-id:844046426 --> @jon-bit commented on GitHub (May 19, 2021): 1. Sorry I didn't notice that. 2. It's now working (some how) but now I can't send verification emails for a new account. any idea how to solve that? P.S. Thank you for the responce.
Author
Owner

@willbrowningme commented on GitHub (May 21, 2021):

I'm afraid I cannot debug this without any information, what does the mail log say? What about the Laravel log?

<!-- gh-comment-id:845878002 --> @willbrowningme commented on GitHub (May 21, 2021): I'm afraid I cannot debug this without any information, what does the mail log say? What about the Laravel log?
Author
Owner

@jon-bit commented on GitHub (May 22, 2021):

I figured it out. I acedently did not change the owner to my local user. Should I close?

<!-- gh-comment-id:846331596 --> @jon-bit commented on GitHub (May 22, 2021): I figured it out. I acedently did not change the owner to my local user. Should I close?
Author
Owner

@willbrowningme commented on GitHub (May 24, 2021):

Glad you sorted it, I've closed the issue now.

<!-- gh-comment-id:846859165 --> @willbrowningme commented on GitHub (May 24, 2021): Glad you sorted it, I've closed the issue now.
Sign in to join this conversation.
No labels
bug
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/anonaddy#159
No description provided.