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

Bug: #491

Closed
MaddyUnderStars opened this issue Nov 21, 2023 · 1 comment
Closed

Bug: #491

MaddyUnderStars opened this issue Nov 21, 2023 · 1 comment
Labels
bug Something isn't working

Comments

@MaddyUnderStars
Copy link

What happened?

Seconds after serving the web UI homepage with 2 images previewed, it crashed.
I believe this has persisted from 3.7.5 (the first version I started using).

Version

other (provide version in additional info)

What browser(s) are you seeing the problem on?

Firefox

Zipline Logs

Nov 21 07:26:12 the-sixth node[2662240]: 2023-11-21 07:26:12,897 AM debug [config] attemping to read .env.local/.env or environment variables
Nov 21 07:26:12 the-sixth node[2662240]: 2023-11-21 07:26:12,900 AM debug [config] Unable to parse UPLOADER_ADMIN_LIMIT=104900000
Nov 21 07:26:12 the-sixth node[2662240]: 2023-11-21 07:26:12,900 AM debug [config] Unable to parse UPLOADER_USER_LIMIT=104900000
Nov 21 07:26:12 the-sixth node[2662240]: 2023-11-21 07:26:12,901 AM debug [config] Attemping to validate {"core":{"return_https":true,"secret":"CENSORED","host":"0.0.0.0","port":5000,"database_url":"CENSORED","logger":false,"stats_interval":1800,"invites_interval":1800,"thumbnails_interval":600},"datasource":{"type":"local","local":{"directory":"./uploads"}},"uploader":{"default_format":"RANDOM","route":"/u","length":6,"disabled_extensions":["someext","anotherext"]},"urls":{"route":"/go","length":6},"ratelimit":{"user":5,"admin":3}}
Nov 21 07:26:12 the-sixth node[2662240]: 2023-11-21 07:26:12,902 AM debug [config] Recieved config: {"core":{"secret":"CENSORED","database_url":"CENSORED","return_https":true,"temp_directory":"/tmp/zipline","host":"0.0.0.0","port":5000,"logger":false,"stats_interval":1800,"invites_interval":1800,"thumbnails_interval":600,"compression":{"enabled":false,"on_dashboard":false}},"datasource":{"type":"local","local":{"directory":"/home/ubuntu/personal/zipline/uploads"}},"uploader":{"default_format":"RANDOM","route":"/u","embed_route":"/a","length":6,"admin_limit":104857600,"user_limit":104857600,"disabled_extensions":["someext","anotherext"],"format_date":"YYYY-MM-DD_HH:mm:ss","default_expiration":null,"assume_mimetypes":false,"random_words_separator":"-"},"urls":{"route":"/go","length":6},"ratelimit":{"user":5,"admin":3},"website":{"title":"Zipline","show_files_per_user":true,"show_version":true,"disable_media_preview":false,"external_links":[{"label":"Zipline","link":"https://github.com/diced/zipline"},{"label":"Documentation","link":"https://zipline.diced.sh/"}]},"discord":null,"oauth":null,"features":{"invites":false,"invites_length":6,"oauth_registration":false,"oauth_login_only":false,"user_registration":false,"headless":false,"default_avatar":null,"robots_txt":false,"thumbnails":false},"chunks":{"max_size":94371840,"chunks_size":20971520,"enabled":true},"mfa":{"totp_issuer":"Zipline","totp_enabled":false},"exif":{"enabled":false,"remove_gps":false},"ssl":null}
Nov 21 07:26:12 the-sixth node[2662240]: 2023-11-21 07:26:12,903 AM info  [datasource] using Local(/home/ubuntu/personal/zipline/uploads) datasource
Nov 21 07:26:12 the-sixth node[2662240]: 2023-11-21 07:26:12,910 AM debug [server] Starting server
Nov 21 07:26:12 the-sixth node[2662240]: 2023-11-21 07:26:12,933 AM info  [database::migrations] establishing database connection
Nov 21 07:26:12 the-sixth node[2662240]: 2023-11-21 07:26:12,934 AM info  [database::migrations] ensuring database exists, if not creating database - may error if no permissions
Nov 21 07:26:13 the-sixth node[2662240]: 2023-11-21 07:26:13,099 AM info  [database::migrations] exiting migrations engine - database is up to date
Nov 21 07:26:13 the-sixth node[2662240]: 2023-11-21 07:26:13,939 AM info  [server] listening on 0.0.0.0:5000
Nov 21 07:26:13 the-sixth node[2662240]: 2023-11-21 07:26:13,939 AM info  [server] started production [email protected] server
Nov 21 07:26:14 the-sixth node[2662240]: 2023-11-21 07:26:14,071 AM debug [server::invites] deleted 0 used invites
Nov 21 07:26:14 the-sixth node[2662240]: 2023-11-21 07:26:14,091 AM debug [server] full size: 761981
Nov 21 07:26:14 the-sixth node[2662240]: 2023-11-21 07:26:14,098 AM debug [server] by user: [{"_count":{"_all":2},"userId":1}]
Nov 21 07:26:14 the-sixth node[2662240]: 2023-11-21 07:26:14,101 AM debug [server] count users: 1
Nov 21 07:26:14 the-sixth node[2662240]: 2023-11-21 07:26:14,104 AM debug [server] count by user: [{"username":"administrator","count":2}]
Nov 21 07:26:14 the-sixth node[2662240]: 2023-11-21 07:26:14,106 AM debug [server] count files: 2
Nov 21 07:26:14 the-sixth node[2662240]: 2023-11-21 07:26:14,107 AM debug [server] sum views: {"_sum":{"views":39}}
Nov 21 07:26:14 the-sixth node[2662240]: 2023-11-21 07:26:14,110 AM debug [server] types count: [{"_count":{"mimetype":2},"mimetype":"image/png"}]
Nov 21 07:26:14 the-sixth node[2662240]: 2023-11-21 07:26:14,110 AM debug [server] types count: [{"mimetype":"image/png","count":2}]
Nov 21 07:26:14 the-sixth node[2662240]: 2023-11-21 07:26:14,115 AM debug [server::stats] stats updated {"size":"744.1 kB","size_num":761981,"count":2,"count_by_user":[{"username":"administrator","count":2}],"count_users":1,"views_count":39,"types_count":[{"mimetype":"image/png","count":2}]}
Nov 21 07:26:17 the-sixth node[2662240]: malloc(): unaligned tcache chunk detected
Nov 21 07:26:17 the-sixth systemd[1]: zipline.service: Main process exited, code=killed, status=6/ABRT


### Browser Logs

_No response_

### Additional Info

Setup steps:
- `git clone ...`
- `git fetch --all --tags --prune`
- `git checkout tags/v3.7.6`
- `yarn install`
- `yarn build`
- and then run under systemd
@MaddyUnderStars MaddyUnderStars added the bug Something isn't working label Nov 21, 2023
@github-actions github-actions bot added this to the 3.7.1 milestone Nov 21, 2023
@diced
Copy link
Owner

diced commented Nov 21, 2023

Probably related to #492, so closing this.

@diced diced closed this as not planned Won't fix, can't repro, duplicate, stale Nov 21, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants